From 6007e5db40adb5008c5bc157c231f4598ee5b0b8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 24 May 2022 00:58:23 +0000 Subject: [PATCH 1/7] chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 PiperOrigin-RevId: 450543911 Source-Link: https://github.com/googleapis/googleapis/commit/55283447ab72f10b6c2571d770af0498b593e84f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9 --- .../cloud/tasks/v2/CloudTasksClient.java | 57 +- .../cloud/tasks/v2/CloudTasksSettings.java | 7 +- .../google/cloud/tasks/v2/gapic_metadata.json | 0 .../google/cloud/tasks/v2/package-info.java | 0 .../cloud/tasks/v2/stub/CloudTasksStub.java | 0 .../tasks/v2/stub/CloudTasksStubSettings.java | 7 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../tasks/v2/stub/GrpcCloudTasksStub.java | 1 + .../cloud/tasks/v2/CloudTasksClientTest.java | 0 .../google/cloud/tasks/v2/MockCloudTasks.java | 0 .../cloud/tasks/v2/MockCloudTasksImpl.java | 0 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 +++++-------- .../cloud/tasks/v2/AppEngineHttpRequest.java | 756 +++---- .../v2/AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2/AppEngineRouting.java | 540 +++-- .../tasks/v2/AppEngineRoutingOrBuilder.java | 54 +- .../com/google/cloud/tasks/v2/Attempt.java | 616 ++---- .../cloud/tasks/v2/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2/CloudTasksProto.java | 349 ++++ .../cloud/tasks/v2/CreateQueueRequest.java | 444 ++-- .../tasks/v2/CreateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2/CreateTaskRequest.java | 473 ++--- .../tasks/v2/CreateTaskRequestOrBuilder.java | 49 +- .../cloud/tasks/v2/DeleteQueueRequest.java | 329 ++- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2/DeleteTaskRequest.java | 329 ++- .../tasks/v2/DeleteTaskRequestOrBuilder.java | 31 + .../cloud/tasks/v2/GetQueueRequest.java | 329 ++- .../tasks/v2/GetQueueRequestOrBuilder.java | 31 + .../google/cloud/tasks/v2/GetTaskRequest.java | 382 ++-- .../tasks/v2/GetTaskRequestOrBuilder.java | 41 +- .../com/google/cloud/tasks/v2/HttpMethod.java | 117 +- .../google/cloud/tasks/v2/HttpRequest.java | 910 ++++---- .../cloud/tasks/v2/HttpRequestOrBuilder.java | 83 +- .../cloud/tasks/v2/ListQueuesRequest.java | 523 ++--- .../tasks/v2/ListQueuesRequestOrBuilder.java | 56 +- .../cloud/tasks/v2/ListQueuesResponse.java | 454 ++-- .../tasks/v2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2/ListTasksRequest.java | 498 ++--- .../tasks/v2/ListTasksRequestOrBuilder.java | 53 +- .../cloud/tasks/v2/ListTasksResponse.java | 454 ++-- .../tasks/v2/ListTasksResponseOrBuilder.java | 46 +- .../google/cloud/tasks/v2/LocationName.java | 0 .../com/google/cloud/tasks/v2/OAuthToken.java | 373 ++-- .../cloud/tasks/v2/OAuthTokenOrBuilder.java | 36 +- .../com/google/cloud/tasks/v2/OidcToken.java | 373 ++-- .../cloud/tasks/v2/OidcTokenOrBuilder.java | 36 +- .../cloud/tasks/v2/PauseQueueRequest.java | 329 ++- .../tasks/v2/PauseQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2/PurgeQueueRequest.java | 329 ++- .../tasks/v2/PurgeQueueRequestOrBuilder.java | 31 + .../java/com/google/cloud/tasks/v2/Queue.java | 934 +++------ .../com/google/cloud/tasks/v2/QueueName.java | 0 .../google/cloud/tasks/v2/QueueOrBuilder.java | 76 +- .../com/google/cloud/tasks/v2/QueueProto.java | 122 ++ .../com/google/cloud/tasks/v2/RateLimits.java | 326 ++- .../cloud/tasks/v2/RateLimitsOrBuilder.java | 27 +- .../cloud/tasks/v2/ResumeQueueRequest.java | 329 ++- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 31 + .../google/cloud/tasks/v2/RetryConfig.java | 579 ++---- .../cloud/tasks/v2/RetryConfigOrBuilder.java | 48 +- .../google/cloud/tasks/v2/RunTaskRequest.java | 382 ++-- .../tasks/v2/RunTaskRequestOrBuilder.java | 41 +- .../tasks/v2/StackdriverLoggingConfig.java | 275 ++- .../v2/StackdriverLoggingConfigOrBuilder.java | 21 +- .../google/cloud/tasks/v2/TargetProto.java | 148 ++ .../java/com/google/cloud/tasks/v2/Task.java | 1234 ++++------- .../com/google/cloud/tasks/v2/TaskName.java | 0 .../google/cloud/tasks/v2/TaskOrBuilder.java | 95 +- .../com/google/cloud/tasks/v2/TaskProto.java | 102 + .../cloud/tasks/v2/UpdateQueueRequest.java | 436 ++-- .../tasks/v2/UpdateQueueRequestOrBuilder.java | 34 +- .../google/cloud/tasks/v2/cloudtasks.proto | 0 .../proto/google/cloud/tasks/v2/queue.proto | 0 .../proto/google/cloud/tasks/v2/target.proto | 0 .../proto/google/cloud/tasks/v2/task.proto | 0 .../cloud/tasks/v2beta2/CloudTasksClient.java | 72 +- .../tasks/v2beta2/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta2/gapic_metadata.json | 0 .../cloud/tasks/v2beta2/package-info.java | 0 .../tasks/v2beta2/stub/CloudTasksStub.java | 0 .../v2beta2/stub/CloudTasksStubSettings.java | 7 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta2/stub/GrpcCloudTasksStub.java | 1 + .../tasks/v2beta2/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta2/MockCloudTasks.java | 0 .../tasks/v2beta2/MockCloudTasksImpl.java | 0 .../cloud/tasks/v2beta2/CloudTasksGrpc.java | 1823 ++++++----------- .../tasks/v2beta2/AcknowledgeTaskRequest.java | 478 ++--- .../AcknowledgeTaskRequestOrBuilder.java | 52 +- .../tasks/v2beta2/AppEngineHttpRequest.java | 772 +++---- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../tasks/v2beta2/AppEngineHttpTarget.java | 352 ++-- .../v2beta2/AppEngineHttpTargetOrBuilder.java | 26 +- .../cloud/tasks/v2beta2/AppEngineRouting.java | 543 +++-- .../v2beta2/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/tasks/v2beta2/AttemptStatus.java | 623 ++---- .../tasks/v2beta2/AttemptStatusOrBuilder.java | 50 +- .../tasks/v2beta2/CancelLeaseRequest.java | 531 ++--- .../v2beta2/CancelLeaseRequestOrBuilder.java | 58 +- .../cloud/tasks/v2beta2/CloudTasksProto.java | 462 +++++ .../tasks/v2beta2/CreateQueueRequest.java | 466 ++--- .../v2beta2/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta2/CreateTaskRequest.java | 517 ++--- .../v2beta2/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta2/DeleteQueueRequest.java | 339 ++- .../v2beta2/DeleteQueueRequestOrBuilder.java | 31 + .../tasks/v2beta2/DeleteTaskRequest.java | 336 ++- .../v2beta2/DeleteTaskRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta2/GetQueueRequest.java | 453 ++-- .../v2beta2/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta2/GetTaskRequest.java | 385 ++-- .../v2beta2/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/HttpMethod.java | 103 +- .../tasks/v2beta2/LeaseTasksRequest.java | 639 +++--- .../v2beta2/LeaseTasksRequestOrBuilder.java | 70 +- .../tasks/v2beta2/LeaseTasksResponse.java | 380 ++-- .../v2beta2/LeaseTasksResponseOrBuilder.java | 37 +- .../tasks/v2beta2/ListQueuesRequest.java | 652 +++--- .../v2beta2/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta2/ListQueuesResponse.java | 459 ++--- .../v2beta2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/ListTasksRequest.java | 501 ++--- .../v2beta2/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta2/ListTasksResponse.java | 456 ++--- .../v2beta2/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/LocationName.java | 0 .../tasks/v2beta2/PauseQueueRequest.java | 336 ++- .../v2beta2/PauseQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta2/PullMessage.java | 337 ++- .../tasks/v2beta2/PullMessageOrBuilder.java | 30 +- .../cloud/tasks/v2beta2/PullTarget.java | 225 +- .../tasks/v2beta2/PullTargetOrBuilder.java | 9 + .../tasks/v2beta2/PurgeQueueRequest.java | 336 ++- .../v2beta2/PurgeQueueRequestOrBuilder.java | 31 + .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++-------- .../google/cloud/tasks/v2beta2/QueueName.java | 0 .../cloud/tasks/v2beta2/QueueOrBuilder.java | 109 +- .../cloud/tasks/v2beta2/QueueProto.java | 140 ++ .../cloud/tasks/v2beta2/QueueStats.java | 552 ++--- .../tasks/v2beta2/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta2/RateLimits.java | 334 ++- .../tasks/v2beta2/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta2/RenewLeaseRequest.java | 664 +++--- .../v2beta2/RenewLeaseRequestOrBuilder.java | 75 +- .../tasks/v2beta2/ResumeQueueRequest.java | 339 ++- .../v2beta2/ResumeQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta2/RetryConfig.java | 690 +++---- .../tasks/v2beta2/RetryConfigOrBuilder.java | 57 +- .../cloud/tasks/v2beta2/RunTaskRequest.java | 385 ++-- .../v2beta2/RunTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/TargetProto.java | 125 ++ .../com/google/cloud/tasks/v2beta2/Task.java | 986 ++++----- .../google/cloud/tasks/v2beta2/TaskName.java | 0 .../cloud/tasks/v2beta2/TaskOrBuilder.java | 73 +- .../google/cloud/tasks/v2beta2/TaskProto.java | 116 ++ .../cloud/tasks/v2beta2/TaskStatus.java | 487 ++--- .../tasks/v2beta2/TaskStatusOrBuilder.java | 40 +- .../tasks/v2beta2/UpdateQueueRequest.java | 458 ++--- .../v2beta2/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta2/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta2/queue.proto | 0 .../google/cloud/tasks/v2beta2/target.proto | 0 .../google/cloud/tasks/v2beta2/task.proto | 0 .../cloud/tasks/v2beta3/CloudTasksClient.java | 56 +- .../tasks/v2beta3/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta3/gapic_metadata.json | 0 .../cloud/tasks/v2beta3/package-info.java | 0 .../tasks/v2beta3/stub/CloudTasksStub.java | 0 .../v2beta3/stub/CloudTasksStubSettings.java | 7 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta3/stub/GrpcCloudTasksStub.java | 1 + .../tasks/v2beta3/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta3/MockCloudTasks.java | 0 .../tasks/v2beta3/MockCloudTasksImpl.java | 0 .../cloud/tasks/v2beta3/CloudTasksGrpc.java | 1473 +++++-------- .../tasks/v2beta3/AppEngineHttpQueue.java | 352 ++-- .../v2beta3/AppEngineHttpQueueOrBuilder.java | 26 +- .../tasks/v2beta3/AppEngineHttpRequest.java | 772 +++---- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2beta3/AppEngineRouting.java | 543 +++-- .../v2beta3/AppEngineRoutingOrBuilder.java | 54 +- .../google/cloud/tasks/v2beta3/Attempt.java | 616 ++---- .../cloud/tasks/v2beta3/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2beta3/CloudTasksProto.java | 359 ++++ .../tasks/v2beta3/CreateQueueRequest.java | 466 ++--- .../v2beta3/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta3/CreateTaskRequest.java | 517 ++--- .../v2beta3/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta3/DeleteQueueRequest.java | 339 ++- .../v2beta3/DeleteQueueRequestOrBuilder.java | 31 + .../tasks/v2beta3/DeleteTaskRequest.java | 336 ++- .../v2beta3/DeleteTaskRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta3/GetQueueRequest.java | 453 ++-- .../v2beta3/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta3/GetTaskRequest.java | 385 ++-- .../v2beta3/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta3/HttpMethod.java | 117 +- .../cloud/tasks/v2beta3/HttpRequest.java | 919 ++++----- .../tasks/v2beta3/HttpRequestOrBuilder.java | 86 +- .../tasks/v2beta3/ListQueuesRequest.java | 652 +++--- .../v2beta3/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta3/ListQueuesResponse.java | 459 ++--- .../v2beta3/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/ListTasksRequest.java | 501 ++--- .../v2beta3/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta3/ListTasksResponse.java | 456 ++--- .../v2beta3/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/LocationName.java | 0 .../cloud/tasks/v2beta3/OAuthToken.java | 380 ++-- .../tasks/v2beta3/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/tasks/v2beta3/OidcToken.java | 377 ++-- .../tasks/v2beta3/OidcTokenOrBuilder.java | 36 +- .../tasks/v2beta3/PauseQueueRequest.java | 336 ++- .../v2beta3/PauseQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta3/PullMessage.java | 337 ++- .../tasks/v2beta3/PullMessageOrBuilder.java | 30 +- .../tasks/v2beta3/PurgeQueueRequest.java | 336 ++- .../v2beta3/PurgeQueueRequestOrBuilder.java | 31 + .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++--------- .../google/cloud/tasks/v2beta3/QueueName.java | 0 .../cloud/tasks/v2beta3/QueueOrBuilder.java | 135 +- .../cloud/tasks/v2beta3/QueueProto.java | 154 ++ .../cloud/tasks/v2beta3/QueueStats.java | 552 ++--- .../tasks/v2beta3/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta3/RateLimits.java | 333 ++- .../tasks/v2beta3/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta3/ResumeQueueRequest.java | 339 ++- .../v2beta3/ResumeQueueRequestOrBuilder.java | 31 + .../cloud/tasks/v2beta3/RetryConfig.java | 583 ++---- .../tasks/v2beta3/RetryConfigOrBuilder.java | 48 +- .../cloud/tasks/v2beta3/RunTaskRequest.java | 385 ++-- .../v2beta3/RunTaskRequestOrBuilder.java | 41 +- .../v2beta3/StackdriverLoggingConfig.java | 278 ++- .../StackdriverLoggingConfigOrBuilder.java | 21 +- .../cloud/tasks/v2beta3/TargetProto.java | 170 ++ .../com/google/cloud/tasks/v2beta3/Task.java | 1360 +++++------- .../google/cloud/tasks/v2beta3/TaskName.java | 0 .../cloud/tasks/v2beta3/TaskOrBuilder.java | 103 +- .../google/cloud/tasks/v2beta3/TaskProto.java | 108 + .../tasks/v2beta3/UpdateQueueRequest.java | 458 ++--- .../v2beta3/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta3/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta3/queue.proto | 0 .../google/cloud/tasks/v2beta3/target.proto | 0 .../google/cloud/tasks/v2beta3/task.proto | 0 .../cloud/tasks/v2/CloudTasksProto.java | 378 ---- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 56 - .../tasks/v2/DeleteTaskRequestOrBuilder.java | 56 - .../tasks/v2/GetQueueRequestOrBuilder.java | 56 - .../tasks/v2/PauseQueueRequestOrBuilder.java | 56 - .../tasks/v2/PurgeQueueRequestOrBuilder.java | 56 - .../com/google/cloud/tasks/v2/QueueProto.java | 146 -- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 56 - .../google/cloud/tasks/v2/TargetProto.java | 177 -- .../com/google/cloud/tasks/v2/TaskProto.java | 129 -- .../cloud/tasks/v2beta2/CloudTasksProto.java | 496 ----- .../v2beta2/DeleteQueueRequestOrBuilder.java | 56 - .../v2beta2/DeleteTaskRequestOrBuilder.java | 56 - .../v2beta2/PauseQueueRequestOrBuilder.java | 56 - .../tasks/v2beta2/PullTargetOrBuilder.java | 24 - .../v2beta2/PurgeQueueRequestOrBuilder.java | 56 - .../cloud/tasks/v2beta2/QueueProto.java | 178 -- .../v2beta2/ResumeQueueRequestOrBuilder.java | 56 - .../cloud/tasks/v2beta2/TargetProto.java | 145 -- .../google/cloud/tasks/v2beta2/TaskProto.java | 143 -- .../cloud/tasks/v2beta3/CloudTasksProto.java | 388 ---- .../v2beta3/DeleteQueueRequestOrBuilder.java | 56 - .../v2beta3/DeleteTaskRequestOrBuilder.java | 56 - .../v2beta3/PauseQueueRequestOrBuilder.java | 56 - .../v2beta3/PurgeQueueRequestOrBuilder.java | 56 - .../cloud/tasks/v2beta3/QueueProto.java | 188 -- .../v2beta3/ResumeQueueRequestOrBuilder.java | 56 - .../cloud/tasks/v2beta3/TargetProto.java | 201 -- .../google/cloud/tasks/v2beta3/TaskProto.java | 136 -- 275 files changed, 22545 insertions(+), 37526 deletions(-) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (97%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%) rename {grpc-google-cloud-tasks-v2 => owl-bot-staging/v2/grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%) rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (99%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%) rename {grpc-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%) create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%) rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (97%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (98%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%) rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%) rename {grpc-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%) create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%) rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%) delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java similarity index 98% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java index 4d289ca9..22a3902f 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -65,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -130,7 +129,6 @@ public static final CloudTasksClient create(CloudTasksSettings settings) throws * Constructs an instance of CloudTasksClient, using the given stub for making calls. This is for * advanced usage - prefer using create(CloudTasksSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CloudTasksClient create(CloudTasksStub stub) { return new CloudTasksClient(stub); } @@ -144,7 +142,6 @@ protected CloudTasksClient(CloudTasksSettings settings) throws IOException { this.stub = ((CloudTasksStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CloudTasksClient(CloudTasksStub stub) { this.settings = null; this.stub = stub; @@ -154,7 +151,6 @@ public final CloudTasksSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub getStub() { return stub; } @@ -1181,7 +1177,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * * * *

Sample code: @@ -1216,7 +1212,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

* *

Sample code: @@ -1248,7 +1244,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

* *

Sample code: @@ -1273,10 +1269,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1286,7 +1278,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

* *

Sample code: @@ -1322,7 +1314,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

* *

Sample code: @@ -1365,7 +1357,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

* *

Sample code: @@ -1405,7 +1397,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

* *

Sample code: @@ -1431,10 +1423,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1447,7 +1435,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

* *

Sample code: @@ -1584,11 +1572,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1907,7 +1890,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

* *

Sample code: @@ -1966,7 +1949,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

* *

Sample code: @@ -2022,7 +2005,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

* *

Sample code: @@ -2054,7 +2037,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

* *

Sample code: @@ -2402,10 +2385,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2452,10 +2432,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 97% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index 433cfa77..f9df6d64 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.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.tasks.v2.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 98% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index fcc4bf86..3b96cadf 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -321,7 +321,6 @@ public UnaryCallSettings runTaskSettings() { return runTaskSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java index b0a36eed..7d1310a2 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java @@ -53,6 +53,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index 7ce92264..e774c26c 100644 --- a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,733 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListQueuesRequest,
-            com.google.cloud.tasks.v2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -776,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -801,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -824,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -841,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -859,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -882,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -902,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -923,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -942,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -963,43 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1007,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1038,167 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1212,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1239,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1264,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1283,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1302,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1326,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1348,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1371,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1392,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1415,46 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1462,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1494,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1503,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1523,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1565,15 +1283,12 @@ public com.google.cloud.tasks.v2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1589,15 +1304,12 @@ public com.google.cloud.tasks.v2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1611,15 +1323,12 @@ public com.google.cloud.tasks.v2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1627,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1645,15 +1351,12 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1668,15 +1371,12 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1693,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1712,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1723,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1742,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,15 +1470,12 @@ public com.google.cloud.tasks.v2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1817,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask( - com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1887,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1911,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1933,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1949,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1967,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1990,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2009,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -2029,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2047,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -2067,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2119,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2143,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2167,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2185,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2283,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2327,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
similarity index 82%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
index bb0cf20e..6f52ba89 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -75,16 +58,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -93,15 +75,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -121,62 +104,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -184,44 +161,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -260,22 +230,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -285,7 +250,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -293,8 +257,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -304,18 +266,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -334,8 +291,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -345,7 +300,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -354,15 +308,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -372,15 +325,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -389,23 +343,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -414,8 +369,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -454,22 +407,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -509,12 +462,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -554,16 +506,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -603,11 +555,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -617,8 +570,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -626,7 +577,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -635,7 +585,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -647,7 +596,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 (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -657,8 +607,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -672,26 +626,29 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -701,22 +658,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -747,104 +707,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -899,43 +852,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -943,15 +896,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -972,9 +926,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -993,8 +947,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1014,39 +967,38 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1065,7 +1017,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1097,13 +1050,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1118,16 +1068,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1088,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1169,19 +1112,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1196,7 +1135,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1204,14 +1142,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1226,11 +1162,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1238,13 +1173,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1254,15 +1184,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1272,21 +1199,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1311,8 +1233,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1335,8 +1255,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1351,9 +1269,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1365,8 +1281,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1389,8 +1303,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1402,13 +1314,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1423,14 +1333,11 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1442,17 +1349,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1460,8 +1364,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1471,13 +1373,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1486,8 +1388,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1497,14 +1397,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1512,8 +1413,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1523,22 +1422,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1548,18 +1445,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1569,36 +1463,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1610,8 +1505,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1650,22 +1543,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1705,12 +1598,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1750,17 +1642,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1800,11 +1691,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1812,12 +1704,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1856,21 +1747,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1909,20 +1802,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1961,15 +1853,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1977,7 +1870,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1985,8 +1877,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1994,22 +1884,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2017,18 +1904,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2038,12 +1924,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -2052,16 +1938,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2076,4 +1962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index e2387d20..f388450e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,13 +22,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -61,14 +40,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -78,13 +54,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -94,13 +67,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -114,8 +84,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -125,13 +93,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -141,14 +106,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -189,8 +152,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -229,13 +190,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,10 +237,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -318,13 +280,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -363,11 +323,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -375,7 +335,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 2a3556d6..8600381d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -43,16 +26,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -62,15 +44,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -89,41 +72,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,33 +110,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -176,7 +151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -185,15 +159,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -212,15 +185,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -231,8 +205,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -251,7 +223,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -260,15 +231,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -287,15 +257,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -306,8 +277,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,7 +292,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -332,15 +300,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -356,15 +323,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -375,8 +343,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -390,7 +356,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -399,15 +364,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -421,15 +385,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -438,7 +403,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -492,18 +457,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.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = - (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -528,104 +496,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -648,23 +609,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -672,15 +631,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -696,9 +656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -717,8 +677,7 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -731,39 +690,38 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +777,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -839,13 +795,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -854,8 +810,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -874,14 +828,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -889,8 +844,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -909,22 +862,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -943,18 +894,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -973,16 +921,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -990,8 +938,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1010,13 +956,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1025,8 +971,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,14 +989,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1060,8 +1005,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1080,22 +1023,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1114,18 +1055,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1082,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,8 +1099,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1178,13 +1114,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1193,8 +1129,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1210,14 +1144,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1225,8 +1160,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1242,22 +1175,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,18 +1204,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1300,16 +1228,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1317,8 +1245,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,13 +1258,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1347,8 +1273,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1362,14 +1286,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1377,8 +1302,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1392,22 +1315,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1421,18 +1342,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1446,23 +1364,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1390,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1486,16 +1404,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 9399556f..2ff33a52 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 95c7a78e..17ae3099 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,126 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -606,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -696,39 +633,38 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); } else { super.mergeFrom(other); return this; @@ -780,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -844,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -853,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -864,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -877,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -891,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -912,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -922,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -940,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -956,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -974,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1038,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1047,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1058,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1071,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1085,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1106,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1116,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1134,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1150,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1168,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1232,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1241,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1252,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1265,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1279,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1300,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1310,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1328,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1344,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1362,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1374,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1390,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1427,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1437,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1448,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1462,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1474,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1496,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1507,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1526,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1543,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1568,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1582,16 +1404,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1606,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 3b1276d7..9dab7f1d 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..ff95f089
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,349 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
+      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
+      "tations.proto\032\027google/api/client.proto\032\037" +
+      "google/api/field_behavior.proto\032\031google/" +
+      "api/resource.proto\032!google/cloud/tasks/v" +
+      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
+      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
+      "\032google/iam/v1/policy.proto\032\033google/prot" +
+      "obuf/empty.proto\032 google/protobuf/field_" +
+      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
+      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
+      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
+      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
+      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
+      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
+      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
+      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
+      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
+      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
+      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
+      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
+      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
+      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
+      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
+      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
+      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
+      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
+      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
+      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
+      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
+      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
+      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
+      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
+      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
+      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
+      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
+      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
+      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
+      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
+      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
+      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
+      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
+      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
+      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
+      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
+      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
+      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
+      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
+      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
+      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
+      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
+      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
+      ".google.cloud.tasks.v2.ListQueuesRespons" +
+      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
+      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
+      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
+      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
+      "name=projects/*/locations/*/queues/*}\332A\004" +
+      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
+      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
+      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
+      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
+      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
+      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
+      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
+      "e=projects/*/locations/*/queues/*}:\005queu" +
+      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
+      "google.cloud.tasks.v2.DeleteQueueRequest" +
+      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
+      "ame=projects/*/locations/*/queues/*}\332A\004n" +
+      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
+      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
+      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
+      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
+      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
+      "useQueueRequest\032\034.google.cloud.tasks.v2." +
+      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
+      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
+      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
+      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
+      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
+      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
+      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
+      "/{resource=projects/*/locations/*/queues" +
+      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
+      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
+      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
+      "{resource=projects/*/locations/*/queues/" +
+      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
+      "\022TestIamPermissions\022(.google.iam.v1.Test" +
+      "IamPermissionsRequest\032).google.iam.v1.Te" +
+      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
+      "esource=projects/*/locations/*/queues/*}" +
+      ":testIamPermissions:\001*\332A\024resource,permis" +
+      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
+      ".v2.ListTasksRequest\032(.google.cloud.task" +
+      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
+      "ent=projects/*/locations/*/queues/*}/tas" +
+      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
+      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
+      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
+      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
+      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
+      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
+      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
+      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
+      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
+      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
+      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
+      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
+      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
+      "v2/{name=projects/*/locations/*/queues/*" +
+      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
+      "oogleapis.com\322A.https://www.googleapis.c" +
+      "om/auth/cloud-platformBr\n\031com.google.clo" +
+      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
+      "olang.org/genproto/googleapis/cloud/task" +
+      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 3e89e7dc..34472349 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -141,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -153,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -170,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -192,15 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -208,15 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -224,8 +189,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -239,7 +202,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -251,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_);
     }
@@ -271,7 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -281,18 +245,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.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other =
-        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -316,127 +281,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -444,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -489,8 +446,7 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = - new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -505,39 +461,38 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -584,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -594,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -622,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -640,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -650,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -677,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -700,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -720,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -761,15 +685,12 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -785,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -806,21 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -832,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -854,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -926,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -940,16 +842,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index b858724d..e3735d95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,43 +29,33 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 10c558c1..377596da 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,41 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -158,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -195,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -229,7 +198,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ @java.lang.Override @@ -237,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -271,7 +237,6 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ @java.lang.Override @@ -279,8 +244,6 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -322,8 +285,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -338,16 +299,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -362,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +339,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_); } @@ -409,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,18 +378,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.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = - (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -460,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -588,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -635,8 +584,7 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = - new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -652,39 +600,38 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -734,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -760,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -786,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -860,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -899,15 +821,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -940,7 +859,6 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -951,8 +869,6 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1000,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1035,7 +949,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(
+        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -1046,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1084,7 +997,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ =
+            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1096,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1143,8 +1055,6 @@ public Builder clearTask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1179,13 +1089,11 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-
+      
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1223,12 +1131,11 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ?
+            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1263,17 +1170,14 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task,
-            com.google.cloud.tasks.v2.Task.Builder,
-            com.google.cloud.tasks.v2.TaskOrBuilder>
+        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Task,
-                com.google.cloud.tasks.v2.Task.Builder,
-                com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(), getParentForChildren(), isClean());
+        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(),
+                getParentForChildren(),
+                isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1281,8 +1185,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
-     *
-     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1297,16 +1199,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1321,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1348,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1375,7 +1266,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1383,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1405,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1426,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1440,16 +1327,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1464,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 6ec3193b..56bc4ce8 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -91,13 +64,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,13 +100,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -173,8 +140,6 @@ public interface CreateTaskRequestOrBuilder
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -189,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -210,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 40511a70..2ffa4e95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c9b6525f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index a62eb1e2..5dad49b9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -632,16 +575,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..29a262ab --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index 2e4dccd2..d0e5bb3b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = - (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = - new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..7612fed1 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 7e12b47b..765d0a75 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,14 +237,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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -430,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -471,8 +428,7 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = - new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -483,39 +439,38 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -562,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -587,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -683,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -723,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -750,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -777,7 +699,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -785,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -807,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -828,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -842,16 +760,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index 2be6f178..abab1ec9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index 951743a2..a993ae79 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 84b5b41e..9bda9f38 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,80 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -175,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class,
-            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -235,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -271,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -280,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -300,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -319,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -378,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -406,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -482,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -519,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -533,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -543,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -553,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -565,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -573,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -585,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -612,15 +555,13 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -632,7 +573,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -640,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -653,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -681,13 +616,12 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -699,15 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -730,30 +669,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -763,24 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -823,103 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -947,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class,
-              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -991,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1016,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1037,8 +976,7 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result =
-          new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1068,39 +1006,38 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1116,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1164,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1183,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1196,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1211,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1224,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1239,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1252,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1279,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1302,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1319,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1385,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1434,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1462,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1505,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1538,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1576,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1588,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1620,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1661,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1701,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1718,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1726,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1736,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1760,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, - com.google.cloud.tasks.v2.OAuthToken.Builder, - com.google.cloud.tasks.v2.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1788,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1796,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1808,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1826,8 +1717,6 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1853,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1866,7 +1753,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(
+        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1877,8 +1765,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1892,13 +1778,10 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1914,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1944,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1961,8 +1840,6 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1986,8 +1863,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2000,38 +1875,27 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken,
-            com.google.cloud.tasks.v2.OAuthToken.Builder,
-            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OAuthToken,
-                com.google.cloud.tasks.v2.OAuthToken.Builder,
-                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2043,7 +1907,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2051,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2064,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2082,8 +1942,6 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2110,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2124,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2135,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2151,13 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2173,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2204,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2222,8 +2070,6 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2248,8 +2094,6 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2263,32 +2107,26 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OidcToken,
-                com.google.cloud.tasks.v2.OidcToken.Builder,
-                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2298,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2312,16 +2150,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2336,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 08196f38..2c4c0073 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 9855ecb3..3c80d743 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -207,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -216,15 +184,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -238,15 +205,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -257,8 +225,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -269,7 +235,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -280,8 +245,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -293,7 +256,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -302,15 +264,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -322,15 +283,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -339,7 +301,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +312,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_); } @@ -380,7 +342,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -393,18 +356,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.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = - (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,127 +395,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -557,15 +514,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -602,8 +560,7 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = - new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -616,39 +573,38 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -703,23 +659,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -728,24 +680,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -753,70 +702,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -824,8 +760,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -839,13 +773,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -854,8 +788,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -869,14 +801,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -884,8 +817,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -899,22 +830,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -928,18 +857,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -953,25 +879,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -982,7 +906,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -990,8 +913,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1002,19 +923,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1025,11 +943,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1037,8 +954,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1050,13 +965,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1065,8 +980,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1078,14 +991,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1093,8 +1007,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1106,22 +1018,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,18 +1043,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1156,23 +1063,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1196,16 +1103,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,4 +1127,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index e9d4dd0b..f57a7c9d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,8 +107,8 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 7adf33da..98bdc543 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -112,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -144,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -153,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -171,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -184,8 +155,6 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -193,15 +162,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +180,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -240,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -257,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -286,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = - (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -459,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -506,8 +466,7 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = - new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +486,38 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -586,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -627,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -663,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -679,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -695,15 +641,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,15 +662,14 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -736,8 +680,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -758,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -799,15 +739,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -818,8 +757,6 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -830,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -838,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -857,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -876,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +850,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { } } /** - * - * *
      * The list of queues.
      * 
@@ -930,47 +857,42 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -978,8 +900,6 @@ public java.util.List getQueuesBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -990,13 +910,13 @@ public java.util.List getQueuesBuilderL
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1005,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1044,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1070,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1092,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1132,16 +1044,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index c1eb25f0..a1063d15 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 595074bb..83b5f61e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = - (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = - new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -691,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -716,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -741,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -812,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -828,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -852,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -879,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -906,7 +823,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -914,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -936,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -960,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -968,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -980,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1003,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1015,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1043,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1056,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1071,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1084,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1111,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1134,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1174,16 +1068,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index 16d5eabb..fc372464 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 8bcc41f0..6249890a 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -112,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -144,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -153,12 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -170,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -183,8 +155,6 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -192,15 +162,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -210,7 +179,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -237,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +233,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)); } @@ -283,7 +251,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_); @@ -296,16 +265,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.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = - (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -456,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -503,8 +464,7 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = - new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +484,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -583,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -624,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -660,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -676,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -692,15 +639,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,15 +660,14 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -733,8 +678,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -755,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -796,15 +737,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -815,8 +755,6 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -827,7 +765,8 @@ 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); @@ -835,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -854,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -873,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +848,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { } } /** - * - * *
      * The list of tasks.
      * 
@@ -927,46 +855,42 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -974,8 +898,6 @@ public java.util.List getTasksBuilderLis private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,13 +907,13 @@ public java.util.List getTasksBuilderLis
      * 
* * 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; @@ -1000,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1011,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1037,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1062,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1083,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1123,16 +1037,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index f5568056..1a7b2758 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index 1d13e2be..a34434b6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class,
-            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -412,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class,
-              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -436,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -488,39 +456,38 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -579,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -594,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -605,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -620,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -631,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -656,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -677,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -694,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -718,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -727,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -742,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -751,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -774,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -793,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -833,16 +780,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index 045cc073..b5bbd9b4 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 982de06e..94722f69 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class,
-            com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -414,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class,
-              com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -438,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +458,38 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -581,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -596,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -607,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -622,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -633,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -658,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -679,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -696,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -719,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -742,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -830,16 +777,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index fb4dbd64..af8fcaf6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 756d588f..48f8d6af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = - (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = - new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..8258f7dd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index ec7b1df4..b5af3f22 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9b02b696 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 7bbe29d9..68767a57 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,107 +56,90 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
+            }
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 74: {
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,40 +147,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -223,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -239,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -251,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -274,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -284,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -300,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -312,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,6 +280,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -356,51 +305,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -420,8 +368,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -442,7 +388,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -451,15 +396,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -480,15 +424,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 { @@ -499,8 +444,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -514,7 +457,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -522,8 +464,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -537,18 +477,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -564,16 +499,13 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -598,7 +530,6 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -606,8 +537,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -632,18 +561,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -677,8 +601,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -692,7 +614,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -700,8 +621,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -715,18 +634,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -749,8 +663,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -761,16 +673,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -781,22 +689,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -809,7 +712,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -817,8 +719,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -831,7 +731,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ @java.lang.Override @@ -839,8 +738,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -862,8 +759,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -871,7 +766,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -879,8 +773,6 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -888,18 +780,13 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -909,13 +796,11 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -927,7 +812,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_);
     }
@@ -962,26 +848,28 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              9, getStackdriverLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -991,34 +879,40 @@ 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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits().equals(other.getRateLimits())) return false;
+      if (!getRateLimits()
+          .equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig()
+          .equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime()
+          .equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig()
+          .equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1060,103 +954,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1165,20 +1053,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1188,15 +1075,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1238,9 +1126,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1295,39 +1183,38 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1389,8 +1276,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1411,13 +1296,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; @@ -1426,8 +1311,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1448,14 +1331,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 { @@ -1463,8 +1347,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1485,22 +1367,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1521,18 +1401,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1553,16 +1430,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; @@ -1570,13 +1447,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1590,15 +1462,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1612,21 +1481,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1655,8 +1519,6 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1683,8 +1545,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1703,9 +1563,7 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1717,8 +1575,6 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1745,8 +1601,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1762,13 +1616,11 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1783,19 +1635,15 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1811,17 +1659,14 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1829,13 +1674,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1860,15 +1700,12 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1893,21 +1730,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1947,8 +1779,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1974,7 +1804,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(
+        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1985,8 +1816,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2016,9 +1845,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2030,8 +1857,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2069,8 +1894,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2097,13 +1920,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2133,14 +1954,11 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2167,17 +1985,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RateLimits,
-                com.google.cloud.tasks.v2.RateLimits.Builder,
-                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2185,13 +2000,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2205,15 +2015,12 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2227,21 +2034,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2270,8 +2072,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2286,7 +2086,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(
+        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2297,8 +2098,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2317,9 +2116,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2331,8 +2128,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2359,8 +2154,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2376,13 +2169,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2401,14 +2192,11 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2424,17 +2212,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RetryConfig,
-                com.google.cloud.tasks.v2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2442,8 +2227,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2454,16 +2237,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2474,19 +2253,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2497,19 +2273,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2520,7 +2292,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2528,14 +2299,12 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2546,11 +2315,10 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2558,13 +2326,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2577,15 +2340,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2598,7 +2358,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2609,8 +2368,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2638,8 +2395,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2653,7 +2408,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2664,8 +2420,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2683,7 +2437,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2695,8 +2449,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2722,8 +2474,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2738,13 +2488,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2762,12 +2510,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2782,17 +2529,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2800,13 +2544,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2814,15 +2553,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2830,21 +2566,16 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2853,8 +2584,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2868,8 +2598,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2890,8 +2618,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2900,15 +2626,11 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
-                      stackdriverLoggingConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2920,8 +2642,6 @@ public Builder mergeStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2942,8 +2662,6 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2952,15 +2670,12 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
-        getStackdriverLoggingConfigBuilder() {
-
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
+      
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2969,19 +2684,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-        getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null
-            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
-            : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null ?
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2991,24 +2702,21 @@ public Builder clearStackdriverLoggingConfig() {
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
+        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(),
+                getParentForChildren(),
+                isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
-
     @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);
     }
 
@@ -3018,12 +2726,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -3032,16 +2740,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Queue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Queue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Queue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Queue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3056,4 +2764,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index b88abb66..178b4959 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder
-    extends
+public interface QueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -94,13 +71,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -114,13 +88,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -138,8 +109,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -164,13 +133,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -195,13 +161,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -230,8 +193,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -245,13 +206,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -265,13 +223,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -289,8 +244,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -301,13 +254,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -318,14 +268,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -338,13 +285,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -357,13 +301,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -380,8 +321,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -389,13 +328,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -403,13 +339,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -418,6 +351,5 @@ public interface QueueOrBuilder
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..dac47c22
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+  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_tasks_v2_Queue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" +
+      "gle.cloud.tasks.v2\032\031google/api/resource." +
+      "proto\032\"google/cloud/tasks/v2/target.prot" +
+      "o\032\036google/protobuf/duration.proto\032\037googl" +
+      "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" +
+      "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" +
+      "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" +
+      "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" +
+      "loud.tasks.v2.RateLimits\0228\n\014retry_config" +
+      "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" +
+      "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" +
+      "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" +
+      "le.protobuf.Timestamp\022S\n\032stackdriver_log" +
+      "ging_config\030\t \001(\0132/.google.cloud.tasks.v" +
+      "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" +
+      "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" +
+      "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" +
+      "eapis.com/Queue\0226projects/{project}/loca" +
+      "tions/{location}/queues/{queue}\"j\n\nRateL" +
+      "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" +
+      "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" +
+      "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" +
+      "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" +
+      "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" +
+      "backoff\030\003 \001(\0132\031.google.protobuf.Duration" +
+      "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." +
+      "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" +
+      "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " +
+      "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" +
+      "rotoP\001Z:google.golang.org/genproto/googl" +
+      "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_Queue_descriptor,
+        new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+        new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+        new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+        new java.lang.String[] { "SamplingRatio", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index ecc9472c..1cdb7fca 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class,
-            com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -139,7 +119,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -150,8 +129,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,7 +244,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -276,9 +252,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -304,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -411,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class,
-              com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -435,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +460,38 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -584,7 +551,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -592,8 +558,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -605,19 +569,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -629,20 +590,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -675,7 +633,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -683,8 +640,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -717,19 +672,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -762,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -790,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -798,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -814,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -841,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -862,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -876,16 +818,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 838dcb63..5e4df2aa 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -37,14 +19,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 619044c3..62f9f735 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b3d492e7 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 27cfb35c..7e5e827d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class,
-            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,27 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,103 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -679,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class,
-              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -703,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -741,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -762,8 +709,7 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result =
-          new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -789,39 +735,38 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -874,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -892,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -900,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -916,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -943,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -955,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -979,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1005,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1052,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1072,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1083,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1107,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1121,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1153,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1174,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1203,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1230,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1248,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1270,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1294,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1339,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1357,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1368,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1390,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1402,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1432,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1451,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1478,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1503,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1521,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1543,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1567,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1612,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1630,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1641,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1663,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1675,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1705,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1724,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1751,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1776,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1821,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1829,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1856,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1894,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1915,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1929,16 +1770,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1953,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index adf90087..08f2f02e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 27d0ddda..0755fef1 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,14 +238,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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -408,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -432,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -473,8 +430,7 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -485,39 +441,38 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -589,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -614,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -685,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -725,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -752,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -779,7 +701,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -787,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -809,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -830,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -844,16 +762,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index bf13da8d..6685e46f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 112d7577..9e7b6ced 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,113 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -304,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -328,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -367,8 +337,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -378,39 +347,38 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -418,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -442,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -453,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -465,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -473,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -483,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -504,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -525,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -539,16 +496,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -563,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index af110ade..90dc354b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..3e829b7e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index 62fb0dd0..a34f293f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,145 +54,128 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = - ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 2; - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 3; - break; + messageTypeCase_ = 2; + break; + } + case 26: { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + messageTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 56: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 64: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); } - case 82: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - - break; + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 88: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 56: { + + dispatchCount_ = input.readInt32(); + break; + } + case 64: { + + responseCount_ = input.readInt32(); + break; + } + case 74: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 88: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -217,30 +183,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -252,10 +215,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -264,8 +226,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -280,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -296,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -306,8 +262,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -322,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -335,6 +287,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -359,49 +312,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -420,16 +373,13 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
-
   public enum MessageTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
-
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -445,31 +395,26 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 3:
-          return HTTP_REQUEST;
-        case 0:
-          return MESSAGETYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return APP_ENGINE_HTTP_REQUEST;
+        case 3: return HTTP_REQUEST;
+        case 0: return MESSAGETYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase getMessageTypeCase() {
-    return MessageTypeCase.forNumber(messageTypeCase_);
+  public MessageTypeCase
+  getMessageTypeCase() {
+    return MessageTypeCase.forNumber(
+        messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -491,7 +436,6 @@ public MessageTypeCase getMessageTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -500,15 +444,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -530,15 +473,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 { @@ -548,15 +492,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -564,27 +505,22 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -593,25 +529,21 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -619,27 +551,22 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -650,7 +577,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -658,15 +585,12 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -674,26 +598,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -709,15 +626,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -725,15 +639,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -741,8 +652,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -758,8 +667,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -790,7 +697,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -798,8 +704,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -830,18 +734,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -881,8 +780,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -890,7 +787,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -901,14 +797,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -919,8 +812,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -928,7 +819,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -936,8 +826,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -945,18 +833,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -973,14 +856,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -988,25 +868,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1021,42 +894,33 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1068,7 +932,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_); } @@ -1115,38 +980,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1156,44 +1027,54 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1254,123 +1135,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1380,15 +1254,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1436,9 +1311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1510,39 +1385,38 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2.Task)other); } else { super.mergeFrom(other); return this; @@ -1580,20 +1454,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1623,12 +1494,12 @@ public Builder mergeFrom( } return this; } - private int messageTypeCase_ = 0; private java.lang.Object messageType_; - - public MessageTypeCase getMessageTypeCase() { - return MessageTypeCase.forNumber(messageTypeCase_); + public MessageTypeCase + getMessageTypeCase() { + return MessageTypeCase.forNumber( + messageTypeCase_); } public Builder clearMessageType() { @@ -1638,10 +1509,9 @@ public Builder clearMessageType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1663,13 +1533,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1678,8 +1548,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1701,14 +1569,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 { @@ -1716,8 +1585,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1739,22 +1606,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1776,18 +1641,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1809,36 +1671,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1846,15 +1702,12 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1872,8 +1725,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1895,8 +1746,6 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1916,8 +1765,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1927,14 +1774,10 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2
-            && messageType_
-                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 2 &&
+            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1950,8 +1793,6 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1976,8 +1817,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1989,8 +1828,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1999,8 +1836,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2011,8 +1847,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -2021,45 +1855,33 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2067,15 +1889,12 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override @@ -2093,8 +1912,6 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2116,8 +1933,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2125,7 +1940,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(
+        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -2136,8 +1952,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2147,13 +1961,10 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3
-            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 3 &&
+            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -2169,8 +1980,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2195,8 +2004,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2208,8 +2015,6 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2229,8 +2034,6 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2239,75 +2042,56 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.HttpRequest,
-                com.google.cloud.tasks.v2.HttpRequest.Builder,
-                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2329,8 +2113,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2338,7 +2120,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2349,8 +2132,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2362,9 +2143,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2376,8 +2155,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2397,8 +2174,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2407,13 +2182,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2425,14 +2198,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2441,17 +2211,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2459,49 +2226,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2523,8 +2277,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2532,7 +2284,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2543,8 +2296,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2556,7 +2307,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;
         }
@@ -2568,8 +2319,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2589,8 +2338,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2599,13 +2346,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2617,14 +2362,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2633,17 +2375,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2651,13 +2390,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2688,15 +2422,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2727,21 +2458,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2787,8 +2513,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2820,7 +2544,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2831,8 +2556,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2868,9 +2591,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2882,8 +2603,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2927,8 +2646,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2961,13 +2678,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3003,14 +2718,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3043,26 +2755,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3070,7 +2777,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -3078,8 +2784,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3087,19 +2791,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3107,26 +2808,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -3134,36 +2831,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3171,13 +2862,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3185,15 +2871,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3201,21 +2884,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3238,8 +2916,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3248,7 +2924,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3259,8 +2936,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3273,9 +2948,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3287,8 +2960,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3309,8 +2980,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3320,13 +2989,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3339,14 +3006,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3356,17 +3020,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Attempt,
-                com.google.cloud.tasks.v2.Attempt.Builder,
-                com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3374,47 +3035,34 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3435,15 +3083,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3454,8 +3101,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderF return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3466,9 +3111,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3480,8 +3123,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3500,8 +3141,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3509,13 +3148,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3526,14 +3163,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3541,17 +3175,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3559,69 +3190,55 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The view to set. * @return This builder for chaining. */ @@ -3629,32 +3246,29 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3664,12 +3278,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3678,16 +3292,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3702,4 +3316,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index 007aaaac..b785e0af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.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/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -157,34 +120,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -195,34 +150,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -233,8 +180,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -265,13 +210,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -302,13 +244,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -343,8 +282,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -352,27 +289,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -380,13 +311,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -394,13 +322,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -412,32 +337,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -447,28 +364,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..7bbc90b9 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,102 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index efa8f447..68da5cbe 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -148,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -156,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -167,7 +140,6 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -175,8 +147,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -195,15 +165,12 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -227,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -242,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -271,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -284,21 +248,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -324,127 +289,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -452,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -521,39 +477,38 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -599,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -614,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -633,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -646,8 +590,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -656,8 +598,7 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -673,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -683,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -697,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -707,14 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue)
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -726,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -736,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -751,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -761,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -780,19 +708,17 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -801,21 +727,17 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -823,49 +745,36 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -887,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -896,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -907,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -920,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -932,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -953,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -963,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -981,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -997,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1024,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -1038,16 +932,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1062,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index 769807c0..d3adfb72 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -35,13 +17,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -51,13 +30,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -71,34 +47,26 @@ public interface UpdateQueueRequestOrBuilder
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
index 09c3408d..239d176e 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
@@ -67,13 +67,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -133,7 +133,6 @@ public static final CloudTasksClient create(CloudTasksSettings settings) throws * Constructs an instance of CloudTasksClient, using the given stub for making calls. This is for * advanced usage - prefer using create(CloudTasksSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CloudTasksClient create(CloudTasksStub stub) { return new CloudTasksClient(stub); } @@ -147,7 +146,6 @@ protected CloudTasksClient(CloudTasksSettings settings) throws IOException { this.stub = ((CloudTasksStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CloudTasksClient(CloudTasksStub stub) { this.settings = null; this.stub = stub; @@ -157,7 +155,6 @@ public final CloudTasksSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub getStub() { return stub; } @@ -1193,7 +1190,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1228,7 +1225,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1260,7 +1257,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1285,10 +1282,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1298,7 +1291,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1334,7 +1327,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1377,7 +1370,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1417,7 +1410,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1443,10 +1436,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1459,7 +1448,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1596,11 +1585,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1919,9 +1903,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1980,9 +1964,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2038,9 +2022,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2072,9 +2056,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3098,10 +3082,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3148,10 +3129,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 98% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 3f9c9be6..43abe6a2 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.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.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index 59a0f2ba..164dabdd 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -85,9 +85,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -351,7 +351,6 @@ public UnaryCallSettings runTaskSettings() { return runTaskSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index 1218f4ab..a8b16134 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -59,6 +59,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java rename to owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java index 4471b15a..2dea9a7e 100644 --- a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,928 +19,700 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListTasksRequest,
-            com.google.cloud.tasks.v2beta2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod =
-              getLeaseTasksMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-                      .build();
+          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+              .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-        getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod =
-              getAcknowledgeTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-                      .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+              .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod =
-              getRenewLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-                      .build();
+          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+              .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod =
-              getCancelLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-                      .build();
+          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+              .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -971,16 +726,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -996,16 +747,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1019,16 +766,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1036,15 +779,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1054,15 +794,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1077,16 +814,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1097,16 +830,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1118,16 +847,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1137,17 +862,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1158,29 +878,22 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1189,15 +902,12 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1205,15 +915,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1236,16 +943,12 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1260,16 +963,12 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1277,15 +976,12 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1294,16 +990,12 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1328,193 +1020,199 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1528,18 +1226,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1555,18 +1248,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1580,18 +1268,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1599,16 +1282,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1618,16 +1298,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1642,18 +1319,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1664,18 +1336,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1687,18 +1354,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1708,19 +1370,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1731,31 +1387,24 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1764,16 +1413,13 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1781,16 +1427,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1813,17 +1456,13 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1838,18 +1477,13 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1857,16 +1491,13 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1875,18 +1506,13 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1911,8 +1537,7 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1920,16 +1545,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1940,35 +1563,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1982,15 +1597,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2006,15 +1618,12 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2028,15 +1637,12 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2044,15 +1650,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2062,15 +1665,12 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2085,15 +1685,12 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2110,8 +1707,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2129,8 +1724,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2140,15 +1733,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2159,28 +1749,22 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2189,15 +1773,12 @@ public com.google.cloud.tasks.v2beta2.Task getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2205,15 +1786,12 @@ public com.google.cloud.tasks.v2beta2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2236,15 +1814,12 @@ public com.google.protobuf.Empty deleteTask(
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2259,15 +1834,12 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2275,15 +1847,12 @@ public com.google.protobuf.Empty acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2292,15 +1861,12 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2325,63 +1891,54 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -2395,15 +1952,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2419,15 +1974,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2441,15 +1994,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2457,15 +2008,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2475,15 +2024,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2498,15 +2045,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2517,15 +2062,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2537,15 +2080,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2555,16 +2096,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2575,29 +2113,24 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2606,15 +2139,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2629,8 +2160,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2653,16 +2182,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
+        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2677,15 +2203,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
+        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2693,15 +2217,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture renewLease(
+        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2710,15 +2232,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture cancelLease(
+        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2743,8 +2263,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2771,11 +2291,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2789,107 +2309,83 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks(
-              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask(
-              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease(
-              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease(
-              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2908,9 +2404,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2952,31 +2447,29 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getLeaseTasksMethod())
-                      .addMethod(getAcknowledgeTaskMethod())
-                      .addMethod(getRenewLeaseMethod())
-                      .addMethod(getCancelLeaseMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getLeaseTasksMethod())
+              .addMethod(getAcknowledgeTaskMethod())
+              .addMethod(getRenewLeaseMethod())
+              .addMethod(getCancelLeaseMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index ea776bea..abcfe358 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AcknowledgeTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,35 +54,32 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,42 +87,35 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -151,32 +124,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -197,9 +166,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -207,8 +174,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -217,20 +182,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -239,8 +198,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -248,7 +206,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -280,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,18 +249,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.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = - (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -326,104 +286,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -431,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -455,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -500,8 +451,7 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -516,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -584,8 +532,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,23 +544,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -622,24 +565,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -647,70 +587,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -718,13 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -733,17 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -752,23 +670,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -777,8 +689,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -794,8 +705,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -804,10 +713,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -818,8 +727,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,16 +735,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -849,8 +753,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -859,8 +761,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -874,8 +775,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -884,17 +783,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -903,21 +799,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -926,28 +818,24 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } - @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 +845,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -971,16 +859,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +883,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index 5836a48c..aa7083e2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder - extends +public interface AcknowledgeTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,8 +64,7 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index bda8fe19..37163c60 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -78,16 +61,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -96,15 +78,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -124,62 +107,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUrl_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              payload_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUrl_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            payload_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -187,44 +164,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -257,22 +227,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -282,7 +247,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -290,8 +254,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -301,18 +263,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -331,8 +288,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -342,7 +297,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ @java.lang.Override @@ -351,15 +305,14 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -369,15 +322,16 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -386,23 +340,24 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -411,8 +366,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,22 +404,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,12 +459,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -551,16 +503,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -600,11 +552,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -614,8 +567,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -625,7 +576,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -634,7 +584,6 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -646,9 +595,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -657,8 +606,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -671,28 +624,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -702,22 +657,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getPayload().equals(other.getPayload())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl() + .equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -749,103 +707,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -903,43 +854,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -947,15 +898,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -976,9 +928,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -997,8 +949,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1018,39 +969,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1058,8 +1008,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1070,7 +1019,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1093,8 +1043,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1103,13 +1052,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1121,16 +1067,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1084,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1166,19 +1105,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1190,7 +1125,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1198,14 +1132,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1217,11 +1149,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1229,13 +1160,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, - com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1245,15 +1171,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1263,21 +1186,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1302,8 +1220,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1326,8 +1242,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1342,9 +1256,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1356,8 +1268,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1380,8 +1290,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1393,13 +1301,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1414,14 +1320,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1433,17 +1336,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1451,8 +1351,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
-     *
-     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1462,13 +1360,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; - * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1477,8 +1375,6 @@ public java.lang.String getRelativeUrl() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1488,14 +1384,15 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1503,8 +1400,6 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1514,22 +1409,20 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() {
      * 
* * string relative_url = 3; - * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl(java.lang.String value) { + public Builder setRelativeUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1539,18 +1432,15 @@ public Builder setRelativeUrl(java.lang.String value) {
      * 
* * string relative_url = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1560,36 +1450,37 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; - * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1601,8 +1492,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1641,22 +1530,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1696,12 +1585,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1741,17 +1629,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1791,11 +1678,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1803,12 +1691,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1847,21 +1734,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1900,20 +1789,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1952,15 +1840,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1970,7 +1859,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -1978,8 +1866,6 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1989,22 +1875,19 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -2014,18 +1897,17 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -2035,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -2049,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,4 +1955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 4a27f8c2..0eee0ff6 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString getRelativeUrlBytes(); + com.google.protobuf.ByteString + getRelativeUrlBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -371,7 +331,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes payload = 5; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 3633a62d..43646f79 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpTarget() {}
+  private AppEngineHttpTarget() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
-        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index e4f6a8d5..6ac107fd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.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/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder
-    extends
+public interface AppEngineHttpTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index ad2acdb0..75151c07 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -421,7 +387,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -430,15 +395,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -488,15 +452,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -505,7 +470,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -517,7 +481,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -559,18 +524,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.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = - (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -595,104 +563,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -710,23 +671,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -734,15 +693,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -758,9 +718,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -779,8 +739,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -793,39 +752,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -833,8 +791,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -882,8 +839,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -902,13 +857,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -917,8 +872,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -937,14 +890,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -952,8 +906,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -972,22 +924,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1006,18 +956,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1036,16 +983,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1053,8 +1000,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1073,13 +1018,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1088,8 +1033,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1108,14 +1051,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1123,8 +1067,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1143,22 +1085,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1177,18 +1117,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1207,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1224,8 +1161,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1241,13 +1176,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1256,8 +1191,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,14 +1206,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1288,8 +1222,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1305,22 +1237,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1336,18 +1266,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1363,16 +1290,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1380,8 +1307,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1431,13 +1356,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1446,8 +1371,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1497,14 +1420,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1512,8 +1436,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1563,22 +1485,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1628,18 +1548,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1689,23 +1606,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1715,12 +1632,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1729,16 +1646,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1753,4 +1670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index bc74a98e..3a191733 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -222,13 +189,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -278,8 +242,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index 28cd82db..a2e69197 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttemptStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AttemptStatus() {} + private AttemptStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private AttemptStatus( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,29 +364,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other =
-        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -480,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -608,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -669,8 +604,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = - new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -699,39 +633,38 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); } else { super.mergeFrom(other); return this; @@ -783,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -847,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -856,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -867,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -880,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -894,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -915,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -925,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -943,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -959,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -977,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1041,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1050,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1061,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1074,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1088,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1109,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1119,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1137,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1153,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1171,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1235,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1244,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1255,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1268,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1282,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1303,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1313,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1331,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1347,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1365,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1377,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1393,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1430,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1440,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1451,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1465,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1477,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1499,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1510,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1529,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1546,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1571,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1585,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AttemptStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AttemptStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttemptStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AttemptStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1609,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 04cba740..067732e6 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder
-    extends
+public interface AttemptStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -147,13 +105,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -161,13 +116,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 4f0d227b..8f7ffdf5 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CancelLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,42 +55,38 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,42 +94,35 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -159,32 +131,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -195,8 +165,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,9 +173,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -215,8 +181,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -225,20 +189,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -247,8 +205,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -258,8 +215,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -274,16 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -298,19 +249,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +269,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,10 +293,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -358,18 +308,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.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = - (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -397,103 +348,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -501,23 +445,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -525,15 +467,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -551,9 +494,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -572,8 +515,7 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -589,39 +531,38 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -629,8 +570,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -660,8 +600,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -673,23 +612,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -698,24 +633,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -723,70 +655,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -794,13 +713,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -809,17 +723,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,23 +738,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -853,8 +757,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -870,8 +773,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -880,10 +781,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -894,8 +795,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -904,16 +803,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -925,8 +821,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -935,8 +829,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -950,8 +843,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -960,17 +851,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,21 +867,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1002,21 +886,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1024,8 +904,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1040,16 +918,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1064,19 +938,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1091,19 +962,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1118,7 +985,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1126,14 +992,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1148,18 +1012,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1169,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1183,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index 7e482e5c..c38b4840 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder - extends +public interface CancelLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,14 +64,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -121,13 +83,10 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -142,7 +101,6 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..8ad64891 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,462 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { "Queues", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { "Parent", "Queue", }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { "Queue", "UpdateMask", }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { "Tasks", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { "Parent", "Task", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { "Tasks", }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 2fff1143..7a6c7007 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index 9676f059..f06e93f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5b08ffe3..5486174c 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index efb3f667..d08c4552 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index be30b05b..a7ff0f78 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..4551caab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index d8cdf272..470736a3 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..2bc96dd8 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 098da970..3c31bbcb 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = - (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = - new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index 8a94e8ad..d0acb43e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 555bd07a..47fe15e9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = - (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = - new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 627e5389..24915aa1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index d06ae3b1..abca6176 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -92,8 +64,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -102,8 +72,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -152,6 +112,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,55 +137,52 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,3 +198,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index baf42571..6aa2dbff 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { - parent_ = s; - break; + maxTasks_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); } - case 16: - { - maxTasks_ = input.readInt32(); - break; + leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); - } - leaseDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); - } - break; - } - case 32: - { - int rawValue = input.readEnum(); + break; + } + case 32: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -220,7 +187,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -231,8 +197,6 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -251,9 +215,7 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -261,8 +223,6 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -281,20 +241,14 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -313,8 +267,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -324,8 +277,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -340,16 +291,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -364,22 +311,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -405,7 +347,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -414,15 +355,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -448,15 +388,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -465,7 +406,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,7 +417,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_); } @@ -506,13 +447,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -525,22 +469,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = - (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getMaxTasks() != other.getMaxTasks()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getMaxTasks() + != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -569,127 +516,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -697,15 +635,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -748,8 +687,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = - new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -767,39 +705,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -807,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -857,23 +793,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -882,24 +814,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -907,79 +836,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_; + private int maxTasks_ ; /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -991,7 +905,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -999,8 +912,6 @@ public int getMaxTasks() { return maxTasks_; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1012,19 +923,16 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; - * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1036,11 +944,10 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; - * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -1048,13 +955,8 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1073,17 +975,13 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1102,23 +1000,17 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1137,8 +1029,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1154,8 +1045,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1174,10 +1063,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1188,8 +1077,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1208,16 +1095,13 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1229,8 +1113,6 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1249,8 +1131,7 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1264,8 +1145,6 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1284,17 +1163,14 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1313,21 +1189,17 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1346,21 +1218,17 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1368,8 +1236,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1384,16 +1250,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1408,19 +1270,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1435,19 +1294,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1462,7 +1317,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1470,14 +1324,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1492,11 +1344,10 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1504,8 +1355,6 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1531,13 +1380,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1546,8 +1395,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1573,14 +1420,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1588,8 +1436,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1615,22 +1461,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1656,18 +1500,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1693,23 +1534,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1719,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1733,16 +1574,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1757,4 +1598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index 8d97536d..e8ee7da0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder - extends +public interface LeaseTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -68,14 +41,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ int getMaxTasks(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -94,15 +64,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -121,15 +87,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -148,14 +110,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -170,13 +129,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -191,14 +147,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -224,13 +177,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -256,8 +206,8 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index db622add..785a15f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -105,27 +87,22 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The leased tasks.
    * 
@@ -137,8 +114,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -146,13 +121,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -164,8 +137,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The leased tasks.
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The leased tasks.
    * 
@@ -186,12 +155,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +172,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +198,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList().equals(other.getTasksList())) return false; + if (!getTasksList() + .equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,126 +228,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -384,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -429,8 +391,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = - new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +410,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -489,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -509,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -537,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,28 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The leased tasks.
      * 
@@ -583,8 +533,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -599,8 +547,6 @@ public int getTasksCount() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -615,15 +561,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,8 +582,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -657,8 +600,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -679,15 +620,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,15 +641,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -720,8 +659,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -740,8 +677,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -752,7 +687,8 @@ 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); @@ -760,8 +696,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -779,8 +713,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -798,44 +730,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -843,8 +770,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The leased tasks.
      * 
@@ -852,54 +777,49 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; } - @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); } @@ -909,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -923,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index be8e88b3..9fd3c606 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder - extends +public interface LeaseTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The leased tasks.
    * 
@@ -44,8 +25,6 @@ public interface LeaseTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The leased tasks.
    * 
@@ -54,23 +33,21 @@ public interface LeaseTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index e54a748b..ca1d881d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index 167f4ec8..f3767022 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index b939f1fb..c34490bd 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 98afbafd..248518f9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index 7c714d8e..bb5156d1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -382,18 +340,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.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = - (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = - new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index 29a8834e..a9b7b18e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 02a9e4ef..1ab20232 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = - (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = - new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 65d2e1d6..8df40b84 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index d0889429..7c934fac 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a1261f9a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 68114f46..3ad4c05d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -47,15 +29,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,25 +57,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +82,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -143,8 +120,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -164,7 +139,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -173,15 +147,14 @@ 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; } } /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -201,15 +174,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -218,7 +192,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +203,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -247,7 +221,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -260,16 +235,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.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = - (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,104 +266,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -397,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class,
-              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -421,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -462,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result =
-          new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -474,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,14 +519,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -568,39 +531,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -608,8 +565,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -629,13 +584,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -644,8 +599,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -665,14 +618,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -680,8 +634,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -701,22 +653,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -736,18 +686,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -767,23 +714,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -793,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -807,16 +754,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 3e9a9796..9a08cc45 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -58,13 +37,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -84,8 +60,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index ac577696..c431c6ad 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PullTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PullTarget() {} + private PullTarget() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private PullTarget( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = - (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -159,127 +140,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** - * - * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = - new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); } else { super.mergeFrom(other); return this; @@ -403,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -415,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -429,16 +400,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..27ec888a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index ffb1a8e6..568db342 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..cef23931 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 31f4d38a..5c513533 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,155 +56,131 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 3;
-              break;
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 4) {
-                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 4;
-              break;
+            targetTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 4) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+            }
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetTypeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
             }
-          case 130:
-            {
-              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
+            }
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 130: {
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -229,41 +188,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class,
-            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -272,8 +226,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -288,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -302,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -337,8 +283,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -353,8 +297,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -367,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -389,6 +329,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -413,51 +354,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -476,16 +416,13 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
-
   public enum TargetTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
-
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -501,31 +438,26 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_TARGET;
-        case 4:
-          return PULL_TARGET;
-        case 0:
-          return TARGETTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_TARGET;
+        case 4: return PULL_TARGET;
+        case 0: return TARGETTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase getTargetTypeCase() {
-    return TargetTypeCase.forNumber(targetTypeCase_);
+  public TargetTypeCase
+  getTargetTypeCase() {
+    return TargetTypeCase.forNumber(
+        targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -546,7 +478,6 @@ public TargetTypeCase getTargetTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -555,15 +486,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -584,15 +514,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 { @@ -602,15 +533,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -618,27 +546,22 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -647,25 +570,21 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-      getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -673,27 +592,22 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -704,7 +618,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -712,8 +626,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -731,7 +643,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -739,8 +650,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -758,18 +667,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -796,8 +700,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -811,7 +713,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -819,8 +720,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -834,18 +733,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -868,8 +762,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -880,16 +772,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -900,22 +788,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -928,7 +811,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -936,8 +818,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -950,7 +830,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ @java.lang.Override @@ -958,8 +837,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -981,8 +858,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -997,7 +872,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1005,8 +879,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1021,7 +893,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ @java.lang.Override @@ -1029,8 +900,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1054,8 +923,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1068,7 +935,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1076,8 +942,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1090,18 +954,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1123,18 +982,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1142,18 +996,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1161,17 +1010,13 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1179,7 +1024,6 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1191,7 +1035,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_); } @@ -1235,35 +1080,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1273,46 +1123,55 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget() + .equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget().equals(other.getPullTarget())) return false; + if (!getPullTarget() + .equals(other.getPullTarget())) return false; break; case 0: default: @@ -1373,103 +1232,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1478,23 +1331,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class,
-              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1502,15 +1353,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1560,9 +1412,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1637,39 +1489,38 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1704,20 +1555,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET:
-          {
-            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-            break;
-          }
-        case PULL_TARGET:
-          {
-            mergePullTarget(other.getPullTarget());
-            break;
-          }
-        case TARGETTYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_TARGET: {
+          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+          break;
+        }
+        case PULL_TARGET: {
+          mergePullTarget(other.getPullTarget());
+          break;
+        }
+        case TARGETTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1747,12 +1595,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-
-    public TargetTypeCase getTargetTypeCase() {
-      return TargetTypeCase.forNumber(targetTypeCase_);
+    public TargetTypeCase
+        getTargetTypeCase() {
+      return TargetTypeCase.forNumber(
+          targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1762,10 +1610,9 @@ public Builder clearTargetType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1786,13 +1633,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1801,8 +1648,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1823,14 +1668,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 { @@ -1838,8 +1684,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1860,22 +1704,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1896,18 +1738,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1928,36 +1767,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> - appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1965,15 +1798,12 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1991,8 +1821,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2000,8 +1828,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2015,8 +1842,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2036,8 +1861,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2045,17 +1868,12 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3
-            && targetType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 3 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2071,8 +1889,6 @@ public Builder mergeAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2097,8 +1913,6 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2106,13 +1920,10 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
-        getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2121,8 +1932,7 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-        getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -2133,8 +1943,6 @@ public Builder clearAppEngineHttpTarget() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2143,45 +1951,33 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
-        pullTargetBuilder_;
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -2189,15 +1985,12 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override @@ -2215,8 +2008,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2238,8 +2029,6 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2259,8 +2048,6 @@ public Builder setPullTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2270,13 +2057,10 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4
-            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 4 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2292,8 +2076,6 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2318,8 +2100,6 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2331,8 +2111,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2352,8 +2130,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2362,39 +2138,28 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullTarget,
-                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2412,15 +2177,12 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2438,21 +2200,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2485,8 +2242,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2517,8 +2272,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2541,9 +2294,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2555,8 +2306,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2587,8 +2336,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2608,13 +2355,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2637,14 +2382,11 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2664,17 +2406,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RateLimits,
-                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2682,13 +2421,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2702,15 +2436,12 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2724,21 +2455,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2767,8 +2493,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2795,8 +2519,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2815,9 +2537,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2829,8 +2549,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2857,8 +2575,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2874,13 +2590,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2899,14 +2613,11 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2922,17 +2633,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RetryConfig,
-                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2940,8 +2648,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2952,16 +2658,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2972,19 +2674,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2995,19 +2694,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3018,7 +2713,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3026,14 +2720,12 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3044,11 +2736,10 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3056,13 +2747,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3075,15 +2761,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3096,7 +2779,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3107,8 +2789,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3136,8 +2816,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3151,7 +2829,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3162,8 +2841,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3181,7 +2858,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3193,8 +2870,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3220,8 +2895,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3236,13 +2909,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3260,12 +2931,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3280,17 +2950,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3298,13 +2965,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3319,15 +2981,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3342,7 +3001,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3353,8 +3011,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3384,8 +3040,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3401,7 +3055,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3412,8 +3067,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3433,7 +3086,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3445,8 +3098,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3474,8 +3125,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3492,13 +3141,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3518,12 +3165,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3540,17 +3186,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3558,13 +3201,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3577,15 +3215,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3598,21 +3233,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3640,8 +3270,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3655,7 +3283,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3666,8 +3295,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3685,9 +3312,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3699,8 +3324,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3726,8 +3349,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3742,13 +3363,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3766,14 +3385,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3788,17 +3404,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3806,64 +3419,45 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.QueueStats,
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
-            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
-        statsBuilder_;
+        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3879,19 +3473,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3902,25 +3493,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -3932,17 +3517,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3956,77 +3537,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4036,12 +3601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -4050,16 +3615,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4074,4 +3639,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 15bb0343..11cda3ea 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,40 +52,32 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -117,34 +88,26 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -155,8 +118,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -174,13 +135,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -198,13 +156,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -226,8 +181,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -241,13 +194,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -261,13 +211,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -285,8 +232,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -297,13 +242,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -314,14 +256,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -334,13 +273,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -353,13 +289,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -376,8 +309,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -392,13 +323,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -413,13 +341,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -438,8 +363,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -452,13 +375,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -471,13 +391,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -494,49 +411,35 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..26d91fab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,140 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta2_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index 851774bb..f6138f49 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = - (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = - new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index d65aa3fd..877422f2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index ba22e1ca..2bb7a61a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxTasksDispatchedPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentTasks_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxTasksDispatchedPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentTasks_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -143,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -154,8 +133,6 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -187,7 +164,6 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -198,8 +174,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -217,7 +191,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -226,7 +199,6 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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 (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -258,14 +231,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +250,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.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = - (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() + != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,10 +276,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -312,104 +287,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -420,23 +388,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class,
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -444,15 +410,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +433,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -487,8 +454,7 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result =
-          new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -500,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,10 +544,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_;
+    private double maxTasksDispatchedPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -598,7 +561,6 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -606,8 +568,6 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -623,19 +583,16 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -651,20 +608,17 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -696,7 +650,6 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -704,8 +657,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -737,19 +688,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -781,20 +729,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_; + private int maxConcurrentTasks_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -812,7 +757,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -820,8 +764,6 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -839,19 +781,16 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -869,18 +808,17 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -890,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -904,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 373ee8d6..1e80375a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -41,14 +23,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -80,14 +59,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -105,7 +81,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 91ce7c71..86c724b4 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenewLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,57 +55,51 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (leaseDuration_ != null) {
-                subBuilder = leaseDuration_.toBuilder();
-              }
-              leaseDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(leaseDuration_);
-                leaseDuration_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (leaseDuration_ != null) {
+              subBuilder = leaseDuration_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              responseView_ = rawValue;
-              break;
+            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(leaseDuration_);
+              leaseDuration_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -130,42 +107,35 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -174,32 +144,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -210,8 +178,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -220,9 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -230,8 +194,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -240,20 +202,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -262,8 +218,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -273,17 +228,13 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -291,36 +242,27 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -330,8 +272,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -346,16 +286,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -370,19 +306,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +326,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_); } @@ -420,13 +353,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -436,22 +372,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = - (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -482,104 +420,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -587,23 +518,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -611,15 +540,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -643,9 +573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -664,8 +594,7 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -686,39 +615,38 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -772,23 +699,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -797,24 +720,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -822,70 +742,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -893,13 +800,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -908,17 +810,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -927,23 +825,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -952,8 +844,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -969,8 +860,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,10 +868,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -993,8 +882,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1003,16 +890,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -1024,8 +908,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1034,8 +916,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -1049,8 +930,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1059,17 +938,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1078,21 +954,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1101,21 +973,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1123,61 +991,45 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1193,18 +1045,16 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1215,24 +1065,19 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1244,16 +1089,13 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1267,67 +1109,54 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1335,8 +1164,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1351,16 +1178,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1375,19 +1198,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1402,19 +1222,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1429,7 +1245,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1437,14 +1252,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1459,18 +1272,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1480,12 +1292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1494,16 +1306,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1518,4 +1330,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 800dfd88..0fb7d3e1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder - extends +public interface RenewLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,58 +64,44 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,13 +116,10 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,7 +134,6 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 66717318..1c905c3a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..a5db637f --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index 9a966fb3..c8e6cb16 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,75 +53,67 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              numAttempts_ = input.readInt32();
-              numAttemptsCase_ = 1;
-              break;
+          case 8: {
+            numAttempts_ = input.readInt32();
+            numAttemptsCase_ = 1;
+            break;
+          }
+          case 16: {
+            numAttempts_ = input.readBool();
+            numAttemptsCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 16:
-            {
-              numAttempts_ = input.readBool();
-              numAttemptsCase_ = 2;
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          case 48:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 48: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,40 +121,35 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
-
   public enum NumAttemptsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
-
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -194,30 +165,25 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return MAX_ATTEMPTS;
-        case 2:
-          return UNLIMITED_ATTEMPTS;
-        case 0:
-          return NUMATTEMPTS_NOT_SET;
-        default:
-          return null;
+        case 1: return MAX_ATTEMPTS;
+        case 2: return UNLIMITED_ATTEMPTS;
+        case 0: return NUMATTEMPTS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(numAttemptsCase_);
+  public NumAttemptsCase
+  getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(
+        numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -226,7 +192,6 @@ public NumAttemptsCase getNumAttemptsCase() {
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -234,8 +199,6 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -244,7 +207,6 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -257,14 +219,11 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -272,14 +231,11 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ @java.lang.Override @@ -293,8 +249,6 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -313,7 +267,6 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -321,8 +274,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -341,18 +292,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -380,8 +326,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -398,7 +342,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -406,8 +349,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -424,7 +365,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ @java.lang.Override @@ -432,8 +372,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -459,8 +397,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -477,7 +413,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -485,8 +420,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -503,7 +436,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ @java.lang.Override @@ -511,8 +443,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -538,8 +468,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -566,7 +494,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -575,7 +502,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -587,12 +513,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (numAttemptsCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); + output.writeInt32( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); + output.writeBool( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -616,26 +545,30 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, (boolean) ((java.lang.Boolean) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -645,34 +578,39 @@ 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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = - (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() + != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -709,7 +647,8 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUnlimitedAttempts()); break; case 0: default: @@ -719,104 +658,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -824,23 +756,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class,
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -848,15 +778,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -886,9 +817,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -907,8 +838,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result =
-          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -940,39 +870,38 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -994,20 +923,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS:
-          {
-            setMaxAttempts(other.getMaxAttempts());
-            break;
-          }
-        case UNLIMITED_ATTEMPTS:
-          {
-            setUnlimitedAttempts(other.getUnlimitedAttempts());
-            break;
-          }
-        case NUMATTEMPTS_NOT_SET:
-          {
-            break;
-          }
+        case MAX_ATTEMPTS: {
+          setMaxAttempts(other.getMaxAttempts());
+          break;
+        }
+        case UNLIMITED_ATTEMPTS: {
+          setUnlimitedAttempts(other.getUnlimitedAttempts());
+          break;
+        }
+        case NUMATTEMPTS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1037,12 +963,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-
-    public NumAttemptsCase getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(numAttemptsCase_);
+    public NumAttemptsCase
+        getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(
+          numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -1052,9 +978,8 @@ public Builder clearNumAttempts() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1063,15 +988,12 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1080,7 +1002,6 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1090,8 +1011,6 @@ public int getMaxAttempts() { return 0; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1100,7 +1019,6 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1111,8 +1029,6 @@ public Builder setMaxAttempts(int value) { return this; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1121,7 +1037,6 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1134,28 +1049,22 @@ public Builder clearMaxAttempts() { } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1165,14 +1074,11 @@ public boolean getUnlimitedAttempts() { return false; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1183,14 +1089,11 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1204,13 +1107,8 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1229,15 +1127,12 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1256,21 +1151,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1304,8 +1194,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1325,7 +1213,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1336,8 +1225,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1361,9 +1248,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1375,8 +1260,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1408,8 +1291,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1430,13 +1311,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1460,14 +1339,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1488,17 +1364,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1506,13 +1379,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1529,15 +1397,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1554,21 +1419,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1600,8 +1460,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1619,7 +1477,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1630,8 +1489,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1653,7 +1510,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1665,8 +1522,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1696,8 +1551,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1716,13 +1569,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1744,14 +1595,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1770,17 +1618,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1788,13 +1633,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1811,15 +1651,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1836,21 +1673,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1882,8 +1714,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1901,7 +1731,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1912,8 +1743,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1935,7 +1764,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1947,8 +1776,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1978,8 +1805,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1998,13 +1823,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2026,14 +1849,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2052,26 +1872,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2098,7 +1913,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -2106,8 +1920,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2134,19 +1946,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2173,18 +1982,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2194,12 +2002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2208,16 +2016,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2232,4 +2040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index f78d7ff0..ca066b67 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -34,13 +16,10 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -49,39 +28,30 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -100,13 +70,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -125,13 +92,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -154,8 +118,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -172,13 +134,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -195,13 +154,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -222,8 +178,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -240,13 +194,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -263,13 +214,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -290,8 +238,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -318,7 +264,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index a8d244e6..f7120749 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = - (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index 8ce08688..fce8c1e0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..02a91a15 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,125 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index b4b9a701..d746a483 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,110 +54,92 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 58: - { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 58: { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } + + break; + } + case 64: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -182,31 +147,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -218,10 +179,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -230,8 +190,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -247,8 +205,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -263,8 +219,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -273,8 +227,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,8 +242,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -303,6 +253,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -327,49 +278,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -388,16 +339,13 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -413,31 +361,26 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 4:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 4: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -459,7 +402,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -468,15 +410,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -498,15 +439,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 { @@ -516,8 +458,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -527,7 +467,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -535,8 +474,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -546,19 +483,16 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -570,18 +504,15 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -589,7 +520,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -597,8 +527,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -606,19 +534,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -630,7 +555,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -638,8 +563,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -651,7 +574,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -659,8 +581,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -672,18 +592,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -704,15 +619,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -720,15 +632,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -736,8 +645,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -753,14 +660,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ @java.lang.Override @@ -768,25 +672,18 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The task status.
    * 
@@ -801,43 +698,33 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -849,7 +736,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_); } @@ -884,26 +772,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -913,34 +803,40 @@ 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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -989,126 +885,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1116,15 +1004,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1156,9 +1045,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1218,39 +1107,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); } else { super.mergeFrom(other); return this; @@ -1276,20 +1164,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1319,12 +1204,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1334,10 +1219,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1359,13 +1243,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1374,8 +1258,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1397,14 +1279,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 { @@ -1412,8 +1295,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1435,22 +1316,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1472,18 +1351,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1505,29 +1381,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1537,7 +1408,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1545,8 +1415,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1556,7 +1424,6 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1574,8 +1441,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1586,8 +1451,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1601,8 +1465,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1625,8 +1487,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1637,17 +1497,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1663,8 +1518,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1692,8 +1545,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1704,13 +1555,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1722,8 +1570,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1734,8 +1581,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1747,38 +1592,27 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1786,7 +1620,6 @@ public Builder clearAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1794,8 +1627,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1803,7 +1634,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override @@ -1821,8 +1651,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1845,8 +1673,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1867,8 +1693,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1879,13 +1703,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4
-            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 4 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1901,8 +1722,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1928,8 +1747,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1942,8 +1759,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1964,8 +1779,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1975,39 +1788,28 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullMessage,
-                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2019,15 +1821,12 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2039,21 +1838,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2080,8 +1874,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2094,7 +1886,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2105,8 +1898,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2123,9 +1914,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2137,8 +1926,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2163,8 +1950,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2178,13 +1963,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2201,14 +1984,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2222,17 +2002,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2240,49 +2017,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2304,8 +2068,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2313,7 +2075,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2324,8 +2087,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2337,7 +2098,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;
         }
@@ -2349,8 +2110,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2370,8 +2129,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2380,13 +2137,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2398,14 +2153,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2414,17 +2166,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2432,47 +2181,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.TaskStatus,
-            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
-            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
-        statusBuilder_;
+        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2493,15 +2229,14 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus( + com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2512,8 +2247,6 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder build return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2524,9 +2257,7 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -2538,8 +2269,6 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2558,8 +2287,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2567,13 +2294,11 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The task status.
      * 
@@ -2584,14 +2309,11 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? + com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2599,17 +2321,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -2617,69 +2336,55 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The view to set. * @return This builder for chaining. */ @@ -2687,32 +2392,29 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2722,12 +2424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2736,16 +2438,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2760,4 +2462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index 9b356802..cce77766 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -75,14 +54,12 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -92,13 +69,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -108,13 +82,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -128,8 +99,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -137,13 +106,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -151,13 +117,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -169,8 +132,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -182,13 +143,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -200,13 +158,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -222,34 +177,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -260,32 +207,24 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** - * - * *
    * Output only. The task status.
    * 
@@ -295,28 +234,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..8b3416a2 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index 361386df..f8ed0ce2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TaskStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TaskStatus() {} + private TaskStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,55 +52,49 @@ private TaskStatus( case 0: done = true; break; - case 8: - { - attemptDispatchCount_ = input.readInt32(); - break; + case 8: { + + attemptDispatchCount_ = input.readInt32(); + break; + } + case 16: { + + attemptResponseCount_ = input.readInt32(); + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); } - case 16: - { - attemptResponseCount_ = input.readInt32(); - break; + firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); - } - firstAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); } - case 34: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); - } - - break; + lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,33 +102,29 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** - * - * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -158,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -169,15 +142,12 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -188,8 +158,6 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -198,7 +166,6 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -206,8 +173,6 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -216,18 +181,13 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -245,15 +205,12 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -261,26 +218,19 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -294,7 +244,6 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -306,7 +255,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 (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -329,16 +279,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -348,23 +302,26 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other =
-        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount()
+        != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount()
+        != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus()
+          .equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus()
+          .equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -394,127 +351,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
-   *
-   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -522,15 +470,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -575,8 +524,7 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = - new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -597,39 +545,38 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); } else { super.mergeFrom(other); return this; @@ -679,10 +626,8 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_; + private int attemptDispatchCount_ ; /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -690,7 +635,6 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -698,8 +642,6 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -707,19 +649,16 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; - * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -727,27 +666,23 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; - * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_; + private int attemptResponseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -755,38 +690,32 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -794,13 +723,8 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, - com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> - firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -809,15 +733,12 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -826,21 +747,16 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -864,8 +780,6 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -887,8 +801,6 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -902,9 +814,7 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -916,8 +826,6 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -939,8 +847,6 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -951,13 +857,11 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-
+      
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -971,14 +875,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : firstAttemptStatus_;
+        return firstAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -989,17 +890,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(), getParentForChildren(), isClean());
+        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -1007,49 +905,36 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
-        lastAttemptStatusBuilder_;
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1071,8 +956,6 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1092,8 +975,6 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1105,9 +986,7 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -1119,8 +998,6 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1140,8 +1017,6 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1150,13 +1025,11 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-
+      
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1168,14 +1041,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : lastAttemptStatus_;
+        return lastAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1184,24 +1054,21 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(), getParentForChildren(), isClean());
+        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1211,12 +1078,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1225,16 +1092,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TaskStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TaskStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TaskStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TaskStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1249,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index b0d40449..4a065e60 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder
-    extends
+public interface TaskStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -33,28 +15,22 @@ public interface TaskStatusOrBuilder
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -63,13 +39,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -78,13 +51,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -97,34 +67,26 @@ public interface TaskStatusOrBuilder
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index c862f9eb..eb8253bd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 61d01622..8314ea6a 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
index 24430428..274a2fd0 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
@@ -65,13 +65,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -131,7 +131,6 @@ public static final CloudTasksClient create(CloudTasksSettings settings) throws * Constructs an instance of CloudTasksClient, using the given stub for making calls. This is for * advanced usage - prefer using create(CloudTasksSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final CloudTasksClient create(CloudTasksStub stub) { return new CloudTasksClient(stub); } @@ -145,7 +144,6 @@ protected CloudTasksClient(CloudTasksSettings settings) throws IOException { this.stub = ((CloudTasksStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected CloudTasksClient(CloudTasksStub stub) { this.settings = null; this.stub = stub; @@ -155,7 +153,6 @@ public final CloudTasksSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub getStub() { return stub; } @@ -1191,7 +1188,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1226,7 +1223,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1258,7 +1255,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1283,10 +1280,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1296,7 +1289,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1332,7 +1325,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1375,7 +1368,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1415,7 +1408,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1441,10 +1434,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1457,7 +1446,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1594,11 +1583,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1917,7 +1901,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1976,7 +1960,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2032,7 +2016,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2064,7 +2048,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2416,10 +2400,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2466,10 +2447,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 97% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 4b670b0a..8f3c8302 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.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.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 98% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index d158d0c5..65ea119f 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -322,7 +322,6 @@ public UnaryCallSettings runTaskSettings() { return runTaskSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public CloudTasksStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index 3538397e..00217250 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -54,6 +54,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java similarity index 57% rename from grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java rename to owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java index f661a208..86628889 100644 --- a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,755 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListTasksRequest,
-            com.google.cloud.tasks.v2beta3.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -798,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -823,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -846,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -863,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -881,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -904,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -924,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -945,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -964,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -985,44 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1030,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1061,168 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1236,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1263,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1288,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1307,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1326,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1350,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1372,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1395,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1416,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1439,47 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1487,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1519,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1528,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1548,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1590,15 +1283,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1614,15 +1304,12 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1636,15 +1323,12 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1652,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1670,15 +1351,12 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1693,15 +1371,12 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1718,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1737,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1748,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1767,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1811,15 +1470,12 @@ public com.google.cloud.tasks.v2beta3.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1842,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1912,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1936,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1958,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1974,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1992,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2015,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2034,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -2054,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2072,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -2092,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2144,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2168,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2192,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2210,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2308,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2352,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index 2443b42f..f7b2a5bb 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpQueue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpQueue() {}
+  private AppEngineHttpQueue() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
-        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpQueue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpQueue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpQueue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpQueue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 1f9d6f5b..0abf3214 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder
-    extends
+public interface AppEngineHttpQueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index c4f1b564..e8370812 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -76,16 +59,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -94,15 +76,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -122,62 +105,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -185,44 +162,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -234,16 +208,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -255,22 +225,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -280,7 +245,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -288,8 +252,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -299,18 +261,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -329,8 +286,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -340,7 +295,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -349,15 +303,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -367,15 +320,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -384,23 +338,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -409,8 +364,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,22 +402,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -504,12 +457,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -549,16 +501,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -598,11 +550,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -612,8 +565,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -621,7 +572,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -630,7 +580,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -642,9 +591,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -653,8 +602,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -667,28 +620,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -698,22 +653,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,103 +703,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -897,43 +848,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -941,15 +892,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -970,9 +922,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -991,8 +943,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1012,39 +963,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1052,8 +1002,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1064,7 +1013,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1087,8 +1037,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1097,13 +1046,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1115,16 +1061,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1136,19 +1078,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1160,19 +1099,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1184,7 +1119,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1192,14 +1126,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1211,11 +1143,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1223,13 +1154,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, - com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1239,15 +1165,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1257,21 +1180,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1296,8 +1214,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,8 +1236,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,9 +1250,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1350,8 +1262,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1374,8 +1284,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1387,13 +1295,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1408,14 +1314,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1427,17 +1330,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1445,8 +1345,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1456,13 +1354,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1471,8 +1369,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1482,14 +1378,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1497,8 +1394,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1508,22 +1403,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1533,18 +1426,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1554,36 +1444,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1595,8 +1486,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1635,22 +1524,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1690,12 +1579,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1735,17 +1623,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1785,11 +1672,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1797,12 +1685,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1841,21 +1728,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1894,20 +1783,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1946,15 +1834,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1962,7 +1851,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1970,8 +1858,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1979,22 +1865,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2002,18 +1885,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2023,12 +1905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -2037,16 +1919,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2061,4 +1943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index b7415b57..8b399cf6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -369,7 +329,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 99d0cc4b..5941632c 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,7 +351,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -394,15 +359,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -416,15 +380,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -433,7 +398,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,7 +409,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -487,18 +452,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.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = - (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -523,104 +491,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -638,23 +599,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -662,15 +621,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -686,9 +646,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -707,8 +667,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -721,39 +680,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -761,8 +719,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -810,8 +767,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -830,13 +785,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -845,8 +800,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -865,14 +818,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -880,8 +834,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -900,22 +852,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -934,18 +884,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -964,16 +911,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -981,8 +928,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1001,13 +946,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1016,8 +961,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1036,14 +979,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1051,8 +995,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1071,22 +1013,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1105,18 +1045,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1135,16 +1072,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1152,8 +1089,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1169,13 +1104,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1184,8 +1119,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1201,14 +1134,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1216,8 +1150,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1233,22 +1165,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1264,18 +1194,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1291,16 +1218,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1308,8 +1235,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1323,13 +1248,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1338,8 +1263,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1353,14 +1276,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1368,8 +1292,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1383,22 +1305,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1412,18 +1332,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1437,23 +1354,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1477,16 +1394,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,4 +1418,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index b6a7c17e..c7550993 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 178ff60f..2a3aa36d 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -607,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -668,8 +604,7 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = - new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -698,39 +633,38 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); } else { super.mergeFrom(other); return this; @@ -782,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -846,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -855,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -866,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -879,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -893,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -914,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -924,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -942,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -958,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -976,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1040,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1049,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1060,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1073,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1087,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1108,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1118,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1136,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1152,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1170,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1234,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1243,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1254,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1267,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1281,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1302,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1312,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1330,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1346,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1364,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1376,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1392,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1429,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1439,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1450,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1464,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1476,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1498,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1509,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1528,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1545,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1570,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1584,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1608,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 9b943d64..0151d1c3 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..13ed882f
--- /dev/null
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,359 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." +
+      "proto\022\032google.cloud.tasks.v2beta3\032\034googl" +
+      "e/api/annotations.proto\032\027google/api/clie" +
+      "nt.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032&google/clo" +
+      "ud/tasks/v2beta3/queue.proto\032%google/clo" +
+      "ud/tasks/v2beta3/task.proto\032\036google/iam/" +
+      "v1/iam_policy.proto\032\032google/iam/v1/polic" +
+      "y.proto\032\033google/protobuf/empty.proto\032 go" +
+      "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" +
+      "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" +
+      "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" +
+      "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" +
+      " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" +
+      "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" +
+      "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" +
+      "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" +
+      "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" +
+      "udtasks.googleapis.com/Queue\0222\n\tread_mas" +
+      "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" +
+      "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" +
+      "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" +
+      "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" +
+      "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" +
+      "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" +
+      "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" +
+      "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" +
+      "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" +
+      "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" +
+      "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" +
+      "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" +
+      "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" +
+      ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" +
+      "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" +
+      "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" +
+      " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" +
+      "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" +
+      "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" +
+      "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" +
+      "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" +
+      "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" +
+      "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" +
+      " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" +
+      "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" +
+      "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" +
+      "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" +
+      "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" +
+      "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" +
+      "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" +
+      "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " +
+      "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" +
+      "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" +
+      "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" +
+      "response_view\030\002 \001(\0162%.google.cloud.tasks" +
+      ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" +
+      "stQueues\022-.google.cloud.tasks.v2beta3.Li" +
+      "stQueuesRequest\032..google.cloud.tasks.v2b" +
+      "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" +
+      "3/{parent=projects/*/locations/*}/queues" +
+      "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" +
+      "sks.v2beta3.GetQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}\332" +
+      "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" +
+      "sks.v2beta3.CreateQueueRequest\032!.google." +
+      "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" +
+      "ta3/{parent=projects/*/locations/*}/queu" +
+      "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" +
+      "\022..google.cloud.tasks.v2beta3.UpdateQueu" +
+      "eRequest\032!.google.cloud.tasks.v2beta3.Qu" +
+      "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" +
+      "ts/*/locations/*/queues/*}:\005queue\332A\021queu" +
+      "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" +
+      "loud.tasks.v2beta3.DeleteQueueRequest\032\026." +
+      "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" +
+      "{name=projects/*/locations/*/queues/*}\332A" +
+      "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" +
+      "s.v2beta3.PurgeQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}:" +
+      "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." +
+      "cloud.tasks.v2beta3.PauseQueueRequest\032!." +
+      "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" +
+      "\"5/v2beta3/{name=projects/*/locations/*/" +
+      "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" +
+      "e\022..google.cloud.tasks.v2beta3.ResumeQue" +
+      "ueRequest\032!.google.cloud.tasks.v2beta3.Q" +
+      "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" +
+      "locations/*/queues/*}:resume:\001*\332A\004name\022\241" +
+      "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" +
+      "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" +
+      "\002E\"@/v2beta3/{resource=projects/*/locati" +
+      "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" +
+      "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" +
+      "amPolicyRequest\032\025.google.iam.v1.Policy\"]" +
+      "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" +
+      "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" +
+      "source,policy\022\323\001\n\022TestIamPermissions\022(.g" +
+      "oogle.iam.v1.TestIamPermissionsRequest\032)" +
+      ".google.iam.v1.TestIamPermissionsRespons" +
+      "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" +
+      "/locations/*/queues/*}:testIamPermission" +
+      "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" +
+      "s\022,.google.cloud.tasks.v2beta3.ListTasks" +
+      "Request\032-.google.cloud.tasks.v2beta3.Lis" +
+      "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" +
+      "=projects/*/locations/*/queues/*}/tasks\332" +
+      "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" +
+      "s.v2beta3.GetTaskRequest\032 .google.cloud." +
+      "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" +
+      "me=projects/*/locations/*/queues/*/tasks" +
+      "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" +
+      ".tasks.v2beta3.CreateTaskRequest\032 .googl" +
+      "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" +
+      "eta3/{parent=projects/*/locations/*/queu" +
+      "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" +
+      "ask\022-.google.cloud.tasks.v2beta3.DeleteT" +
+      "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" +
+      "\0029*7/v2beta3/{name=projects/*/locations/" +
+      "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" +
+      ".google.cloud.tasks.v2beta3.RunTaskReque" +
+      "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" +
+      "\344\223\002@\";/v2beta3/{name=projects/*/location" +
+      "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" +
+      "cloudtasks.googleapis.com\322A.https://www." +
+      "googleapis.com/auth/cloud-platformB|\n\036co" +
+      "m.google.cloud.tasks.v2beta3B\017CloudTasks" +
+      "ProtoP\001Z?google.golang.org/genproto/goog" +
+      "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" +
+      "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 91bd1d65..077c4486 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index ffa30b22..bdfd7d8a 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 07fe1038..57aa86ab 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 3dca068b..73c305d4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 1be3d865..2e413529 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..bf2e07c9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 23d7d974..637d4d5f 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..ba3331fa --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 22f86ccf..6deb7db0 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = - (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = - new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index f8c79d47..334e474b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index 4042daaa..af9e4c2e 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = - (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = - new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 702b5ba7..5ffdb3d2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index f6dd90bc..56c8b354 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 55ca2408..14c36862 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,82 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -177,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -237,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -273,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -282,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -302,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -321,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -380,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -408,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -484,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -521,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -535,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -545,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -555,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -567,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -575,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -587,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -614,15 +555,13 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -634,7 +573,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -642,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -655,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -683,13 +616,12 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -701,16 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -732,32 +668,31 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -767,25 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other =
-        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -828,104 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -953,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class,
-              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -997,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1022,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1043,8 +976,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result =
-          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1074,39 +1006,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1122,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1170,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1189,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1202,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1217,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1230,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1245,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1258,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1285,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1308,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1325,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1391,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1440,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1468,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1511,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1544,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1582,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1594,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1626,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1667,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1707,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1724,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1732,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1742,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1766,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, - com.google.cloud.tasks.v2beta3.OAuthToken.Builder, - com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1794,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1802,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1814,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1832,8 +1717,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1859,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1884,8 +1765,6 @@ public Builder setOauthToken(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1899,14 +1778,10 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1922,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1952,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1969,8 +1840,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1994,8 +1863,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2008,38 +1875,27 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OAuthToken,
-                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2051,7 +1907,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2059,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2072,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2090,8 +1942,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2118,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2132,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2143,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2159,14 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2182,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2213,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2231,8 +2070,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2257,8 +2094,6 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2272,32 +2107,26 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OidcToken,
-                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2307,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2321,16 +2150,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2345,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index a6be1e13..991d24a9 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -363,6 +314,5 @@ java.lang.String getHeadersOrDefault(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
-      getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
 }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index c08ca2b9..460c3866 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 7d932d07..3ccd40a9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index fdbf3dd3..d9110937 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index ac61989f..a68c11f8 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 44cfe1ea..8d36fc75 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = - (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = - new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index 39f56488..bfa87b6b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 09f702ea..287e34ea 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = - (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = - new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 8b9ed0ad..397e65c5 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f4b3966c..f0cf2430 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,16 +250,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.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = - (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -414,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class,
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -479,8 +445,7 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result =
-          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -491,39 +456,38 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -571,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -582,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -597,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -608,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -623,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -659,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -680,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -697,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -706,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -721,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -730,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -754,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -777,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -796,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -822,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -836,16 +780,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 6409320a..1cf564b9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index d8ef8572..b1147293 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -415,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class,
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -439,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +447,7 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result =
-          new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -492,39 +458,38 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -583,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -598,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -609,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -624,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -635,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -660,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -681,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -698,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -721,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -744,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -818,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -832,16 +777,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 639b960f..79aa78a6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index ddd155f1..b5b6cc63 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a8a5bac9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 845fa92d..90f288ff 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -50,15 +32,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,25 +60,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,39 +85,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -146,8 +123,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -159,7 +134,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -168,15 +142,14 @@ 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; } } /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -188,15 +161,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -205,7 +179,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +190,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -234,7 +208,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -247,16 +222,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.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = - (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,104 +253,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** - * - * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -387,23 +356,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class,
-              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -411,15 +378,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -452,8 +420,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result =
-          new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -464,39 +431,38 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,14 +509,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -558,39 +521,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -598,8 +555,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -611,13 +566,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -626,8 +581,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -639,14 +592,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -654,8 +608,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -667,22 +619,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -694,18 +644,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -717,23 +664,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -743,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -757,16 +704,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -781,4 +728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index cfae720a..d6d53ffb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -50,13 +29,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -68,8 +44,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 78c3ead3..7e739e04 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..e41738e8 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 45c41179..3156e1bf 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -47,15 +29,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,163 +57,136 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+            if (queueTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-              if (queueTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
-              }
-              queueType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-                queueType_ = subBuilder.buildPartial();
-              }
-              queueTypeCase_ = 3;
-              break;
+            queueType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+              queueType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            queueTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          case 82:
-            {
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 82: {
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
+
+            type_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -238,41 +194,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class,
-            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -281,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,8 +277,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -342,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -358,8 +299,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -370,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -390,6 +327,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -414,51 +352,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -476,18 +413,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -496,8 +430,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * A pull queue.
      * 
@@ -506,8 +438,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PULL(1), /** - * - * *
      * A push queue.
      * 
@@ -519,8 +449,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -529,8 +457,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A pull queue.
      * 
@@ -539,8 +465,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PULL_VALUE = 1; /** - * - * *
      * A push queue.
      * 
@@ -549,6 +473,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUSH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -573,49 +498,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return PULL; - case 2: - return PUSH; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return PULL; + case 2: return PUSH; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -634,15 +559,12 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; - public enum QueueTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; - private QueueTypeCase(int value) { this.value = value; } @@ -658,29 +580,25 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: - return APP_ENGINE_HTTP_QUEUE; - case 0: - return QUEUETYPE_NOT_SET; - default: - return null; + case 3: return APP_ENGINE_HTTP_QUEUE; + case 0: return QUEUETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueueTypeCase getQueueTypeCase() { - return QueueTypeCase.forNumber(queueTypeCase_); + public QueueTypeCase + getQueueTypeCase() { + return QueueTypeCase.forNumber( + queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -701,7 +619,6 @@ public QueueTypeCase getQueueTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -710,15 +627,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -739,15 +655,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 { @@ -757,8 +674,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -766,7 +681,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -774,8 +688,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -783,19 +695,16 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -805,10 +714,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-      getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -816,8 +724,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -842,7 +748,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -850,8 +755,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -876,18 +779,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -921,8 +819,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -936,7 +832,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -944,8 +839,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -959,18 +852,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -993,8 +881,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1005,16 +891,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1025,22 +907,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1053,7 +930,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -1061,8 +937,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1075,7 +949,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ @java.lang.Override @@ -1083,8 +956,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1106,8 +977,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1122,7 +991,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1130,8 +998,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1146,7 +1012,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ @java.lang.Override @@ -1154,8 +1019,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1179,8 +1042,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1193,7 +1054,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1201,8 +1061,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1215,18 +1073,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1248,17 +1101,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1266,48 +1115,36 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1315,19 +1152,13 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLog
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1335,35 +1166,25 @@ public int getTypeValue() {
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1371,18 +1192,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1390,17 +1206,13 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1408,7 +1220,6 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1420,7 +1231,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_); } @@ -1467,38 +1279,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getStackdriverLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1508,48 +1326,57 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig() + .equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue() + .equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1612,103 +1439,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1717,23 +1538,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class,
-              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1741,15 +1560,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1807,9 +1627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1883,39 +1703,38 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1956,15 +1775,13 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE:
-          {
-            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-            break;
-          }
-        case QUEUETYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_QUEUE: {
+          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+          break;
+        }
+        case QUEUETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1994,12 +1811,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-
-    public QueueTypeCase getQueueTypeCase() {
-      return QueueTypeCase.forNumber(queueTypeCase_);
+    public QueueTypeCase
+        getQueueTypeCase() {
+      return QueueTypeCase.forNumber(
+          queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -2009,10 +1826,9 @@ public Builder clearQueueType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2033,13 +1849,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -2048,8 +1864,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2070,14 +1884,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 { @@ -2085,8 +1900,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2107,22 +1920,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2143,18 +1954,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2175,29 +1983,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> - appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2205,7 +2008,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2213,8 +2015,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2222,7 +2022,6 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2240,8 +2039,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2264,8 +2061,6 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2286,8 +2081,6 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2296,17 +2089,12 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3
-            && queueType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (queueTypeCase_ == 3 &&
+            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2322,8 +2110,6 @@ public Builder mergeAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2349,8 +2135,6 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2359,13 +2143,10 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
-        getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2375,8 +2156,7 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-        getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2387,8 +2167,6 @@ public Builder clearAppEngineHttpQueue() {
       }
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2398,39 +2176,28 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2455,15 +2222,12 @@ public Builder clearAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2488,21 +2252,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2542,8 +2301,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2581,8 +2338,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2612,9 +2367,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2626,8 +2379,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2665,8 +2416,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2693,13 +2442,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2729,14 +2476,11 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2763,17 +2507,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RateLimits,
-                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2781,13 +2522,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2801,15 +2537,12 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2823,21 +2556,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2866,8 +2594,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2894,8 +2620,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2914,9 +2638,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2928,8 +2650,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2956,8 +2676,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2973,13 +2691,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2998,14 +2714,11 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -3021,17 +2734,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RetryConfig,
-                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -3039,8 +2749,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3051,16 +2759,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3071,19 +2775,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3094,19 +2795,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3117,7 +2814,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3125,14 +2821,12 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3143,11 +2837,10 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3155,13 +2848,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3174,15 +2862,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3195,7 +2880,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3206,8 +2890,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3235,8 +2917,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3250,7 +2930,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3261,8 +2942,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3280,7 +2959,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3292,8 +2971,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3319,8 +2996,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3335,13 +3010,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3359,12 +3032,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3379,17 +3051,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3397,13 +3066,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3418,15 +3082,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3441,7 +3102,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3452,8 +3112,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3483,8 +3141,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3500,7 +3156,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3511,8 +3168,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3532,7 +3187,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3544,8 +3199,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3573,8 +3226,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3591,13 +3242,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3617,12 +3266,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3639,17 +3287,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3657,13 +3302,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3676,15 +3316,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3697,21 +3334,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3739,8 +3371,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3754,7 +3384,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3765,8 +3396,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3784,9 +3413,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3798,8 +3425,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3825,8 +3450,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3841,13 +3464,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3865,14 +3486,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3887,17 +3505,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3905,64 +3520,47 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder setStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3976,16 +3574,13 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3999,26 +3594,19 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder mergeStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( - stackdriverLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -4030,16 +3618,13 @@ public Builder mergeStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -4053,69 +3638,54 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder - getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), getParentForChildren(), isClean()); + stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), + getParentForChildren(), + isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -4123,8 +3693,6 @@ public Builder clearStackdriverLoggingConfig() { private int type_ = 0; /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4132,19 +3700,13 @@ public Builder clearStackdriverLoggingConfig() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4152,22 +3714,17 @@ public int getTypeValue() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @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; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4175,22 +3732,16 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4198,10 +3749,7 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -4209,14 +3757,12 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4224,14 +3770,11 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -4239,64 +3782,45 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> - statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -4312,19 +3836,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -4335,25 +3856,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -4365,17 +3880,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -4389,77 +3900,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4469,12 +3964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -4483,16 +3978,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4507,4 +4002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index cc0ff52c..f85deb76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -88,13 +65,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -102,13 +76,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -120,8 +91,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -146,13 +115,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -177,13 +143,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -212,8 +175,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -227,13 +188,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -247,13 +205,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -271,8 +226,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -283,13 +236,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -300,14 +250,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -320,13 +267,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -339,13 +283,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -362,8 +303,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -378,13 +317,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -399,13 +335,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -424,8 +357,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -438,13 +369,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -457,13 +385,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -480,53 +405,39 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -534,16 +445,11 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -551,58 +457,41 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..f0dac04f --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta3_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { "SamplingRatio", }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 978a5c1e..6897da96 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = - (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = - new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 2ae27c91..8a467ec6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index dad67fef..ef9eedb4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -140,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -151,8 +130,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,18 +244,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.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = - (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -305,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -413,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class,
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -437,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +448,7 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result =
-          new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -493,39 +460,38 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -588,7 +552,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -596,8 +559,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -610,19 +571,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -635,20 +593,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -680,7 +635,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -688,8 +642,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -721,19 +673,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -765,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -793,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -801,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -817,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -844,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -865,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -879,16 +818,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index 98144881..bcb32f76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -38,14 +20,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 7b20829a..6a69efc9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b0f21f71 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index dda88aec..c721a7bb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,28 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = - (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -576,104 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -681,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class,
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -705,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -764,8 +709,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result =
-          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -791,39 +735,38 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -894,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -902,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -918,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -945,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -957,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -981,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1007,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1054,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1074,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1085,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1109,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1123,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1155,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1176,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1205,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1232,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1250,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1272,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1296,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1341,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1359,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1370,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1392,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1404,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1434,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1453,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1480,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1505,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1523,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1545,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1569,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1614,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1632,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1643,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1665,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1677,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1707,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1726,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1753,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1778,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1823,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1831,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1858,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1896,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1917,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1931,16 +1770,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 29a36745..16a45225 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7d1959..8e7077ce 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = - (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 1bb6a94d..019bc5fa 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d80fab89..d34e7cc2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,114 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -305,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -329,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -368,8 +337,7 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -379,39 +347,38 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -443,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -454,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -466,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -474,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -484,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -505,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -526,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -540,16 +496,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -564,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index ed2107ed..2a730069 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..a196a359 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,170 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 03927a4e..24c1dc31 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,168 +54,142 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 48: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 56: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 48: { + + dispatchCount_ = input.readInt32(); + break; + } + case 56: { + + responseCount_ = input.readInt32(); + break; + } + case 66: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - case 80: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 80: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + case 90: { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 11; - break; + payloadTypeCase_ = 11; + break; + } + case 98: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 98: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - break; + break; + } + case 106: { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); } - case 106: - { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 13; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + payloadTypeCase_ = 13; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -240,31 +197,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -276,10 +229,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -288,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -304,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -320,8 +268,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -330,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -346,8 +290,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -359,6 +301,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -383,49 +326,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -444,17 +387,14 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -470,33 +410,27 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 11:
-          return HTTP_REQUEST;
-        case 13:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 11: return HTTP_REQUEST;
+        case 13: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -518,7 +452,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -527,15 +460,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -557,15 +489,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 { @@ -575,15 +508,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -591,27 +521,22 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -620,25 +545,21 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -646,27 +567,22 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -677,15 +593,13 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -697,7 +611,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -705,8 +618,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -718,19 +629,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -746,7 +654,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -754,8 +662,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -763,7 +669,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -771,8 +676,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -780,18 +683,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -808,15 +706,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -824,15 +719,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -840,8 +732,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -857,8 +747,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -889,7 +777,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -897,8 +784,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -929,18 +814,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -980,8 +860,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -989,7 +867,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -1000,14 +877,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -1018,8 +892,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1027,7 +899,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -1035,8 +906,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1044,18 +913,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1072,14 +936,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -1087,25 +948,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1120,43 +974,33 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1168,7 +1012,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_); } @@ -1218,43 +1063,48 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1264,47 +1114,58 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -1369,126 +1230,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1496,15 +1349,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1552,9 +1406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1633,39 +1487,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); } else { super.mergeFrom(other); return this; @@ -1703,25 +1556,21 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1751,12 +1600,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1766,10 +1615,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1791,13 +1639,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1806,8 +1654,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1829,14 +1675,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 { @@ -1844,8 +1691,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1867,22 +1712,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1904,18 +1747,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1937,36 +1777,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1974,15 +1808,12 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -2000,8 +1831,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2009,8 +1838,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2024,8 +1852,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2045,8 +1871,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2054,17 +1878,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2080,8 +1899,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2106,8 +1923,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2115,13 +1930,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2130,8 +1942,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2142,8 +1953,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2152,45 +1961,33 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2198,15 +1995,12 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override @@ -2224,8 +2018,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2247,8 +2039,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2268,8 +2058,6 @@ public Builder setHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2279,13 +2067,10 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11
-            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 11 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2301,8 +2086,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2327,8 +2110,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2340,8 +2121,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2361,8 +2140,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2371,38 +2148,27 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.HttpRequest,
-                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2414,7 +2180,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2422,8 +2187,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2435,7 +2198,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override @@ -2453,8 +2215,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2481,8 +2241,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2507,8 +2265,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2523,13 +2279,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13
-            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 13 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2545,8 +2298,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2576,8 +2327,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2594,8 +2343,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2620,8 +2367,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2635,39 +2380,28 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.PullMessage,
-                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2675,15 +2409,12 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2691,21 +2422,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2728,8 +2454,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2738,7 +2462,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2749,8 +2474,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2763,9 +2486,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2777,8 +2498,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2799,8 +2518,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2810,13 +2527,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2829,14 +2544,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2846,17 +2558,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2864,49 +2573,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2928,8 +2624,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2937,7 +2631,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2948,8 +2643,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2961,7 +2654,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;
         }
@@ -2973,8 +2666,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2994,8 +2685,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3004,13 +2693,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3022,14 +2709,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3038,17 +2722,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -3056,13 +2737,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3093,15 +2769,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3132,21 +2805,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3192,8 +2860,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3225,7 +2891,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -3236,8 +2903,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3273,9 +2938,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -3287,8 +2950,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3332,8 +2993,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3366,13 +3025,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3408,14 +3065,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3448,26 +3102,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3475,7 +3124,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -3483,8 +3131,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3492,19 +3138,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3512,26 +3155,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -3539,36 +3178,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3576,13 +3209,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3590,15 +3218,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3606,21 +3231,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3643,8 +3263,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3653,7 +3271,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3664,8 +3283,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3678,9 +3295,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3692,8 +3307,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3714,8 +3327,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3725,13 +3336,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3744,14 +3353,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3761,17 +3367,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.Attempt,
-                com.google.cloud.tasks.v2beta3.Attempt.Builder,
-                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3779,47 +3382,34 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3840,15 +3430,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3859,8 +3448,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bui return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3871,9 +3458,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3885,8 +3470,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3905,8 +3488,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3914,13 +3495,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3931,14 +3510,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3946,17 +3522,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3964,69 +3537,55 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The view to set. * @return This builder for chaining. */ @@ -4034,32 +3593,29 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -4069,12 +3625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -4083,16 +3639,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4107,4 +3663,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 674d4ee6..9eec5440 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -157,8 +120,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -170,13 +131,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -188,13 +146,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -210,8 +165,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -219,13 +172,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -233,13 +183,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -251,34 +198,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -289,8 +228,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -321,13 +258,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -358,13 +292,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -399,8 +330,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -408,27 +337,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -436,13 +359,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -450,13 +370,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -468,32 +385,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -503,28 +412,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..cb10c09a --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 0721b5ef..635a81c9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 3e6869a9..33a0c511 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index afa82be4..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,378 +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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
-          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
-          + "tations.proto\032\027google/api/client.proto\032\037"
-          + "google/api/field_behavior.proto\032\031google/"
-          + "api/resource.proto\032!google/cloud/tasks/v"
-          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
-          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
-          + "\032google/iam/v1/policy.proto\032\033google/prot"
-          + "obuf/empty.proto\032 google/protobuf/field_"
-          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
-          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
-          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
-          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
-          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
-          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
-          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
-          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
-          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
-          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
-          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
-          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
-          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
-          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
-          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
-          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
-          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
-          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
-          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
-          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
-          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
-          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
-          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
-          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
-          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
-          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
-          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
-          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
-          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
-          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
-          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
-          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
-          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
-          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
-          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
-          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
-          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
-          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
-          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
-          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
-          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
-          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
-          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
-          + ".google.cloud.tasks.v2.ListQueuesRespons"
-          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
-          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
-          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
-          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
-          + "name=projects/*/locations/*/queues/*}\332A\004"
-          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
-          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
-          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
-          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
-          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
-          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
-          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
-          + "e=projects/*/locations/*/queues/*}:\005queu"
-          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
-          + "google.cloud.tasks.v2.DeleteQueueRequest"
-          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
-          + "ame=projects/*/locations/*/queues/*}\332A\004n"
-          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
-          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
-          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
-          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
-          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
-          + "useQueueRequest\032\034.google.cloud.tasks.v2."
-          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
-          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
-          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
-          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
-          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
-          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
-          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
-          + "/{resource=projects/*/locations/*/queues"
-          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
-          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
-          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
-          + "{resource=projects/*/locations/*/queues/"
-          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
-          + "\022TestIamPermissions\022(.google.iam.v1.Test"
-          + "IamPermissionsRequest\032).google.iam.v1.Te"
-          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
-          + "esource=projects/*/locations/*/queues/*}"
-          + ":testIamPermissions:\001*\332A\024resource,permis"
-          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
-          + ".v2.ListTasksRequest\032(.google.cloud.task"
-          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
-          + "ent=projects/*/locations/*/queues/*}/tas"
-          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
-          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
-          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
-          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
-          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
-          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
-          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
-          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
-          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
-          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
-          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
-          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
-          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
-          + "v2/{name=projects/*/locations/*/queues/*"
-          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
-          + "oogleapis.com\322A.https://www.googleapis.c"
-          + "om/auth/cloud-platformBr\n\031com.google.clo"
-          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
-          + "olang.org/genproto/googleapis/cloud/task"
-          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-              com.google.iam.v1.IamPolicyProto.getDescriptor(),
-              com.google.iam.v1.PolicyProto.getDescriptor(),
-              com.google.protobuf.EmptyProto.getDescriptor(),
-              com.google.protobuf.FieldMaskProto.getDescriptor(),
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Filter", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-            new java.lang.String[] {
-              "Queues", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Queue",
-            });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Queue", "UpdateMask",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "ResponseView", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-            new java.lang.String[] {
-              "Tasks", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Task", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c38f781e..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 0e7ab341..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 4c78cd4a..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index bd81aed6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index c701bf8c..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index db5e00c6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,146 +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/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" - + "gle.cloud.tasks.v2\032\031google/api/resource." - + "proto\032\"google/cloud/tasks/v2/target.prot" - + "o\032\036google/protobuf/duration.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" - + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" - + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" - + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" - + "loud.tasks.v2.RateLimits\0228\n\014retry_config" - + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" - + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" - + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022S\n\032stackdriver_log" - + "ging_config\030\t \001(\0132/.google.cloud.tasks.v" - + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" - + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" - + "eapis.com/Queue\0226projects/{project}/loca" - + "tions/{location}/queues/{queue}\"j\n\nRateL" - + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" - + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" - + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" - + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" - + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" - + "backoff\030\003 \001(\0132\031.google.protobuf.Duration" - + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." - + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" - + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " - + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineRoutingOverride", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "StackdriverLoggingConfig", - }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 0b0b032e..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 38185289..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,177 +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/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" - + "ogle.cloud.tasks.v2\032\037google/api/field_be" - + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" - + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" - + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" - + "/.google.cloud.tasks.v2.HttpRequest.Head" - + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " - + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" - + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" - + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" - + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" - + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" - + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." - + "google.cloud.tasks.v2.AppEngineRouting\022\024" - + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." - + "google.cloud.tasks.v2.AppEngineHttpReque" - + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" - + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" - + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " - + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" - + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" - + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" - + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" - + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" - + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" - + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index ed8a2c9b..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,129 +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/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" - + "le.cloud.tasks.v2\032\031google/api/resource.p" - + "roto\032\"google/cloud/tasks/v2/target.proto" - + "\032\036google/protobuf/duration.proto\032\037google" - + "/protobuf/timestamp.proto\032\027google/rpc/st" - + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" - + "_engine_http_request\030\002 \001(\0132+.google.clou" - + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" - + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." - + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" - + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" - + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" - + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" - + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." - + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" - + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" - + ".googleapis.com/Task\022Cprojects/{project}" - + "/locations/{location}/queues/{queue}/tas" - + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" - + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" - + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" - + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "MessageType", - }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index e0f1f9cc..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,496 +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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta2/queue.proto\032%google/clo" - + "ud/tasks/v2beta2/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\036google/protobuf/duration.proto\032" - + "\033google/protobuf/empty.proto\032 google/pro" - + "tobuf/field_mask.proto\032\037google/protobuf/" - + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" - + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" - + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" - + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" - + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" - + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" - + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" - + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" - + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" - + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" - + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." - + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" - + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" - + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" - + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" - + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" - + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" - + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" - + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" - + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" - + "loudtasks.googleapis.com/Task\022<\n\rrespons" - + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" - + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" - + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" - + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" - + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" - + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" - + "\0162%.google.cloud.tasks.v2beta2.Task.View" - + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" - + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" - + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" - + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" - + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" - + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" - + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" - + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" - + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" - + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" - + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" - + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" - + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" - + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" - + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" - + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" - + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" - + "sks.googleapis.com/Task\0226\n\rschedule_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" - + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" - + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" - + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" - + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" - + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" - + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" - + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" - + "tasks.googleapis.com/Task\022<\n\rresponse_vi" - + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" - + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." - + "google.cloud.tasks.v2beta2.ListQueuesReq" - + "uest\032..google.cloud.tasks.v2beta2.ListQu" - + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" - + "rojects/*/locations/*}/queues\332A\006parent\022\232" - + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" - + ".GetQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" - + "CreateQueue\022..google.cloud.tasks.v2beta2" - + ".CreateQueueRequest\032!.google.cloud.tasks" - + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" - + "=projects/*/locations/*}/queues:\005queue\332A" - + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" - + "loud.tasks.v2beta2.UpdateQueueRequest\032!." - + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" - + "25/v2beta2/{queue.name=projects/*/locati" - + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" - + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." - + "v2beta2.DeleteQueueRequest\032\026.google.prot" - + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" - + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" - + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" - + "urgeQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" - + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" - + ".v2beta2.PauseQueueRequest\032!.google.clou" - + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" - + "{name=projects/*/locations/*/queues/*}:p" - + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." - + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" - + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" - + ";\"6/v2beta2/{name=projects/*/locations/*" - + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" - + "licy\022\".google.iam.v1.GetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" - + "2/{resource=projects/*/locations/*/queue" - + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" - + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" - + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" - + "beta2/{resource=projects/*/locations/*/q" - + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" - + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" - + "1.TestIamPermissionsRequest\032).google.iam" - + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" - + "/v2beta2/{resource=projects/*/locations/" - + "*/queues/*}:testIamPermissions:\001*\332A\024reso" - + "urce,permissions\022\262\001\n\tListTasks\022,.google." - + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" - + "oogle.cloud.tasks.v2beta2.ListTasksRespo" - + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" - + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" - + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" - + "etTaskRequest\032 .google.cloud.tasks.v2bet" - + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" - + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" - + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" - + "ta2.CreateTaskRequest\032 .google.cloud.tas" - + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" - + "t=projects/*/locations/*/queues/*}/tasks" - + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" - + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" - + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" - + "2/{name=projects/*/locations/*/queues/*/" - + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." - + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." - + "google.cloud.tasks.v2beta2.LeaseTasksRes" - + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" - + "/*/locations/*/queues/*}/tasks:lease:\001*\332" - + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" - + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" - + "edgeTaskRequest\032\026.google.protobuf.Empty\"" - + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" - + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" - + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" - + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" - + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" - + "\344\223\002G\"B/v2beta2/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" - + "me,schedule_time,lease_duration\022\304\001\n\013Canc" - + "elLease\022..google.cloud.tasks.v2beta2.Can" - + "celLeaseRequest\032 .google.cloud.tasks.v2b" - + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" - + "ts/*/locations/*/queues/*/tasks/*}:cance" - + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" - + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" - + "equest\032 .google.cloud.tasks.v2beta2.Task" - + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" - + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" - + "M\312A\031cloudtasks.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB|" - + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" - + "asksProtoP\001Z?google.golang.org/genproto/" - + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" - + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", - }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", - }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "LeaseDuration", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 92e8ff23..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index f57510e9..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a65e03f3..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 86bed8df..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,24 +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/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 395d587e..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 39c576fa..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,178 +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/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" - + "\022\032google.cloud.tasks.v2beta2\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" - + "2/.google.cloud.tasks.v2beta2.AppEngineH" - + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" - + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" - + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." - + "google.cloud.tasks.v2beta2.RetryConfig\0226" - + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" - + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" - + "2\031.google.protobuf.Duration\0220\n\rtombstone" - + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" - + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" - + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" - + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" - + "/Queue\0226projects/{project}/locations/{lo" - + "cation}/queues/{queue}B\r\n\013target_type\"k\n" - + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" - + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" - + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" - + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" - + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" - + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" - + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" - + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" - + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" - + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" - + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" - + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" - + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" - + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" - + "ueProtoP\001Z?google.golang.org/genproto/go" - + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpTarget", - "PullTarget", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "Stats", - "TargetType", - }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { - "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", - }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", - "UnlimitedAttempts", - "MaxRetryDuration", - "MinBackoff", - "MaxBackoff", - "MaxDoublings", - "NumAttempts", - }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 7e18051a..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 2ec60f36..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" - + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" - + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" - + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" - + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" - + "ing_override\030\001 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" - + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." - + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" - + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\022\024\n\014relative_url" - + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" - + "asks.v2beta2.AppEngineHttpRequest.Header" - + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" - + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" - + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" - + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" - + "eta2B\013TargetProtoP\001Z?google.golang.org/g" - + "enproto/googleapis/cloud/tasks/v2beta2;t" - + "asksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index a0c50640..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,143 +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/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" - + "\032google.cloud.tasks.v2beta2\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a2/target.proto\032\037google/protobuf/timesta" - + "mp.proto\032\027google/rpc/status.proto\032\034googl" - + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" - + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" - + "0.google.cloud.tasks.v2beta2.AppEngineHt" - + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" - + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" - + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" - + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" - + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" - + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" - + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" - + "apis.com/Task\022Cprojects/{project}/locati" - + "ons/{location}/queues/{queue}/tasks/{tas" - + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" - + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" - + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" - + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" - + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" - + ").google.cloud.tasks.v2beta2.AttemptStat" - + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " - + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" - + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" - + ".google.rpc.StatusBn\n\036com.google.cloud.t" - + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "Status", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { - "AttemptDispatchCount", - "AttemptResponseCount", - "FirstAttemptStatus", - "LastAttemptStatus", - }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index f9f9d0eb..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,388 +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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta3\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta3/queue.proto\032%google/clo" - + "ud/tasks/v2beta3/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\033google/protobuf/empty.proto\032 go" - + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" - + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" - + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" - + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" - + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" - + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" - + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" - + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" - + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" - + "udtasks.googleapis.com/Queue\0222\n\tread_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" - + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" - + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" - + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" - + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" - + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" - + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" - + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" - + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" - + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" - + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" - + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" - + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" - + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" - + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" - + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" - + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" - + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" - + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" - + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" - + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" - + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" - + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" - + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" - + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" - + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " - + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" - + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" - + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" - + "response_view\030\002 \001(\0162%.google.cloud.tasks" - + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" - + "stQueues\022-.google.cloud.tasks.v2beta3.Li" - + "stQueuesRequest\032..google.cloud.tasks.v2b" - + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" - + "3/{parent=projects/*/locations/*}/queues" - + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" - + "sks.v2beta3.GetQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" - + "/{name=projects/*/locations/*/queues/*}\332" - + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" - + "sks.v2beta3.CreateQueueRequest\032!.google." - + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" - + "ta3/{parent=projects/*/locations/*}/queu" - + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" - + "\022..google.cloud.tasks.v2beta3.UpdateQueu" - + "eRequest\032!.google.cloud.tasks.v2beta3.Qu" - + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" - + "ts/*/locations/*/queues/*}:\005queue\332A\021queu" - + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" - + "loud.tasks.v2beta3.DeleteQueueRequest\032\026." - + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" - + "{name=projects/*/locations/*/queues/*}\332A" - + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" - + "s.v2beta3.PurgeQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" - + "/{name=projects/*/locations/*/queues/*}:" - + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." - + "cloud.tasks.v2beta3.PauseQueueRequest\032!." - + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" - + "\"5/v2beta3/{name=projects/*/locations/*/" - + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" - + "e\022..google.cloud.tasks.v2beta3.ResumeQue" - + "ueRequest\032!.google.cloud.tasks.v2beta3.Q" - + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" - + "locations/*/queues/*}:resume:\001*\332A\004name\022\241" - + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" - + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" - + "\002E\"@/v2beta3/{resource=projects/*/locati" - + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" - + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" - + "amPolicyRequest\032\025.google.iam.v1.Policy\"]" - + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" - + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" - + "source,policy\022\323\001\n\022TestIamPermissions\022(.g" - + "oogle.iam.v1.TestIamPermissionsRequest\032)" - + ".google.iam.v1.TestIamPermissionsRespons" - + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" - + "/locations/*/queues/*}:testIamPermission" - + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" - + "s\022,.google.cloud.tasks.v2beta3.ListTasks" - + "Request\032-.google.cloud.tasks.v2beta3.Lis" - + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" - + "=projects/*/locations/*/queues/*}/tasks\332" - + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" - + "s.v2beta3.GetTaskRequest\032 .google.cloud." - + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" - + "me=projects/*/locations/*/queues/*/tasks" - + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" - + ".tasks.v2beta3.CreateTaskRequest\032 .googl" - + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" - + "eta3/{parent=projects/*/locations/*/queu" - + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" - + "ask\022-.google.cloud.tasks.v2beta3.DeleteT" - + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" - + "\0029*7/v2beta3/{name=projects/*/locations/" - + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" - + ".google.cloud.tasks.v2beta3.RunTaskReque" - + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" - + "\344\223\002@\";/v2beta3/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" - + "cloudtasks.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB|\n\036co" - + "m.google.cloud.tasks.v2beta3B\017CloudTasks" - + "ProtoP\001Z?google.golang.org/genproto/goog" - + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" - + "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 1005fb1e..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 31df875a..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index d4fc3a55..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 5a994955..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index 6e32a784..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,188 +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/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta3_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" - + "\022\032google.cloud.tasks.v2beta3\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" - + "..google.cloud.tasks.v2beta3.AppEngineHt" - + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." - + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" - + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" - + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" - + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" - + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" - + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" - + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" - + "buf.Duration\022X\n\032stackdriver_logging_conf" - + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" - + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" - + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" - + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" - + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" - + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" - + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." - + "googleapis.com/Queue\0226projects/{project}" - + "/locations/{location}/queues/{queue}B\014\n\n" - + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" - + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " - + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" - + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" - + "max_retry_duration\030\002 \001(\0132\031.google.protob" - + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" - + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" - + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" - + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" - + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" - + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" - + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" - + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" - + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" - + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" - + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpQueue", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "StackdriverLoggingConfig", - "Type", - "Stats", - "QueueType", - }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 9a447341..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index b76a8c8c..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,201 +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/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" - + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" - + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" - + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" - + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" - + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" - + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" - + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" - + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" - + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" - + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" - + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" - + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" - + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" - + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" - + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" - + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" - + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" - + ".v2beta3.AppEngineHttpRequest.HeadersEnt" - + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" - + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" - + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" - + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" - + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" - + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" - + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" - + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" - + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" - + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" - + "google.golang.org/genproto/googleapis/cl" - + "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index e57410e2..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.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/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" - + "\032google.cloud.tasks.v2beta3\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a3/target.proto\032\036google/protobuf/duratio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\032\034google/api/an" - + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" - + "\n\027app_engine_http_request\030\003 \001(\01320.google" - + ".cloud.tasks.v2beta3.AppEngineHttpReques" - + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" - + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" - + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." - + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" - + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" - + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" - + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" - + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" - + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" - + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" - + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" - + "jects/{project}/locations/{location}/que" - + "ues/{queue}/tasks/{task}B\016\n\014payload_type" - + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" - + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." - + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" - + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" - + "proto/googleapis/cloud/tasks/v2beta3;tas" - + "ksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From ef16e623714127b24af366a302018521515035d8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 24 May 2022 01:01:16 +0000 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../cloud/tasks/v2/CloudTasksClient.java | 53 +- .../cloud/tasks/v2/CloudTasksSettings.java | 7 +- .../google/cloud/tasks/v2/gapic_metadata.json | 0 .../google/cloud/tasks/v2/package-info.java | 0 .../cloud/tasks/v2/stub/CloudTasksStub.java | 0 .../tasks/v2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../tasks/v2/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2beta2/CloudTasksClient.java | 69 +- .../tasks/v2beta2/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta2/gapic_metadata.json | 0 .../cloud/tasks/v2beta2/package-info.java | 0 .../tasks/v2beta2/stub/CloudTasksStub.java | 0 .../v2beta2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta2/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2beta3/CloudTasksClient.java | 53 +- .../tasks/v2beta3/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta3/gapic_metadata.json | 0 .../cloud/tasks/v2beta3/package-info.java | 0 .../tasks/v2beta3/stub/CloudTasksStub.java | 0 .../v2beta3/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta3/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2/CloudTasksClientTest.java | 0 .../google/cloud/tasks/v2/MockCloudTasks.java | 0 .../cloud/tasks/v2/MockCloudTasksImpl.java | 0 .../tasks/v2beta2/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta2/MockCloudTasks.java | 0 .../tasks/v2beta2/MockCloudTasksImpl.java | 0 .../tasks/v2beta3/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta3/MockCloudTasks.java | 0 .../tasks/v2beta3/MockCloudTasksImpl.java | 0 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 ++++++++----- .../cloud/tasks/v2beta2/CloudTasksGrpc.java | 1823 +++++++++++------ .../cloud/tasks/v2beta3/CloudTasksGrpc.java | 1473 ++++++++----- .../cloud/tasks/v2/CloudTasksProto.java | 349 ---- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 31 - .../tasks/v2/DeleteTaskRequestOrBuilder.java | 31 - .../tasks/v2/GetQueueRequestOrBuilder.java | 31 - .../tasks/v2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2/PurgeQueueRequestOrBuilder.java | 31 - .../com/google/cloud/tasks/v2/QueueProto.java | 122 -- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 31 - .../google/cloud/tasks/v2/TargetProto.java | 148 -- .../com/google/cloud/tasks/v2/TaskProto.java | 102 - .../cloud/tasks/v2beta2/CloudTasksProto.java | 462 ----- .../v2beta2/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta2/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2beta2/PullTargetOrBuilder.java | 9 - .../v2beta2/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/QueueProto.java | 140 -- .../v2beta2/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/TargetProto.java | 125 -- .../google/cloud/tasks/v2beta2/TaskProto.java | 116 -- .../cloud/tasks/v2beta3/CloudTasksProto.java | 359 ---- .../v2beta3/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta3/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta3/PauseQueueRequestOrBuilder.java | 31 - .../v2beta3/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/QueueProto.java | 154 -- .../v2beta3/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/TargetProto.java | 170 -- .../google/cloud/tasks/v2beta3/TaskProto.java | 108 - .../cloud/tasks/v2/AppEngineHttpRequest.java | 756 ++++--- .../v2/AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2/AppEngineRouting.java | 540 ++--- .../tasks/v2/AppEngineRoutingOrBuilder.java | 54 +- .../com/google/cloud/tasks/v2/Attempt.java | 616 ++++-- .../cloud/tasks/v2/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2/CloudTasksProto.java | 378 ++++ .../cloud/tasks/v2/CreateQueueRequest.java | 444 ++-- .../tasks/v2/CreateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2/CreateTaskRequest.java | 473 +++-- .../tasks/v2/CreateTaskRequestOrBuilder.java | 49 +- .../cloud/tasks/v2/DeleteQueueRequest.java | 329 +-- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/DeleteTaskRequest.java | 329 +-- .../tasks/v2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2/GetQueueRequest.java | 329 +-- .../tasks/v2/GetQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/GetTaskRequest.java | 382 ++-- .../tasks/v2/GetTaskRequestOrBuilder.java | 41 +- .../com/google/cloud/tasks/v2/HttpMethod.java | 117 +- .../google/cloud/tasks/v2/HttpRequest.java | 910 ++++---- .../cloud/tasks/v2/HttpRequestOrBuilder.java | 83 +- .../cloud/tasks/v2/ListQueuesRequest.java | 523 +++-- .../tasks/v2/ListQueuesRequestOrBuilder.java | 56 +- .../cloud/tasks/v2/ListQueuesResponse.java | 454 ++-- .../tasks/v2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2/ListTasksRequest.java | 498 +++-- .../tasks/v2/ListTasksRequestOrBuilder.java | 53 +- .../cloud/tasks/v2/ListTasksResponse.java | 454 ++-- .../tasks/v2/ListTasksResponseOrBuilder.java | 46 +- .../google/cloud/tasks/v2/LocationName.java | 0 .../com/google/cloud/tasks/v2/OAuthToken.java | 373 ++-- .../cloud/tasks/v2/OAuthTokenOrBuilder.java | 36 +- .../com/google/cloud/tasks/v2/OidcToken.java | 373 ++-- .../cloud/tasks/v2/OidcTokenOrBuilder.java | 36 +- .../cloud/tasks/v2/PauseQueueRequest.java | 329 +-- .../tasks/v2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/PurgeQueueRequest.java | 329 +-- .../tasks/v2/PurgeQueueRequestOrBuilder.java | 56 + .../java/com/google/cloud/tasks/v2/Queue.java | 934 ++++++--- .../com/google/cloud/tasks/v2/QueueName.java | 0 .../google/cloud/tasks/v2/QueueOrBuilder.java | 76 +- .../com/google/cloud/tasks/v2/QueueProto.java | 146 ++ .../com/google/cloud/tasks/v2/RateLimits.java | 326 +-- .../cloud/tasks/v2/RateLimitsOrBuilder.java | 27 +- .../cloud/tasks/v2/ResumeQueueRequest.java | 329 +-- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/RetryConfig.java | 579 ++++-- .../cloud/tasks/v2/RetryConfigOrBuilder.java | 48 +- .../google/cloud/tasks/v2/RunTaskRequest.java | 382 ++-- .../tasks/v2/RunTaskRequestOrBuilder.java | 41 +- .../tasks/v2/StackdriverLoggingConfig.java | 275 +-- .../v2/StackdriverLoggingConfigOrBuilder.java | 21 +- .../google/cloud/tasks/v2/TargetProto.java | 177 ++ .../java/com/google/cloud/tasks/v2/Task.java | 1234 +++++++---- .../com/google/cloud/tasks/v2/TaskName.java | 0 .../google/cloud/tasks/v2/TaskOrBuilder.java | 95 +- .../com/google/cloud/tasks/v2/TaskProto.java | 129 ++ .../cloud/tasks/v2/UpdateQueueRequest.java | 436 ++-- .../tasks/v2/UpdateQueueRequestOrBuilder.java | 34 +- .../google/cloud/tasks/v2/cloudtasks.proto | 0 .../proto/google/cloud/tasks/v2/queue.proto | 0 .../proto/google/cloud/tasks/v2/target.proto | 0 .../proto/google/cloud/tasks/v2/task.proto | 0 .../tasks/v2beta2/AcknowledgeTaskRequest.java | 478 +++-- .../AcknowledgeTaskRequestOrBuilder.java | 52 +- .../tasks/v2beta2/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../tasks/v2beta2/AppEngineHttpTarget.java | 352 ++-- .../v2beta2/AppEngineHttpTargetOrBuilder.java | 26 +- .../cloud/tasks/v2beta2/AppEngineRouting.java | 543 ++--- .../v2beta2/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/tasks/v2beta2/AttemptStatus.java | 623 ++++-- .../tasks/v2beta2/AttemptStatusOrBuilder.java | 50 +- .../tasks/v2beta2/CancelLeaseRequest.java | 531 +++-- .../v2beta2/CancelLeaseRequestOrBuilder.java | 58 +- .../cloud/tasks/v2beta2/CloudTasksProto.java | 496 +++++ .../tasks/v2beta2/CreateQueueRequest.java | 466 +++-- .../v2beta2/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta2/CreateTaskRequest.java | 517 +++-- .../v2beta2/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta2/DeleteQueueRequest.java | 339 +-- .../v2beta2/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta2/DeleteTaskRequest.java | 336 +-- .../v2beta2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/GetQueueRequest.java | 453 ++-- .../v2beta2/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta2/GetTaskRequest.java | 385 ++-- .../v2beta2/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/HttpMethod.java | 103 +- .../tasks/v2beta2/LeaseTasksRequest.java | 639 +++--- .../v2beta2/LeaseTasksRequestOrBuilder.java | 70 +- .../tasks/v2beta2/LeaseTasksResponse.java | 380 ++-- .../v2beta2/LeaseTasksResponseOrBuilder.java | 37 +- .../tasks/v2beta2/ListQueuesRequest.java | 652 +++--- .../v2beta2/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta2/ListQueuesResponse.java | 459 +++-- .../v2beta2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/ListTasksRequest.java | 501 +++-- .../v2beta2/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta2/ListTasksResponse.java | 456 +++-- .../v2beta2/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/LocationName.java | 0 .../tasks/v2beta2/PauseQueueRequest.java | 336 +-- .../v2beta2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/PullMessage.java | 337 +-- .../tasks/v2beta2/PullMessageOrBuilder.java | 30 +- .../cloud/tasks/v2beta2/PullTarget.java | 225 +- .../tasks/v2beta2/PullTargetOrBuilder.java | 24 + .../tasks/v2beta2/PurgeQueueRequest.java | 336 +-- .../v2beta2/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++++++---- .../google/cloud/tasks/v2beta2/QueueName.java | 0 .../cloud/tasks/v2beta2/QueueOrBuilder.java | 109 +- .../cloud/tasks/v2beta2/QueueProto.java | 178 ++ .../cloud/tasks/v2beta2/QueueStats.java | 552 +++-- .../tasks/v2beta2/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta2/RateLimits.java | 334 +-- .../tasks/v2beta2/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta2/RenewLeaseRequest.java | 664 +++--- .../v2beta2/RenewLeaseRequestOrBuilder.java | 75 +- .../tasks/v2beta2/ResumeQueueRequest.java | 339 +-- .../v2beta2/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/RetryConfig.java | 690 ++++--- .../tasks/v2beta2/RetryConfigOrBuilder.java | 57 +- .../cloud/tasks/v2beta2/RunTaskRequest.java | 385 ++-- .../v2beta2/RunTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/TargetProto.java | 145 ++ .../com/google/cloud/tasks/v2beta2/Task.java | 986 +++++---- .../google/cloud/tasks/v2beta2/TaskName.java | 0 .../cloud/tasks/v2beta2/TaskOrBuilder.java | 73 +- .../google/cloud/tasks/v2beta2/TaskProto.java | 143 ++ .../cloud/tasks/v2beta2/TaskStatus.java | 487 +++-- .../tasks/v2beta2/TaskStatusOrBuilder.java | 40 +- .../tasks/v2beta2/UpdateQueueRequest.java | 458 +++-- .../v2beta2/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta2/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta2/queue.proto | 0 .../google/cloud/tasks/v2beta2/target.proto | 0 .../google/cloud/tasks/v2beta2/task.proto | 0 .../tasks/v2beta3/AppEngineHttpQueue.java | 352 ++-- .../v2beta3/AppEngineHttpQueueOrBuilder.java | 26 +- .../tasks/v2beta3/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2beta3/AppEngineRouting.java | 543 ++--- .../v2beta3/AppEngineRoutingOrBuilder.java | 54 +- .../google/cloud/tasks/v2beta3/Attempt.java | 616 ++++-- .../cloud/tasks/v2beta3/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2beta3/CloudTasksProto.java | 388 ++++ .../tasks/v2beta3/CreateQueueRequest.java | 466 +++-- .../v2beta3/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta3/CreateTaskRequest.java | 517 +++-- .../v2beta3/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta3/DeleteQueueRequest.java | 339 +-- .../v2beta3/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta3/DeleteTaskRequest.java | 336 +-- .../v2beta3/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/GetQueueRequest.java | 453 ++-- .../v2beta3/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta3/GetTaskRequest.java | 385 ++-- .../v2beta3/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta3/HttpMethod.java | 117 +- .../cloud/tasks/v2beta3/HttpRequest.java | 919 +++++---- .../tasks/v2beta3/HttpRequestOrBuilder.java | 86 +- .../tasks/v2beta3/ListQueuesRequest.java | 652 +++--- .../v2beta3/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta3/ListQueuesResponse.java | 459 +++-- .../v2beta3/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/ListTasksRequest.java | 501 +++-- .../v2beta3/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta3/ListTasksResponse.java | 456 +++-- .../v2beta3/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/LocationName.java | 0 .../cloud/tasks/v2beta3/OAuthToken.java | 380 ++-- .../tasks/v2beta3/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/tasks/v2beta3/OidcToken.java | 377 ++-- .../tasks/v2beta3/OidcTokenOrBuilder.java | 36 +- .../tasks/v2beta3/PauseQueueRequest.java | 336 +-- .../v2beta3/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/PullMessage.java | 337 +-- .../tasks/v2beta3/PullMessageOrBuilder.java | 30 +- .../tasks/v2beta3/PurgeQueueRequest.java | 336 +-- .../v2beta3/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++++++----- .../google/cloud/tasks/v2beta3/QueueName.java | 0 .../cloud/tasks/v2beta3/QueueOrBuilder.java | 135 +- .../cloud/tasks/v2beta3/QueueProto.java | 188 ++ .../cloud/tasks/v2beta3/QueueStats.java | 552 +++-- .../tasks/v2beta3/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta3/RateLimits.java | 333 +-- .../tasks/v2beta3/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta3/ResumeQueueRequest.java | 339 +-- .../v2beta3/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/RetryConfig.java | 583 ++++-- .../tasks/v2beta3/RetryConfigOrBuilder.java | 48 +- .../cloud/tasks/v2beta3/RunTaskRequest.java | 385 ++-- .../v2beta3/RunTaskRequestOrBuilder.java | 41 +- .../v2beta3/StackdriverLoggingConfig.java | 278 +-- .../StackdriverLoggingConfigOrBuilder.java | 21 +- .../cloud/tasks/v2beta3/TargetProto.java | 201 ++ .../com/google/cloud/tasks/v2beta3/Task.java | 1360 +++++++----- .../google/cloud/tasks/v2beta3/TaskName.java | 0 .../cloud/tasks/v2beta3/TaskOrBuilder.java | 103 +- .../google/cloud/tasks/v2beta3/TaskProto.java | 136 ++ .../tasks/v2beta3/UpdateQueueRequest.java | 458 +++-- .../v2beta3/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta3/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta3/queue.proto | 0 .../google/cloud/tasks/v2beta3/target.proto | 0 .../google/cloud/tasks/v2beta3/task.proto | 0 275 files changed, 37513 insertions(+), 22545 deletions(-) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2/grpc-google-cloud-tasks-v2 => grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2 => grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3 => grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%) delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%) diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java index 22a3902f..15796d95 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1177,7 +1177,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1212,7 +1212,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1244,7 +1244,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1269,6 +1269,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1278,7 +1282,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1314,7 +1318,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1357,7 +1361,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1397,7 +1401,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1423,6 +1427,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1435,7 +1443,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1572,6 +1580,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1890,7 +1903,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1949,7 +1962,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2005,7 +2018,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2037,7 +2050,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2385,7 +2398,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2432,7 +2448,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index f9df6d64..433cfa77 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index 3b96cadf..53e34f71 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java index 7d1310a2..b0a36eed 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java @@ -53,7 +53,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 239d176e..6a45f134 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -67,13 +67,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1190,7 +1190,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1225,7 +1225,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1257,7 +1257,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1282,6 +1282,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1291,7 +1295,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1327,7 +1331,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1370,7 +1374,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1410,7 +1414,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1436,6 +1440,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1448,7 +1456,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1585,6 +1593,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1903,9 +1916,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1964,9 +1977,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2022,9 +2035,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2056,9 +2069,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3082,7 +3095,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3129,7 +3145,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 43abe6a2..3f9c9be6 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index 164dabdd..d01966cb 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -85,9 +85,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index a8b16134..1218f4ab 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -59,7 +59,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index 274a2fd0..837b3784 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -65,13 +65,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1188,7 +1188,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1223,7 +1223,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1255,7 +1255,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1280,6 +1280,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1289,7 +1293,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1325,7 +1329,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1368,7 +1372,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1408,7 +1412,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1434,6 +1438,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1446,7 +1454,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1583,6 +1591,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1901,7 +1914,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1960,7 +1973,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2016,7 +2029,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2048,7 +2061,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2400,7 +2413,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2447,7 +2463,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 8f3c8302..4b670b0a 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index 65ea119f..d7342118 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index 00217250..3538397e 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -54,7 +54,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index e774c26c..7ce92264 100644 --- a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,733 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListQueuesRequest,
+            com.google.cloud.tasks.v2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +776,16 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +801,16 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +824,16 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +841,15 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +859,15 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +882,16 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +902,16 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -723,12 +923,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +942,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -754,34 +963,43 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1007,15 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1038,167 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1212,18 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1239,18 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1264,18 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1283,16 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1302,16 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1326,18 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1348,18 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1371,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1392,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1156,37 +1415,46 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1462,16 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1494,8 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1503,16 @@ public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1523,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1565,15 @@ public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQue
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1589,15 @@ public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.Cre
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1611,15 @@ public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.Upd
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1627,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQue
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1645,15 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.Purg
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1668,15 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.Paus
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1693,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1712,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1723,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1435,34 +1742,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1786,15 @@ public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.Creat
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1817,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTask
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask( + com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1887,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1911,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1933,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1949,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1967,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +1990,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2009,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2029,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2047,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1720,37 +2067,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2119,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2143,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2167,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2185,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2283,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2327,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
similarity index 58%
rename from owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
index 2dea9a7e..4471b15a 100644
--- a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta2;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,700 +36,928 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListTasksRequest,
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-              .build();
+          CloudTasksGrpc.getLeaseTasksMethod =
+              getLeaseTasksMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+                      .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+        getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-              .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod =
+              getAcknowledgeTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+                      .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-              .build();
+          CloudTasksGrpc.getRenewLeaseMethod =
+              getRenewLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+                      .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-              .build();
+          CloudTasksGrpc.getCancelLeaseMethod =
+              getCancelLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+                      .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -726,12 +971,16 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -747,12 +996,16 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -766,12 +1019,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -779,12 +1036,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -794,12 +1054,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -814,12 +1077,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -830,12 +1097,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -847,12 +1118,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -862,12 +1137,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -878,22 +1158,29 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -902,12 +1189,15 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -915,12 +1205,15 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -943,12 +1236,16 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -963,12 +1260,16 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeTaskMethod(), responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -976,12 +1277,15 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -990,12 +1294,16 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelLeaseMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1020,199 +1328,193 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1226,13 +1528,18 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1248,13 +1555,18 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1268,13 +1580,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1282,13 +1599,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1298,13 +1618,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1319,13 +1642,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1336,13 +1664,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1354,13 +1687,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1370,13 +1708,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1387,24 +1731,31 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1413,13 +1764,16 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1427,13 +1781,16 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1456,13 +1813,17 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1477,13 +1838,18 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1491,13 +1857,16 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1506,13 +1875,18 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1537,7 +1911,8 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1545,14 +1920,16 @@ public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1563,27 +1940,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1597,12 +1982,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1618,12 +2006,15 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1637,12 +2028,15 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1650,12 +2044,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1665,12 +2062,15 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1685,12 +2085,15 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1707,6 +2110,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1724,6 +2129,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1733,12 +2140,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1749,22 +2159,28 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1773,12 +2189,15 @@ public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,12 +2205,15 @@ public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1814,12 +2236,15 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.Delet
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1834,12 +2259,15 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.c
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1847,12 +2275,15 @@ public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1861,12 +2292,15 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2b
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1891,54 +2325,63 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1952,13 +2395,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1974,13 +2419,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1994,13 +2441,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2008,13 +2457,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2024,13 +2475,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2045,13 +2498,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2062,13 +2517,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2080,13 +2537,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2096,13 +2555,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2113,24 +2575,29 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2139,13 +2606,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTask(
-        com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2160,6 +2629,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2182,13 +2653,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
-        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2203,13 +2677,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
-        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2217,13 +2693,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture renewLease(
-        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2232,13 +2710,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture cancelLease(
-        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2263,8 +2743,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2291,11 +2771,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2309,83 +2789,107 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.leaseTasks(
+              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask(
+              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease(
+              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease(
+              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2404,8 +2908,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2447,29 +2952,31 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getLeaseTasksMethod())
-              .addMethod(getAcknowledgeTaskMethod())
-              .addMethod(getRenewLeaseMethod())
-              .addMethod(getCancelLeaseMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getLeaseTasksMethod())
+                      .addMethod(getAcknowledgeTaskMethod())
+                      .addMethod(getRenewLeaseMethod())
+                      .addMethod(getCancelLeaseMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
similarity index 57%
rename from owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
index 86628889..f661a208 100644
--- a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta3;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,755 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListTasksRequest,
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +798,16 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +823,16 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +846,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +863,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +881,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +904,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +924,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -723,12 +945,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +964,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -754,34 +985,44 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1030,15 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1061,168 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1236,18 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1263,18 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1288,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1307,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1326,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1350,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1372,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1395,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1416,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1156,37 +1439,47 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1487,16 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1519,8 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1528,16 @@ public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1548,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1590,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1614,15 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1636,15 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1652,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1670,15 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1693,15 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1718,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1737,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1748,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1435,34 +1767,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1811,15 @@ public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1842,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.Delet
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta3.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1912,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1936,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1958,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1974,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1992,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +2015,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2034,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2054,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2072,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1720,37 +2092,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2144,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2168,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2192,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2210,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2308,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2352,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index ff95f089..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,349 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
-      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
-      "tations.proto\032\027google/api/client.proto\032\037" +
-      "google/api/field_behavior.proto\032\031google/" +
-      "api/resource.proto\032!google/cloud/tasks/v" +
-      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
-      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
-      "\032google/iam/v1/policy.proto\032\033google/prot" +
-      "obuf/empty.proto\032 google/protobuf/field_" +
-      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
-      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
-      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
-      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
-      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
-      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
-      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
-      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
-      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
-      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
-      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
-      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
-      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
-      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
-      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
-      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
-      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
-      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
-      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
-      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
-      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
-      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
-      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
-      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
-      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
-      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
-      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
-      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
-      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
-      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
-      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
-      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
-      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
-      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
-      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
-      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
-      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
-      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
-      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
-      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
-      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
-      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
-      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
-      ".google.cloud.tasks.v2.ListQueuesRespons" +
-      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
-      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
-      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
-      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
-      "name=projects/*/locations/*/queues/*}\332A\004" +
-      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
-      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
-      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
-      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
-      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
-      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
-      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
-      "e=projects/*/locations/*/queues/*}:\005queu" +
-      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
-      "google.cloud.tasks.v2.DeleteQueueRequest" +
-      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
-      "ame=projects/*/locations/*/queues/*}\332A\004n" +
-      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
-      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
-      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
-      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
-      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
-      "useQueueRequest\032\034.google.cloud.tasks.v2." +
-      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
-      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
-      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
-      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
-      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
-      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
-      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
-      "/{resource=projects/*/locations/*/queues" +
-      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
-      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
-      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
-      "{resource=projects/*/locations/*/queues/" +
-      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
-      "\022TestIamPermissions\022(.google.iam.v1.Test" +
-      "IamPermissionsRequest\032).google.iam.v1.Te" +
-      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
-      "esource=projects/*/locations/*/queues/*}" +
-      ":testIamPermissions:\001*\332A\024resource,permis" +
-      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
-      ".v2.ListTasksRequest\032(.google.cloud.task" +
-      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
-      "ent=projects/*/locations/*/queues/*}/tas" +
-      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
-      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
-      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
-      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
-      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
-      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
-      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
-      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
-      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
-      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
-      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
-      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
-      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
-      "v2/{name=projects/*/locations/*/queues/*" +
-      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
-      "oogleapis.com\322A.https://www.googleapis.c" +
-      "om/auth/cloud-platformBr\n\031com.google.clo" +
-      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
-      "olang.org/genproto/googleapis/cloud/task" +
-      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-          com.google.iam.v1.IamPolicyProto.getDescriptor(),
-          com.google.iam.v1.PolicyProto.getDescriptor(),
-          com.google.protobuf.EmptyProto.getDescriptor(),
-          com.google.protobuf.FieldMaskProto.getDescriptor(),
-        });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-        new java.lang.String[] { "Queues", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-        new java.lang.String[] { "Parent", "Queue", });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-        new java.lang.String[] { "Queue", "UpdateMask", });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-        new java.lang.String[] { "Tasks", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-        new java.lang.String[] { "Parent", "Task", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c9b6525f..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
+++ /dev/null
@@ -1,31 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 29a262ab..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 7612fed1..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index 8258f7dd..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 9b02b696..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index dac47c22..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" + - "gle.cloud.tasks.v2\032\031google/api/resource." + - "proto\032\"google/cloud/tasks/v2/target.prot" + - "o\032\036google/protobuf/duration.proto\032\037googl" + - "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" + - "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" + - "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" + - "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" + - "loud.tasks.v2.RateLimits\0228\n\014retry_config" + - "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" + - "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" + - "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022S\n\032stackdriver_log" + - "ging_config\030\t \001(\0132/.google.cloud.tasks.v" + - "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" + - "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" + - "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" + - "eapis.com/Queue\0226projects/{project}/loca" + - "tions/{location}/queues/{queue}\"j\n\nRateL" + - "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" + - "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" + - "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" + - "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" + - "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" + - "backoff\030\003 \001(\0132\031.google.protobuf.Duration" + - "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." + - "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" + - "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " + - "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b3d492e7..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 3e829b7e..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" + - "ogle.cloud.tasks.v2\032\037google/api/field_be" + - "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + - "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + - "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + - "/.google.cloud.tasks.v2.HttpRequest.Head" + - "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + - "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + - "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + - "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + - "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + - "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + - "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + - "google.cloud.tasks.v2.AppEngineRouting\022\024" + - "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + - "google.cloud.tasks.v2.AppEngineHttpReque" + - "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + - "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + - "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + - "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + - "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + - "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + - "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + - "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + - "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + - "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index 7bbc90b9..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,102 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + - "le.cloud.tasks.v2\032\031google/api/resource.p" + - "roto\032\"google/cloud/tasks/v2/target.proto" + - "\032\036google/protobuf/duration.proto\032\037google" + - "/protobuf/timestamp.proto\032\027google/rpc/st" + - "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + - "_engine_http_request\030\002 \001(\0132+.google.clou" + - "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + - "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + - "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + - "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + - ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + - "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + - "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + - "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + - "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + - ".googleapis.com/Task\022Cprojects/{project}" + - "/locations/{location}/queues/{queue}/tas" + - "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + - "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + - ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + - "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + - "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + - "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index 8ad64891..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,462 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta2/queue.proto\032%google/clo" + - "ud/tasks/v2beta2/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\036google/protobuf/duration.proto\032" + - "\033google/protobuf/empty.proto\032 google/pro" + - "tobuf/field_mask.proto\032\037google/protobuf/" + - "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + - "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + - "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + - "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + - "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + - "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + - "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + - "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + - "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + - "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + - "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + - "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + - "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + - "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + - "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + - "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + - "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + - "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + - "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + - "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + - "loudtasks.googleapis.com/Task\022<\n\rrespons" + - "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + - "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + - "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + - "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + - "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + - "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + - "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + - "\0162%.google.cloud.tasks.v2beta2.Task.View" + - "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + - "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + - "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + - "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + - "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + - "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + - "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + - "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + - "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + - "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + - "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + - " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + - "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + - "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + - "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + - "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + - "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + - "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + - "sks.googleapis.com/Task\0226\n\rschedule_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + - "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + - "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + - ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + - "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + - "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + - "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + - "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + - "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + - "tasks.googleapis.com/Task\022<\n\rresponse_vi" + - "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + - "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + - "google.cloud.tasks.v2beta2.ListQueuesReq" + - "uest\032..google.cloud.tasks.v2beta2.ListQu" + - "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + - "rojects/*/locations/*}/queues\332A\006parent\022\232" + - "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + - ".GetQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + - "CreateQueue\022..google.cloud.tasks.v2beta2" + - ".CreateQueueRequest\032!.google.cloud.tasks" + - ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + - "=projects/*/locations/*}/queues:\005queue\332A" + - "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + - "loud.tasks.v2beta2.UpdateQueueRequest\032!." + - "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + - "25/v2beta2/{queue.name=projects/*/locati" + - "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + - "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + - "v2beta2.DeleteQueueRequest\032\026.google.prot" + - "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + - "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + - "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + - "urgeQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + - "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + - ".v2beta2.PauseQueueRequest\032!.google.clou" + - "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + - "{name=projects/*/locations/*/queues/*}:p" + - "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + - "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + - ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + - ";\"6/v2beta2/{name=projects/*/locations/*" + - "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + - "licy\022\".google.iam.v1.GetIamPolicyRequest" + - "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + - "2/{resource=projects/*/locations/*/queue" + - "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + - "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + - "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + - "beta2/{resource=projects/*/locations/*/q" + - "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + - "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + - "1.TestIamPermissionsRequest\032).google.iam" + - ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + - "/v2beta2/{resource=projects/*/locations/" + - "*/queues/*}:testIamPermissions:\001*\332A\024reso" + - "urce,permissions\022\262\001\n\tListTasks\022,.google." + - "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + - "oogle.cloud.tasks.v2beta2.ListTasksRespo" + - "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + - "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + - "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + - "etTaskRequest\032 .google.cloud.tasks.v2bet" + - "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + - "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + - "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + - "ta2.CreateTaskRequest\032 .google.cloud.tas" + - "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + - "t=projects/*/locations/*/queues/*}/tasks" + - ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + - "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + - "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + - "2/{name=projects/*/locations/*/queues/*/" + - "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + - "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + - "google.cloud.tasks.v2beta2.LeaseTasksRes" + - "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + - "/*/locations/*/queues/*}/tasks:lease:\001*\332" + - "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + - "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + - "edgeTaskRequest\032\026.google.protobuf.Empty\"" + - "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + - "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + - "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + - "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + - "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + - "\344\223\002G\"B/v2beta2/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + - "me,schedule_time,lease_duration\022\304\001\n\013Canc" + - "elLease\022..google.cloud.tasks.v2beta2.Can" + - "celLeaseRequest\032 .google.cloud.tasks.v2b" + - "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + - "ts/*/locations/*/queues/*/tasks/*}:cance" + - "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + - "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + - "equest\032 .google.cloud.tasks.v2beta2.Task" + - "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + - "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + - "M\312A\031cloudtasks.googleapis.com\322A.https://" + - "www.googleapis.com/auth/cloud-platformB|" + - "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + - "asksProtoP\001Z?google.golang.org/genproto/" + - "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + - "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { "Tasks", }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 4551caab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 2bc96dd8..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a1261f9a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 27ec888a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index cef23931..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 26d91fab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,140 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + - "\022\032google.cloud.tasks.v2beta2\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + - "2/.google.cloud.tasks.v2beta2.AppEngineH" + - "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + - "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + - "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + - "google.cloud.tasks.v2beta2.RetryConfig\0226" + - "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + - "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + - "2\031.google.protobuf.Duration\0220\n\rtombstone" + - "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + - "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + - "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + - "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + - "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + - "/Queue\0226projects/{project}/locations/{lo" + - "cation}/queues/{queue}B\r\n\013target_type\"k\n" + - "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + - "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + - "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + - "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + - "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + - " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + - "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + - ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + - "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + - "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + - "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + - "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + - "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + - "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + - "ueProtoP\001Z?google.golang.org/genproto/go" + - "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index a5db637f..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 02a91a15..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,125 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + - "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + - "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + - "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + - "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + - "ing_override\030\001 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + - "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + - "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + - "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\022\024\n\014relative_url" + - "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + - "asks.v2beta2.AppEngineHttpRequest.Header" + - "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + - "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + - "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + - "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + - "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + - "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + - "eta2B\013TargetProtoP\001Z?google.golang.org/g" + - "enproto/googleapis/cloud/tasks/v2beta2;t" + - "asksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index 8b3416a2..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + - "\032google.cloud.tasks.v2beta2\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a2/target.proto\032\037google/protobuf/timesta" + - "mp.proto\032\027google/rpc/status.proto\032\034googl" + - "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + - "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + - "0.google.cloud.tasks.v2beta2.AppEngineHt" + - "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + - "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + - "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + - "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + - "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + - ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + - "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + - "apis.com/Task\022Cprojects/{project}/locati" + - "ons/{location}/queues/{queue}/tasks/{tas" + - "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + - "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + - "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + - "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + - "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + - ").google.cloud.tasks.v2beta2.AttemptStat" + - "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + - "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + - "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + - ".google.rpc.StatusBn\n\036com.google.cloud.t" + - "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index 13ed882f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,359 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta3\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta3/queue.proto\032%google/clo" + - "ud/tasks/v2beta3/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\033google/protobuf/empty.proto\032 go" + - "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" + - "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" + - "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" + - "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" + - " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" + - "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" + - "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" + - "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" + - "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" + - "udtasks.googleapis.com/Queue\0222\n\tread_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" + - "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" + - "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" + - "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" + - "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" + - "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" + - "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" + - "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" + - "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" + - "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" + - "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" + - "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" + - ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" + - "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" + - "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" + - " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" + - "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" + - "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" + - "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" + - "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" + - "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" + - " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" + - "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" + - "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" + - "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" + - "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" + - "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" + - "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" + - "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " + - "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" + - "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" + - "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" + - "response_view\030\002 \001(\0162%.google.cloud.tasks" + - ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" + - "stQueues\022-.google.cloud.tasks.v2beta3.Li" + - "stQueuesRequest\032..google.cloud.tasks.v2b" + - "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" + - "3/{parent=projects/*/locations/*}/queues" + - "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" + - "sks.v2beta3.GetQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" + - "/{name=projects/*/locations/*/queues/*}\332" + - "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" + - "sks.v2beta3.CreateQueueRequest\032!.google." + - "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" + - "ta3/{parent=projects/*/locations/*}/queu" + - "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" + - "\022..google.cloud.tasks.v2beta3.UpdateQueu" + - "eRequest\032!.google.cloud.tasks.v2beta3.Qu" + - "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" + - "ts/*/locations/*/queues/*}:\005queue\332A\021queu" + - "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" + - "loud.tasks.v2beta3.DeleteQueueRequest\032\026." + - "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" + - "{name=projects/*/locations/*/queues/*}\332A" + - "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" + - "s.v2beta3.PurgeQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" + - "/{name=projects/*/locations/*/queues/*}:" + - "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." + - "cloud.tasks.v2beta3.PauseQueueRequest\032!." + - "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" + - "\"5/v2beta3/{name=projects/*/locations/*/" + - "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" + - "e\022..google.cloud.tasks.v2beta3.ResumeQue" + - "ueRequest\032!.google.cloud.tasks.v2beta3.Q" + - "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" + - "locations/*/queues/*}:resume:\001*\332A\004name\022\241" + - "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" + - "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" + - "\002E\"@/v2beta3/{resource=projects/*/locati" + - "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" + - "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" + - "amPolicyRequest\032\025.google.iam.v1.Policy\"]" + - "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" + - "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" + - "source,policy\022\323\001\n\022TestIamPermissions\022(.g" + - "oogle.iam.v1.TestIamPermissionsRequest\032)" + - ".google.iam.v1.TestIamPermissionsRespons" + - "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" + - "/locations/*/queues/*}:testIamPermission" + - "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" + - "s\022,.google.cloud.tasks.v2beta3.ListTasks" + - "Request\032-.google.cloud.tasks.v2beta3.Lis" + - "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" + - "=projects/*/locations/*/queues/*}/tasks\332" + - "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" + - "s.v2beta3.GetTaskRequest\032 .google.cloud." + - "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" + - "me=projects/*/locations/*/queues/*/tasks" + - "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" + - ".tasks.v2beta3.CreateTaskRequest\032 .googl" + - "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" + - "eta3/{parent=projects/*/locations/*/queu" + - "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" + - "ask\022-.google.cloud.tasks.v2beta3.DeleteT" + - "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" + - "\0029*7/v2beta3/{name=projects/*/locations/" + - "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" + - ".google.cloud.tasks.v2beta3.RunTaskReque" + - "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" + - "\344\223\002@\";/v2beta3/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" + - "cloudtasks.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB|\n\036co" + - "m.google.cloud.tasks.v2beta3B\017CloudTasks" + - "ProtoP\001Z?google.golang.org/genproto/goog" + - "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" + - "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index bf2e07c9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index ba3331fa..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a8a5bac9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index e41738e8..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index f0dac04f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,154 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta3_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + - "\022\032google.cloud.tasks.v2beta3\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + - "..google.cloud.tasks.v2beta3.AppEngineHt" + - "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + - "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + - "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + - "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + - "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + - "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + - "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + - "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + - "buf.Duration\022X\n\032stackdriver_logging_conf" + - "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + - "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + - "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + - "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + - "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + - "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + - "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + - "googleapis.com/Queue\0226projects/{project}" + - "/locations/{location}/queues/{queue}B\014\n\n" + - "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + - "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + - "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + - "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + - "max_retry_duration\030\002 \001(\0132\031.google.protob" + - "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + - "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + - "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + - "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + - "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + - "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + - "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + - "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + - "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + - "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + - "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b0f21f71..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index a196a359..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,170 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" + - "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + - "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + - "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + - "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + - "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + - "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + - ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + - "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + - "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + - "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + - "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + - "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + - "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + - "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + - "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + - "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + - "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + - ".v2beta3.AppEngineHttpRequest.HeadersEnt" + - "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + - "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + - "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + - "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + - "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + - "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + - "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + - "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + - "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + - "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + - "google.golang.org/genproto/googleapis/cl" + - "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index cb10c09a..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + - "\032google.cloud.tasks.v2beta3\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a3/target.proto\032\036google/protobuf/duratio" + - "n.proto\032\037google/protobuf/timestamp.proto" + - "\032\027google/rpc/status.proto\032\034google/api/an" + - "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + - "\n\027app_engine_http_request\030\003 \001(\01320.google" + - ".cloud.tasks.v2beta3.AppEngineHttpReques" + - "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + - ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + - "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + - "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + - "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + - ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + - "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + - "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + - "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + - "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + - "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + - "jects/{project}/locations/{location}/que" + - "ues/{queue}/tasks/{task}B\016\n\014payload_type" + - "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + - "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + - "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + - "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + - "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + - "proto/googleapis/cloud/tasks/v2beta3;tas" + - "ksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java index 6f52ba89..bb0cf20e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -58,15 +75,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -75,16 +93,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -104,56 +121,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,41 +184,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -230,17 +260,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -250,6 +285,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -257,6 +293,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -266,13 +304,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -291,6 +334,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -300,6 +345,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -308,14 +354,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -325,16 +372,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -343,24 +389,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -369,6 +414,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -407,22 +454,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -462,11 +509,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,16 +554,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -555,12 +603,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -570,6 +617,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -577,6 +626,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -585,6 +635,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -596,8 +647,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -607,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -626,29 +672,26 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -658,25 +701,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,97 +747,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -852,43 +899,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -896,16 +943,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,9 +972,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -947,7 +993,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -967,38 +1014,39 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1017,8 +1065,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1050,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1068,12 +1118,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1088,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1112,15 +1169,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1135,6 +1196,7 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1142,12 +1204,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1162,10 +1226,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1173,8 +1238,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1184,12 +1254,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1199,16 +1272,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1233,6 +1311,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1255,6 +1335,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1269,7 +1351,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1281,6 +1365,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1303,6 +1389,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1314,11 +1402,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1333,11 +1423,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1349,14 +1442,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1364,6 +1460,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1373,13 +1471,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1388,6 +1486,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1397,15 +1497,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1413,6 +1512,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1422,20 +1523,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1445,15 +1548,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1463,37 +1569,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1505,6 +1610,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1543,22 +1650,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1598,11 +1705,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1642,16 +1750,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1691,12 +1800,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1704,11 +1812,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1747,23 +1856,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1802,19 +1909,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1853,16 +1961,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1870,6 +1977,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1877,6 +1985,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1884,19 +1994,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1904,17 +2017,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1924,12 +2038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -1938,16 +2052,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1962,6 +2076,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index f388450e..e2387d20 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -22,10 +40,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,11 +61,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -54,10 +78,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -67,10 +94,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -84,6 +114,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -93,10 +125,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -106,12 +141,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -152,6 +189,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -190,15 +229,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -237,9 +274,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -280,11 +318,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -323,11 +363,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -335,6 +375,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 8600381d..2a3556d6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -26,15 +43,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -44,16 +62,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +89,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,29 +131,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -151,6 +176,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -159,14 +185,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -185,16 +212,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -205,6 +231,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -223,6 +251,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -231,14 +260,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -257,16 +287,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -277,6 +306,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -292,6 +323,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -300,14 +332,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,16 +356,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -343,6 +375,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -356,6 +390,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -364,14 +399,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,16 +421,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -403,6 +438,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +450,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -457,21 +492,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = + (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -496,97 +528,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -609,21 +648,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -631,16 +672,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,9 +696,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -677,7 +717,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -690,38 +731,39 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -777,6 +819,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -795,13 +839,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -810,6 +854,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -828,15 +874,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -844,6 +889,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -862,20 +909,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -894,15 +943,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -921,16 +973,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -938,6 +990,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -956,13 +1010,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -971,6 +1025,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -989,15 +1045,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1005,6 +1060,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1023,20 +1080,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1055,15 +1114,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1082,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1099,6 +1161,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1114,13 +1178,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1129,6 +1193,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1144,15 +1210,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1160,6 +1225,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1175,20 +1242,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1204,15 +1273,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1228,16 +1300,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1245,6 +1317,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1258,13 +1332,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1273,6 +1347,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1286,15 +1362,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1302,6 +1377,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1315,20 +1392,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1342,15 +1421,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1364,23 +1446,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1390,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1404,16 +1486,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,6 +1510,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 2ff33a52..9399556f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 17ae3099..95c7a78e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -542,16 +606,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -633,38 +696,39 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +780,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +844,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +853,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +864,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +877,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +891,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +912,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +922,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +940,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +956,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +974,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1038,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1047,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1058,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1071,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1085,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1106,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1116,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1134,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1150,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1168,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1232,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1241,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1252,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1265,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1279,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1300,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1310,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1328,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1344,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1362,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1374,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1390,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1427,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1437,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1448,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1462,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1474,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1496,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1507,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1526,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1543,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1568,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1404,16 +1582,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 9dab7f1d..3b1276d7 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..afa82be4
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,378 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
+          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
+          + "tations.proto\032\027google/api/client.proto\032\037"
+          + "google/api/field_behavior.proto\032\031google/"
+          + "api/resource.proto\032!google/cloud/tasks/v"
+          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
+          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
+          + "\032google/iam/v1/policy.proto\032\033google/prot"
+          + "obuf/empty.proto\032 google/protobuf/field_"
+          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
+          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
+          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
+          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
+          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
+          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
+          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
+          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
+          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
+          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
+          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
+          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
+          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
+          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
+          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
+          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
+          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
+          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
+          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
+          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
+          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
+          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
+          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
+          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
+          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
+          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
+          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
+          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
+          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
+          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
+          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
+          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
+          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
+          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
+          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
+          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
+          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
+          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
+          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
+          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
+          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
+          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
+          + ".google.cloud.tasks.v2.ListQueuesRespons"
+          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
+          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
+          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
+          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
+          + "name=projects/*/locations/*/queues/*}\332A\004"
+          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
+          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
+          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
+          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
+          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
+          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
+          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
+          + "e=projects/*/locations/*/queues/*}:\005queu"
+          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
+          + "google.cloud.tasks.v2.DeleteQueueRequest"
+          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
+          + "ame=projects/*/locations/*/queues/*}\332A\004n"
+          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
+          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
+          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
+          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
+          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
+          + "useQueueRequest\032\034.google.cloud.tasks.v2."
+          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
+          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
+          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
+          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
+          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
+          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
+          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
+          + "/{resource=projects/*/locations/*/queues"
+          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
+          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
+          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
+          + "{resource=projects/*/locations/*/queues/"
+          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
+          + "\022TestIamPermissions\022(.google.iam.v1.Test"
+          + "IamPermissionsRequest\032).google.iam.v1.Te"
+          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
+          + "esource=projects/*/locations/*/queues/*}"
+          + ":testIamPermissions:\001*\332A\024resource,permis"
+          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
+          + ".v2.ListTasksRequest\032(.google.cloud.task"
+          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
+          + "ent=projects/*/locations/*/queues/*}/tas"
+          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
+          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
+          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
+          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
+          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
+          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
+          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
+          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
+          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
+          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
+          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
+          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
+          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
+          + "v2/{name=projects/*/locations/*/queues/*"
+          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
+          + "oogleapis.com\322A.https://www.googleapis.c"
+          + "om/auth/cloud-platformBr\n\031com.google.clo"
+          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
+          + "olang.org/genproto/googleapis/cloud/task"
+          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 34472349..3e89e7dc 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +106,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +141,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +153,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +170,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +192,15 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +208,15 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -189,6 +224,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -202,6 +239,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +251,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -234,8 +271,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -245,19 +281,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other =
+        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,118 +316,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -400,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +489,8 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = + new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +505,39 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,6 +584,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +594,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +612,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +622,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +640,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +650,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +677,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +700,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +720,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -685,12 +761,15 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +785,17 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +806,21 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -748,12 +832,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +854,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -842,16 +940,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +964,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index e3735d95..b858724d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,33 +52,43 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 377596da..10c558c1 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,41 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +113,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +158,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +195,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -198,6 +229,7 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +237,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -237,6 +271,7 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ @java.lang.Override @@ -244,6 +279,8 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -285,6 +322,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -299,12 +338,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -319,15 +362,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +409,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +422,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = + (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +460,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -536,16 +588,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +635,8 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = + new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +652,39 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -681,20 +734,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +760,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +786,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +860,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -821,12 +899,15 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -859,6 +940,7 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -869,6 +951,8 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -916,6 +1000,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -949,8 +1035,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(
-        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -961,6 +1046,8 @@ public Builder setTask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -997,8 +1084,7 @@ public Builder setTask(
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ =
-            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1010,6 +1096,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1055,6 +1143,8 @@ public Builder clearTask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,11 +1179,13 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-      
+
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1131,11 +1223,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ?
-            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1170,14 +1263,17 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
+            com.google.cloud.tasks.v2.Task,
+            com.google.cloud.tasks.v2.Task.Builder,
+            com.google.cloud.tasks.v2.TaskOrBuilder>
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(),
-                getParentForChildren(),
-                isClean());
+        taskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Task,
+                com.google.cloud.tasks.v2.Task.Builder,
+                com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(), getParentForChildren(), isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1185,6 +1281,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
+     *
+     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1199,12 +1297,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1219,16 +1321,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1243,15 +1348,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1266,6 +1375,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1383,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1293,17 +1405,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1426,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1327,16 +1440,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1464,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 56bc4ce8..6ec3193b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -64,10 +91,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -100,10 +130,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -140,6 +173,8 @@ public interface CreateTaskRequestOrBuilder extends
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -154,10 +189,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -172,6 +210,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 2ffa4e95..40511a70 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c38f781e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index 5dad49b9..a62eb1e2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,19 +488,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -575,16 +632,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..0e7ab341 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index d0e5bb3b..2e4dccd2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = + (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = + new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..4c78cd4a --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 765d0a75..7e12b47b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,14 @@ 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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +302,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -386,16 +430,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +471,8 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = + new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +483,39 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +562,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +587,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +612,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +683,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -632,12 +699,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -652,16 +723,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -676,15 +750,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,6 +777,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +785,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -726,17 +807,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -760,16 +842,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +866,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index abab1ec9..2be6f178 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index a993ae79..951743a2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 9bda9f38..84b5b41e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,80 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +175,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class,
+            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +235,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +271,7 @@ public int getNumber() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -244,14 +280,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +300,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +319,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +378,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +406,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +449,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +482,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +519,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +533,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +543,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +553,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +565,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +573,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +585,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +612,15 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +632,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +640,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +653,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +681,13 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +699,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -669,30 +730,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +763,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.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +823,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +947,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class,
+              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -929,16 +991,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1016,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1037,8 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result =
+          new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1068,39 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1116,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1164,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1183,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1196,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1211,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1224,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1239,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1252,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1279,18 @@ public Builder setUrl(
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1302,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1319,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1385,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1434,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1462,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1505,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1538,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1576,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1588,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1620,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1661,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1701,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1718,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1726,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1736,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1760,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, + com.google.cloud.tasks.v2.OAuthToken.Builder, + com.google.cloud.tasks.v2.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1788,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1796,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1808,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1826,8 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1853,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1753,8 +1866,7 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(
-        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1765,6 +1877,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1892,13 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1914,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1944,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1961,8 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1986,8 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2000,38 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OAuthToken,
+            com.google.cloud.tasks.v2.OAuthToken.Builder,
+            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OAuthToken,
+                com.google.cloud.tasks.v2.OAuthToken.Builder,
+                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2043,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2051,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2064,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2082,8 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2110,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2124,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2135,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2151,13 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2173,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2204,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2222,8 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2248,8 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2263,32 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OidcToken,
+                com.google.cloud.tasks.v2.OidcToken.Builder,
+                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2298,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2150,16 +2312,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2336,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 2c4c0073..08196f38 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 3c80d743..9855ecb3 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -176,6 +207,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -184,14 +216,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -205,16 +238,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -225,6 +257,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -235,6 +269,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -245,6 +280,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -256,6 +293,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -264,14 +302,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -283,16 +322,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -301,6 +339,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -342,8 +380,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -356,21 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = + (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -395,118 +429,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -514,16 +557,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -560,7 +602,8 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = + new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -573,38 +616,39 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -659,19 +703,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -680,21 +728,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -702,57 +753,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -760,6 +824,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -773,13 +839,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -788,6 +854,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -801,15 +869,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -817,6 +884,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -830,20 +899,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -857,15 +928,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -879,23 +953,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -906,6 +982,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -913,6 +990,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -923,16 +1002,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -943,10 +1025,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -954,6 +1037,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -965,13 +1050,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -980,6 +1065,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -991,15 +1078,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1007,6 +1093,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1018,20 +1106,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1043,15 +1133,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1063,23 +1156,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +1182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1103,16 +1196,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,6 +1220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index f57a7c9d..e9d4dd0b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,8 +145,8 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 98bdc543..7adf33da 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +112,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +144,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +153,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +171,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +184,8 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +193,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +212,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +240,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = + (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,118 +331,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -419,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +506,8 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = + new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +527,39 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -544,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -584,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +663,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +679,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +695,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,14 +717,15 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -680,6 +736,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +758,15 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +780,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,14 +799,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -757,6 +818,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +830,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +838,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +857,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +876,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +921,8 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +930,47 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +978,8 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +990,13 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1005,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1044,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1070,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1092,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1044,16 +1132,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index a1063d15..c1eb25f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 83b5f61e..595074bb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = + (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = + new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -641,19 +691,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +716,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +741,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +812,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -756,12 +828,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -776,16 +852,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -800,15 +879,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -823,6 +906,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +914,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -850,17 +936,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +960,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +968,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +980,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1003,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1015,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1043,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1056,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1071,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1084,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1111,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1134,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1068,16 +1174,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1198,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index fc372464..16d5eabb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 6249890a..8bcc41f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +112,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +144,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +153,12 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List - getTasksOrBuilderList() { + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +170,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +183,8 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +192,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +210,7 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +219,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +283,7 @@ 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_); @@ -265,17 +296,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = + (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +328,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -417,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +503,8 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = + new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +524,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -542,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -582,21 +624,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +660,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +676,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +692,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,14 +714,15 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -678,6 +733,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +755,15 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +777,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,14 +796,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -755,6 +815,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +827,7 @@ 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); @@ -774,6 +835,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +854,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +873,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +918,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +927,46 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +974,8 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +985,13 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1000,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1011,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1037,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1062,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1083,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1037,16 +1123,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index 1a7b2758..f5568056 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index a34434b6..1d13e2be 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class,
+            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class,
+              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -403,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -456,38 +488,39 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +568,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +579,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +594,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +605,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +620,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +631,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +656,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +677,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +694,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +703,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +718,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +727,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +742,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +751,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +774,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +793,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -780,16 +833,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +857,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index b5bbd9b4..045cc073 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 94722f69..982de06e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class,
+            com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class,
+              com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -405,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -458,38 +490,39 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +581,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +596,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +607,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +622,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +633,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +658,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +679,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +696,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +719,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +742,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -777,16 +830,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index af8fcaf6..fb4dbd64 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 48f8d6af..756d588f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = + (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = + new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..bd81aed6 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index b5af3f22..ec7b1df4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..c701bf8c --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 68767a57..7bbe29d9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,90 +73,107 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+              name_ = s;
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 26:
+            {
+              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
-            }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 74: {
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -147,36 +181,40 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -185,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -199,6 +239,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -209,6 +251,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -230,6 +274,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -238,6 +284,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -252,6 +300,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -262,6 +312,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -280,7 +332,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -305,50 +356,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -368,6 +420,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -388,6 +442,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -396,14 +451,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -424,16 +480,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -444,6 +499,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -457,6 +514,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -464,6 +522,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -477,13 +537,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -499,13 +564,16 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -530,6 +598,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -537,6 +606,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -561,13 +632,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -601,6 +677,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -614,6 +692,7 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -621,6 +700,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -634,13 +715,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -663,6 +749,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -673,12 +761,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -689,17 +781,22 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -712,6 +809,7 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -719,6 +817,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -731,6 +831,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ @java.lang.Override @@ -738,6 +839,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -759,6 +862,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -766,6 +871,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -773,6 +879,8 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -780,13 +888,18 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -796,11 +909,13 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -812,8 +927,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -848,28 +962,26 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getStackdriverLoggingConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -879,40 +991,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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits()
-          .equals(other.getRateLimits())) return false;
+      if (!getRateLimits().equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig()
-          .equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime()
-          .equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig()
-          .equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -954,97 +1060,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1053,19 +1165,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1075,16 +1188,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1126,9 +1238,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1183,38 +1295,39 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1276,6 +1389,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1296,13 +1411,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; @@ -1311,6 +1426,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1331,15 +1448,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1347,6 +1463,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1367,20 +1485,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1401,15 +1521,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1430,16 +1553,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; @@ -1447,8 +1570,13 @@ public Builder setNameBytes( private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingOverrideBuilder_; /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1462,12 +1590,15 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1481,16 +1612,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1519,6 +1655,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1545,6 +1683,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1563,7 +1703,9 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1575,6 +1717,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1601,6 +1745,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1616,11 +1762,13 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1635,15 +1783,19 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1659,14 +1811,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1674,8 +1829,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1700,12 +1860,15 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1730,16 +1893,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1779,6 +1947,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1804,8 +1974,7 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(
-        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1816,6 +1985,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1845,7 +2016,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -1857,6 +2030,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1894,6 +2069,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1920,11 +2097,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1954,11 +2133,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1985,14 +2167,17 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RateLimits,
+                com.google.cloud.tasks.v2.RateLimits.Builder,
+                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2000,8 +2185,13 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2015,12 +2205,15 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2034,16 +2227,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2072,6 +2270,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2086,8 +2286,7 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(
-        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2098,6 +2297,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2116,7 +2317,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2128,6 +2331,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2154,6 +2359,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2169,11 +2376,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2192,11 +2401,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2212,14 +2424,17 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RetryConfig,
+                com.google.cloud.tasks.v2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2227,6 +2442,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2237,12 +2454,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2253,16 +2474,19 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2273,15 +2497,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2292,6 +2520,7 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2299,12 +2528,14 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2315,10 +2546,11 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2326,8 +2558,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2340,12 +2577,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2358,6 +2598,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2368,6 +2609,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2395,6 +2638,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2408,8 +2653,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2420,6 +2664,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2437,7 +2683,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2449,6 +2695,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2474,6 +2722,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2488,11 +2738,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2510,11 +2762,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2529,14 +2782,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2544,8 +2800,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2553,12 +2814,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2566,16 +2830,21 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2584,7 +2853,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2598,6 +2868,8 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriver
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2618,6 +2890,8 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2626,11 +2900,15 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
+                      stackdriverLoggingConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2642,6 +2920,8 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriv
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2662,6 +2942,8 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2670,12 +2952,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
-      
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
+        getStackdriverLoggingConfigBuilder() {
+
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2684,15 +2969,19 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriver
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+        getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null ?
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null
+            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
+            : stackdriverLoggingConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2702,21 +2991,24 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdrive
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(),
-                getParentForChildren(),
-                isClean());
+        stackdriverLoggingConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
+
     @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);
     }
 
@@ -2726,12 +3018,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -2740,16 +3032,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Queue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Queue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Queue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Queue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2764,6 +3056,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index 178b4959..b88abb66 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder extends
+public interface QueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -71,10 +94,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -88,10 +114,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -109,6 +138,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -133,10 +164,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -161,10 +195,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -193,6 +230,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -206,10 +245,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -223,10 +265,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -244,6 +289,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -254,10 +301,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -268,11 +318,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -285,10 +338,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -301,10 +357,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -321,6 +380,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -328,10 +389,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -339,10 +403,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -351,5 +418,6 @@ public interface QueueOrBuilder extends
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..db5e00c6
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+
+  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_tasks_v2_Queue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo"
+          + "gle.cloud.tasks.v2\032\031google/api/resource."
+          + "proto\032\"google/cloud/tasks/v2/target.prot"
+          + "o\032\036google/protobuf/duration.proto\032\037googl"
+          + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004"
+          + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid"
+          + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin"
+          + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c"
+          + "loud.tasks.v2.RateLimits\0228\n\014retry_config"
+          + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf"
+          + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v"
+          + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog"
+          + "le.protobuf.Timestamp\022S\n\032stackdriver_log"
+          + "ging_config\030\t \001(\0132/.google.cloud.tasks.v"
+          + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S"
+          + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE"
+          + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl"
+          + "eapis.com/Queue\0226projects/{project}/loca"
+          + "tions/{location}/queues/{queue}\"j\n\nRateL"
+          + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001"
+          + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre"
+          + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m"
+          + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030"
+          + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_"
+          + "backoff\030\003 \001(\0132\031.google.protobuf.Duration"
+          + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf."
+          + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack"
+          + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 "
+          + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP"
+          + "rotoP\001Z:google.golang.org/genproto/googl"
+          + "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_Queue_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "AppEngineRoutingOverride",
+              "RateLimits",
+              "RetryConfig",
+              "State",
+              "PurgeTime",
+              "StackdriverLoggingConfig",
+            });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+            new java.lang.String[] {
+              "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches",
+            });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+            new java.lang.String[] {
+              "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings",
+            });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+            new java.lang.String[] {
+              "SamplingRatio",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index 1cdb7fca..ecc9472c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class,
+            com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -119,6 +139,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -129,6 +150,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,7 +268,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -252,12 +276,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +291,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +304,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +411,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class,
+              com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -404,16 +435,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -460,38 +490,39 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +569,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -551,6 +584,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -558,6 +592,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -569,16 +605,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -590,17 +629,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -633,6 +675,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -640,6 +683,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -672,16 +717,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +762,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +790,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +798,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +814,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +841,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -818,16 +876,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +900,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 5e4df2aa..838dcb63 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -19,11 +37,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 62f9f735..619044c3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..0b0b032e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 7e5e827d..27cfb35c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class,
+            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,27 @@ 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.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +575,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +679,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class,
+              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -649,16 +703,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +741,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +762,8 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result =
+          new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +789,39 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +874,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +892,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +900,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +916,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +943,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +955,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +979,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1005,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1052,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1072,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1083,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1107,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1121,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1153,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1174,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1203,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1230,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1248,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1171,12 +1270,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1192,16 +1294,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1232,6 +1339,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1248,8 +1357,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1368,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1280,7 +1390,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1402,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1320,6 +1432,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1337,11 +1451,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1362,11 +1478,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1384,14 +1503,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1521,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1416,12 +1543,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1437,16 +1567,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1477,6 +1612,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1493,8 +1630,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1641,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1525,7 +1663,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1675,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1565,6 +1705,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1582,11 +1724,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1607,11 +1751,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1629,21 +1776,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1821,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1829,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1856,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1894,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1915,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1770,16 +1929,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1953,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index 08f2f02e..adf90087 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 0755fef1..27d0ddda 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,14 @@ 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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +303,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -366,21 +408,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -388,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +473,8 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +485,39 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +564,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +589,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +614,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +685,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -634,12 +701,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -654,16 +725,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -678,15 +752,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,6 +779,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +787,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -728,17 +809,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -762,16 +844,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index 6685e46f..bf13da8d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 9e7b6ced..112d7577 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +304,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +328,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +346,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +367,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +378,39 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +442,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +453,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +465,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +473,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +483,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +504,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -496,16 +539,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +563,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index 90dc354b..af110ade 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..38185289 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,177 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index a34f293f..62fb0dd0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,128 +71,145 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + name_ = s; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = + ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 2; + break; } - messageTypeCase_ = 2; - break; - } - case 26: { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + case 26: + { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 3; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - messageTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 56: + { + dispatchCount_ = input.readInt32(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 64: + { + responseCount_ = input.readInt32(); + break; } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 74: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } + case 88: + { + int rawValue = input.readEnum(); - break; - } - case 56: { - - dispatchCount_ = input.readInt32(); - break; - } - case 64: { - - responseCount_ = input.readInt32(); - break; - } - case 74: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + view_ = rawValue; + break; } - - break; - } - case 88: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,27 +217,30 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -215,9 +252,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -226,6 +264,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -240,6 +280,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -254,6 +296,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -262,6 +306,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -276,6 +322,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -287,7 +335,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -312,49 +359,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -373,13 +420,16 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
+
   public enum MessageTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
+
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -395,26 +445,31 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return APP_ENGINE_HTTP_REQUEST;
-        case 3: return HTTP_REQUEST;
-        case 0: return MESSAGETYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 3:
+          return HTTP_REQUEST;
+        case 0:
+          return MESSAGETYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase
-  getMessageTypeCase() {
-    return MessageTypeCase.forNumber(
-        messageTypeCase_);
+  public MessageTypeCase getMessageTypeCase() {
+    return MessageTypeCase.forNumber(messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -436,6 +491,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -444,14 +500,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -473,16 +530,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,12 +548,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -505,22 +564,27 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -529,21 +593,25 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -551,22 +619,27 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -577,7 +650,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -585,12 +658,15 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -598,19 +674,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -626,12 +709,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -639,12 +725,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -652,6 +741,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -667,6 +758,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -697,6 +790,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -704,6 +798,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -734,13 +830,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -780,6 +881,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -787,6 +890,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -797,11 +901,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -812,6 +919,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -819,6 +928,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -826,6 +936,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -833,13 +945,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -856,11 +973,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -868,18 +988,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -894,33 +1021,42 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -932,8 +1068,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -980,44 +1115,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1027,54 +1156,44 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1135,116 +1254,123 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1254,16 +1380,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1311,9 +1436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1385,38 +1510,39 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2.Task) other); } else { super.mergeFrom(other); return this; @@ -1454,17 +1580,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1494,12 +1623,12 @@ public Builder mergeFrom( } return this; } + private int messageTypeCase_ = 0; private java.lang.Object messageType_; - public MessageTypeCase - getMessageTypeCase() { - return MessageTypeCase.forNumber( - messageTypeCase_); + + public MessageTypeCase getMessageTypeCase() { + return MessageTypeCase.forNumber(messageTypeCase_); } public Builder clearMessageType() { @@ -1509,9 +1638,10 @@ public Builder clearMessageType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1533,13 +1663,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1548,6 +1678,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1569,15 +1701,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1585,6 +1716,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1606,20 +1739,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1641,15 +1776,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1671,30 +1809,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1702,12 +1846,15 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1725,6 +1872,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1746,6 +1895,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1765,6 +1916,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1774,10 +1927,14 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2 &&
-            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 2
+            && messageType_
+                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1793,6 +1950,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1817,6 +1976,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1828,6 +1989,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1836,7 +1999,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1847,6 +2011,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1855,33 +2021,45 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1889,12 +2067,15 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override @@ -1912,6 +2093,8 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1933,6 +2116,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1940,8 +2125,7 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(
-        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -1952,6 +2136,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1961,10 +2147,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3 &&
-            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 3
+            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1980,6 +2169,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2004,6 +2195,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2015,6 +2208,8 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2034,6 +2229,8 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2042,56 +2239,75 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.HttpRequest,
+                com.google.cloud.tasks.v2.HttpRequest.Builder,
+                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2113,6 +2329,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2120,8 +2338,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2132,6 +2349,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2143,7 +2362,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2155,6 +2376,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2174,6 +2397,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2182,11 +2407,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2198,11 +2425,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2211,14 +2441,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2226,36 +2459,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2277,6 +2523,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2284,8 +2532,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2296,6 +2543,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2307,7 +2556,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;
         }
@@ -2319,6 +2568,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2338,6 +2589,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2346,11 +2599,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2362,11 +2617,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2375,14 +2633,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2390,8 +2651,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2422,12 +2688,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2458,16 +2727,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2513,6 +2787,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2544,8 +2820,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2556,6 +2831,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2591,7 +2868,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2603,6 +2882,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2646,6 +2927,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2678,11 +2961,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2718,11 +3003,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2755,21 +3043,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2777,6 +3070,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -2784,6 +3078,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2791,16 +3087,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2808,22 +3107,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -2831,30 +3134,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -2862,8 +3171,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2871,12 +3185,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2884,16 +3201,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2916,6 +3238,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2924,8 +3248,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -2936,6 +3259,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2948,7 +3273,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -2960,6 +3287,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2980,6 +3309,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2989,11 +3320,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3006,11 +3339,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3020,14 +3356,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Attempt,
+                com.google.cloud.tasks.v2.Attempt.Builder,
+                com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3035,34 +3374,47 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3083,14 +3435,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3101,6 +3454,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3111,7 +3466,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3123,6 +3480,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3141,6 +3500,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3148,11 +3509,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3163,11 +3526,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3175,14 +3541,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3190,55 +3559,69 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3246,29 +3629,32 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3278,12 +3664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3292,16 +3678,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3316,6 +3702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index b785e0af..007aaaac 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -120,26 +157,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -150,26 +195,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -180,6 +233,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -210,10 +265,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -244,10 +302,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -282,6 +343,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -289,21 +352,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -311,10 +380,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -322,10 +394,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -337,24 +412,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -364,22 +447,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..ed8a2c9b --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "MessageType", + }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index 68da5cbe..efa8f447 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +112,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -124,6 +148,7 @@ private UpdateQueueRequest(
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +156,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -140,6 +167,7 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -147,6 +175,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -165,12 +195,15 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +211,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +227,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +271,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +284,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -289,118 +324,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -408,16 +452,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +521,39 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -554,8 +599,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -564,13 +614,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -579,7 +633,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -590,6 +646,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -598,7 +656,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +673,8 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -622,10 +683,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +697,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -644,13 +707,14 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -662,6 +726,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -670,7 +736,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +751,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -692,14 +761,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -708,17 +780,19 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -727,17 +801,21 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +823,49 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +887,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +896,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +907,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +920,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +932,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +953,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +963,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +981,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +997,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1024,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -932,16 +1038,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1062,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index d3adfb72..769807c0 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -17,10 +35,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -30,10 +51,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -47,26 +71,34 @@ public interface UpdateQueueRequestOrBuilder extends
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index abcfe358..ea776bea 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,32 +71,35 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -87,35 +107,42 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -124,30 +151,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,6 +187,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -166,7 +197,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -174,6 +207,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -182,14 +217,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -198,7 +239,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -206,6 +248,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,8 +280,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -249,19 +290,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = + (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,96 +326,104 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -383,21 +431,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -405,16 +455,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -451,7 +500,8 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -466,38 +516,39 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -532,7 +584,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -544,19 +597,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -565,21 +622,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -587,57 +647,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -645,8 +718,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -655,13 +733,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -670,17 +752,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -689,7 +777,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -705,6 +794,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -713,10 +804,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -727,6 +818,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -735,13 +828,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -753,6 +849,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -761,7 +859,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -775,6 +874,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -783,14 +884,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -799,17 +903,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -818,24 +926,28 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } + @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); } @@ -845,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -859,16 +971,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,6 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index aa7083e2..5836a48c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder extends +public interface AcknowledgeTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,7 +99,8 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index 37163c60..bda8fe19 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -61,15 +78,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -78,16 +96,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -107,56 +124,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUrl_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUrl_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -164,41 +187,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -227,17 +257,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -247,6 +282,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -254,6 +290,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -263,13 +301,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -288,6 +331,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -297,6 +342,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ @java.lang.Override @@ -305,14 +351,15 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -322,16 +369,15 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -340,24 +386,23 @@ public java.lang.String getRelativeUrl() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -366,6 +411,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -404,22 +451,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -459,11 +506,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -503,16 +551,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -552,12 +600,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -567,6 +614,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -576,6 +625,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -584,6 +634,7 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,9 +646,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -606,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -624,30 +671,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -657,25 +702,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl() - .equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getPayload() - .equals(other.getPayload())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getPayload().equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,96 +749,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -854,43 +903,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -898,16 +947,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -928,9 +976,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -949,7 +997,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -969,38 +1018,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1008,7 +1058,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1019,8 +1070,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1043,7 +1093,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1052,10 +1103,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1067,12 +1121,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1084,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1105,15 +1166,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1125,6 +1190,7 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1132,12 +1198,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1149,10 +1217,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1160,8 +1229,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, + com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1171,12 +1245,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1186,16 +1263,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1220,6 +1302,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1242,6 +1326,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1256,7 +1342,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1268,6 +1356,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1290,6 +1380,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1301,11 +1393,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,11 +1414,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,14 +1433,17 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1351,6 +1451,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
+     *
+     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1360,13 +1462,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; + * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1375,6 +1477,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1384,15 +1488,14 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1400,6 +1503,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1409,20 +1514,22 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl( - java.lang.String value) { + public Builder setRelativeUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1432,15 +1539,18 @@ public Builder setRelativeUrl(
      * 
* * string relative_url = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1450,37 +1560,36 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1492,6 +1601,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1530,22 +1641,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1585,11 +1696,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1629,16 +1741,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1678,12 +1791,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1691,11 +1803,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1734,23 +1847,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1789,19 +1900,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1840,16 +1952,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1859,6 +1970,7 @@ public Builder putAllHeaders(
      * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -1866,6 +1978,8 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1875,19 +1989,22 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1897,17 +2014,18 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -1917,12 +2035,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -1931,16 +2049,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,6 +2073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 0eee0ff6..4a27f8c2 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString - getRelativeUrlBytes(); + com.google.protobuf.ByteString getRelativeUrlBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -331,6 +371,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 43646f79..3633a62d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpTarget() {
-  }
+
+  private AppEngineHttpTarget() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpTarget(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
+        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index 6ac107fd..e4f6a8d5 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder extends
+public interface AppEngineHttpTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index 75151c07..ad2acdb0 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -387,6 +421,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -395,14 +430,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -452,16 +488,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -470,6 +505,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -481,8 +517,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -524,21 +559,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = + (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -563,97 +595,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -671,21 +710,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -693,16 +734,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -718,9 +758,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -739,7 +779,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -752,38 +793,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -791,7 +833,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -839,6 +882,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -857,13 +902,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -872,6 +917,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -890,15 +937,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -906,6 +952,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -924,20 +972,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -956,15 +1006,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -983,16 +1036,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1000,6 +1053,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1018,13 +1073,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1033,6 +1088,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1051,15 +1108,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1067,6 +1123,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1085,20 +1143,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1117,15 +1177,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1207,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,6 +1224,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1176,13 +1241,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1191,6 +1256,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1206,15 +1273,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1222,6 +1288,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1237,20 +1305,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1266,15 +1336,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1290,16 +1363,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1307,6 +1380,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1356,13 +1431,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1371,6 +1446,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1420,15 +1497,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1436,6 +1512,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1485,20 +1563,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1548,15 +1628,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1606,23 +1689,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1632,12 +1715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1646,16 +1729,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1670,6 +1753,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index 3a191733..bc74a98e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -189,10 +222,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -242,8 +278,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index a2e69197..28cd82db 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttemptStatus() { - } + + private AttemptStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private AttemptStatus( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,32 +424,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other =
+        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +480,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -542,16 +608,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -604,7 +669,8 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = + new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +699,39 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); } else { super.mergeFrom(other); return this; @@ -716,36 +783,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +847,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +856,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +867,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +880,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +894,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +915,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +925,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +943,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +959,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +977,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1041,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1050,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1061,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1074,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1088,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1109,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1119,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1137,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1153,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1171,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1235,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1244,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1255,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1268,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1282,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1303,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1313,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1331,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1347,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1365,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1217,12 +1377,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1230,16 +1393,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1262,6 +1430,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1270,8 +1440,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1451,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1294,7 +1465,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1477,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1326,6 +1499,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1335,11 +1510,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1352,11 +1529,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1366,21 +1546,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1571,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1404,16 +1585,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttemptStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AttemptStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttemptStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AttemptStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1609,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 067732e6..04cba740 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
@@ -1,33 +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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder extends
+public interface AttemptStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -105,10 +147,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -116,10 +161,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 8f7ffdf5..4f0d227b 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,38 +72,42 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +115,42 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -131,30 +159,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -165,6 +195,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -173,7 +205,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -181,6 +215,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -189,14 +225,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,7 +247,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -215,6 +258,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -229,12 +274,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -249,15 +298,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -293,12 +345,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -308,19 +358,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = + (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -348,96 +397,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -445,21 +501,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -467,16 +525,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -494,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -515,7 +572,8 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -531,38 +589,39 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -600,7 +660,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -612,19 +673,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -633,21 +698,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -655,57 +723,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -713,8 +794,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -723,13 +809,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -738,17 +828,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -757,7 +853,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -773,6 +870,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -781,10 +880,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -795,6 +894,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -803,13 +904,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -821,6 +925,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -829,7 +935,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -843,6 +950,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -851,14 +960,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -867,17 +979,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -886,17 +1002,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -904,6 +1024,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -918,12 +1040,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -938,16 +1064,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -962,15 +1091,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -985,6 +1118,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -992,12 +1126,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1012,17 +1148,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1032,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1046,16 +1183,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index c38b4840..7e482e5c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder extends +public interface CancelLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,11 +99,14 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -83,10 +121,13 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -101,6 +142,7 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..e0f1f9cc --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,496 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { + "Queues", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { + "Parent", "Queue", + }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { + "Queue", "UpdateMask", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "ResponseView", "PageSize", "PageToken", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { + "Parent", "Task", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", + }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", + }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "LeaseDuration", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 7a6c7007..2fff1143 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index f06e93f5..9676f059 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5486174c..5b08ffe3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index d08c4552..efb3f667 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index a7ff0f78..be30b05b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..92e8ff23 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index 470736a3..d8cdf272 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..f57510e9 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 3c31bbcb..098da970 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = + (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = + new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index d0acb43e..8a94e8ad 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 47fe15e9..555bd07a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = + (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = + new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 24915aa1..627e5389 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index abca6176..d06ae3b1 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -64,6 +92,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -72,6 +102,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -112,7 +152,6 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,55 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,4 +240,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index 6aa2dbff..baf42571 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - maxTasks_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); + parent_ = s; + break; } - leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); + case 16: + { + maxTasks_ = input.readInt32(); + break; } + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); + } + leaseDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -187,6 +220,7 @@ public java.lang.String getParent() {
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -197,6 +231,8 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -215,7 +251,9 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -223,6 +261,8 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -241,14 +281,20 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -267,7 +313,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -277,6 +324,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -291,12 +340,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -311,17 +364,22 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -347,6 +405,7 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -355,14 +414,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -388,16 +448,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -406,6 +465,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +477,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -447,16 +506,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -469,25 +525,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = + (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getMaxTasks() - != other.getMaxTasks()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getMaxTasks() != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -516,118 +569,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -635,16 +697,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +727,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -687,7 +748,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = + new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -705,38 +767,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -744,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -793,19 +857,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -814,21 +882,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -836,64 +907,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_ ; + private int maxTasks_; /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -905,6 +991,7 @@ public Builder setParentBytes(
      * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -912,6 +999,8 @@ public int getMaxTasks() { return maxTasks_; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -923,16 +1012,19 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; + * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -944,10 +1036,11 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; + * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -955,8 +1048,13 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -975,13 +1073,17 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1000,17 +1102,23 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1029,7 +1137,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,6 +1154,8 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1063,10 +1174,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1077,6 +1188,8 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1095,13 +1208,16 @@ public Builder setLeaseDuration(
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1113,6 +1229,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1131,7 +1249,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1145,6 +1264,8 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1163,14 +1284,17 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1189,17 +1313,21 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1218,17 +1346,21 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1236,6 +1368,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1250,12 +1384,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1270,16 +1408,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1294,15 +1435,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1317,6 +1462,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1324,12 +1470,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1344,10 +1492,11 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1355,6 +1504,8 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1380,13 +1531,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1395,6 +1546,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1420,15 +1573,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1436,6 +1588,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1461,20 +1615,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1500,15 +1656,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1534,23 +1693,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1560,12 +1719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1574,16 +1733,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1598,6 +1757,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index e8ee7da0..8d97536d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder extends +public interface LeaseTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -41,11 +68,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ int getMaxTasks(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -64,11 +94,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -87,11 +121,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -110,11 +148,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -129,10 +170,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -147,11 +191,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -177,10 +224,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -206,8 +256,8 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index 785a15f5..db622add 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,24 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +96,7 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -87,22 +105,27 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The leased tasks.
    * 
@@ -114,6 +137,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -121,11 +146,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -137,6 +164,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The leased tasks.
    * 
@@ -148,6 +177,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The leased tasks.
    * 
@@ -155,12 +186,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -187,8 +217,7 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +227,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList() - .equals(other.getTasksList())) return false; + if (!getTasksList().equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +257,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -346,17 +384,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -391,7 +429,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = + new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +449,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -468,9 +509,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -495,7 +537,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +547,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The leased tasks.
      * 
@@ -533,6 +583,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -547,6 +599,8 @@ public int getTasksCount() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -561,14 +615,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +637,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -600,6 +657,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -620,14 +679,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,14 +701,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -659,6 +720,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -677,6 +740,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -687,8 +752,7 @@ 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); @@ -696,6 +760,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -713,6 +779,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -730,39 +798,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +843,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The leased tasks.
      * 
@@ -777,49 +852,54 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; } + @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); } @@ -829,12 +909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -843,16 +923,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index 9fd3c606..be8e88b3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder extends +public interface LeaseTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The leased tasks.
    * 
@@ -25,6 +44,8 @@ public interface LeaseTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The leased tasks.
    * 
@@ -33,21 +54,23 @@ public interface LeaseTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index ca1d881d..e54a748b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index f3767022..167f4ec8 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index c34490bd..b939f1fb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 248518f9..98afbafd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index bb5156d1..7c714d8e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 32: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = + (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = + new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index a9b7b18e..29a8834e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 1ab20232..02a9e4ef 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = + (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = + new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 8df40b84..65d2e1d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index 7c934fac..d0889429 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a65e03f3 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 3ad4c05d..68114f46 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -29,16 +47,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,24 +74,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -82,34 +100,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -120,6 +143,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -139,6 +164,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -147,14 +173,15 @@ 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; } } /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -174,16 +201,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -192,6 +218,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -221,8 +247,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -235,17 +260,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = + (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,97 +290,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -366,21 +397,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class,
+              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -388,16 +421,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +462,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result =
+          new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -441,38 +474,39 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,11 +553,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -531,33 +568,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -565,6 +608,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -584,13 +629,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -599,6 +644,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -618,15 +665,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -634,6 +680,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -653,20 +701,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -686,15 +736,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -714,23 +767,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -740,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -754,16 +807,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 9a08cc45..3e9a9796 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -37,10 +58,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -60,8 +84,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index c431c6ad..ac577696 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PullTarget() { - } + + private PullTarget() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PullTarget( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = + (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,118 +159,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** + * + * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = + new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); } else { super.mergeFrom(other); return this; @@ -374,9 +403,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -400,16 +429,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +453,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..86bed8df --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +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/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index 568db342..ffb1a8e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..395d587e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 5c513533..31f4d38a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,131 +73,155 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              name_ = s;
+              break;
             }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 3;
+              break;
             }
-            targetTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 4) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-            }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 4) {
+                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 4;
+              break;
             }
-            targetTypeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 130:
+            {
+              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
-            }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 130: {
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -188,36 +229,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class,
+            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -226,6 +272,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -240,6 +288,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -252,6 +302,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -275,6 +327,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -283,6 +337,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,6 +353,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +367,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -329,7 +389,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -354,50 +413,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -416,13 +476,16 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
+
   public enum TargetTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
+
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -438,26 +501,31 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_TARGET;
-        case 4: return PULL_TARGET;
-        case 0: return TARGETTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_TARGET;
+        case 4:
+          return PULL_TARGET;
+        case 0:
+          return TARGETTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase
-  getTargetTypeCase() {
-    return TargetTypeCase.forNumber(
-        targetTypeCase_);
+  public TargetTypeCase getTargetTypeCase() {
+    return TargetTypeCase.forNumber(targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -478,6 +546,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -486,14 +555,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -514,16 +584,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -533,12 +602,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -546,22 +618,27 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -570,21 +647,25 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+      getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -592,22 +673,27 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -618,7 +704,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -626,6 +712,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -643,6 +731,7 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -650,6 +739,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -667,13 +758,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -700,6 +796,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -713,6 +811,7 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -720,6 +819,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -733,13 +834,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -762,6 +868,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -772,12 +880,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -788,17 +900,22 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -811,6 +928,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -818,6 +936,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -830,6 +950,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ @java.lang.Override @@ -837,6 +958,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -858,6 +981,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -872,6 +997,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -879,6 +1005,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -893,6 +1021,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ @java.lang.Override @@ -900,6 +1029,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -923,6 +1054,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -935,6 +1068,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -942,6 +1076,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -954,13 +1090,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -982,13 +1123,18 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -996,13 +1142,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1010,13 +1161,17 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1024,6 +1179,7 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1035,8 +1191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1080,40 +1235,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1123,55 +1273,46 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget() - .equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget() - .equals(other.getPullTarget())) return false; + if (!getPullTarget().equals(other.getPullTarget())) return false; break; case 0: default: @@ -1232,97 +1373,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1331,21 +1478,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class,
+              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1353,16 +1502,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1412,9 +1560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1489,38 +1637,39 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1555,17 +1704,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET: {
-          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-          break;
-        }
-        case PULL_TARGET: {
-          mergePullTarget(other.getPullTarget());
-          break;
-        }
-        case TARGETTYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_TARGET:
+          {
+            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+            break;
+          }
+        case PULL_TARGET:
+          {
+            mergePullTarget(other.getPullTarget());
+            break;
+          }
+        case TARGETTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1595,12 +1747,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-    public TargetTypeCase
-        getTargetTypeCase() {
-      return TargetTypeCase.forNumber(
-          targetTypeCase_);
+
+    public TargetTypeCase getTargetTypeCase() {
+      return TargetTypeCase.forNumber(targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1610,9 +1762,10 @@ public Builder clearTargetType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1633,13 +1786,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1648,6 +1801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1668,15 +1823,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1684,6 +1838,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1704,20 +1860,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1738,15 +1896,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1767,30 +1928,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> + appEngineHttpTargetBuilder_; /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1798,12 +1965,15 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1821,6 +1991,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1828,7 +2000,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1842,6 +2015,8 @@ public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHt
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1861,6 +2036,8 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1868,12 +2045,17 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 3
+            && targetType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -1889,6 +2071,8 @@ public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1913,6 +2097,8 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1920,10 +2106,13 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
+        getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1932,7 +2121,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHt
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+        getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -1943,6 +2133,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1951,33 +2143,45 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        pullTargetBuilder_;
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -1985,12 +2189,15 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override @@ -2008,6 +2215,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2029,6 +2238,8 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2048,6 +2259,8 @@ public Builder setPullTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2057,10 +2270,13 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 4
+            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2076,6 +2292,8 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2100,6 +2318,8 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2111,6 +2331,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2130,6 +2352,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2138,28 +2362,39 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullTarget,
+                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2177,12 +2412,15 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2200,16 +2438,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2242,6 +2485,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2272,6 +2517,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2294,7 +2541,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2306,6 +2555,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2336,6 +2587,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2355,11 +2608,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2382,11 +2637,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2406,14 +2664,17 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RateLimits,
+                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2421,8 +2682,13 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2436,12 +2702,15 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2455,16 +2724,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2493,6 +2767,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2519,6 +2795,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,7 +2815,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2549,6 +2829,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2575,6 +2857,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2590,11 +2874,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2613,11 +2899,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2633,14 +2922,17 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RetryConfig,
+                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2648,6 +2940,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2658,12 +2952,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2674,16 +2972,19 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2694,15 +2995,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2713,6 +3018,7 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2720,12 +3026,14 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2736,10 +3044,11 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2747,8 +3056,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2761,12 +3075,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2779,6 +3096,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2789,6 +3107,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2816,6 +3136,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2829,8 +3151,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2841,6 +3162,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2858,7 +3181,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2870,6 +3193,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2895,6 +3220,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2909,11 +3236,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2931,11 +3260,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2950,14 +3280,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2965,8 +3298,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -2981,12 +3319,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3001,6 +3342,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3011,6 +3353,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3040,6 +3384,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3055,8 +3401,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3067,6 +3412,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3086,7 +3433,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3098,6 +3445,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3125,6 +3474,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,11 +3492,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3165,11 +3518,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3186,14 +3540,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3201,8 +3558,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3215,12 +3577,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3233,16 +3598,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3270,6 +3640,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3283,8 +3655,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3295,6 +3666,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3312,7 +3685,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3324,6 +3699,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3349,6 +3726,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3363,11 +3742,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3385,11 +3766,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3404,14 +3788,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3419,45 +3806,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
+            com.google.cloud.tasks.v2beta2.QueueStats,
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
+            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
+        statsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3473,16 +3879,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3493,19 +3902,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3517,13 +3932,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3537,61 +3956,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3601,12 +4036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -3615,16 +4050,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3639,6 +4074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 11cda3ea..15bb0343 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,32 +73,40 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -88,26 +117,34 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -118,6 +155,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -135,10 +174,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -156,10 +198,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -181,6 +226,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -194,10 +241,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -211,10 +261,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -232,6 +285,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -242,10 +297,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -256,11 +314,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -273,10 +334,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -289,10 +353,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -309,6 +376,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -323,10 +392,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -341,10 +413,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -363,6 +438,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -375,10 +452,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -391,10 +471,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -411,35 +494,49 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..39c576fa --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,178 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta2_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpTarget", + "PullTarget", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "Stats", + "TargetType", + }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { + "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", + }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", + "UnlimitedAttempts", + "MaxRetryDuration", + "MinBackoff", + "MaxBackoff", + "MaxDoublings", + "NumAttempts", + }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index f6138f49..851774bb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = + (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = + new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index 877422f2..d65aa3fd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index 2bb7a61a..ba22e1ca 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxTasksDispatchedPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentTasks_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxTasksDispatchedPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentTasks_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -123,6 +143,7 @@ private RateLimits(
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -133,6 +154,8 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -164,6 +187,7 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -174,6 +198,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -191,6 +217,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -199,6 +226,7 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -231,16 +258,14 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -250,20 +275,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = + (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() - != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -276,8 +299,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -287,97 +312,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -388,21 +420,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class,
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -410,16 +444,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -433,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -454,7 +487,8 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result =
+          new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -466,38 +500,39 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,8 +579,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_ ;
+    private double maxTasksDispatchedPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -561,6 +598,7 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -568,6 +606,8 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -583,16 +623,19 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -608,17 +651,20 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -650,6 +696,7 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -657,6 +704,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -688,16 +737,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -729,17 +781,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_ ; + private int maxConcurrentTasks_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -757,6 +812,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -764,6 +820,8 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -781,16 +839,19 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -808,17 +869,18 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -828,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -842,16 +904,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 1e80375a..373ee8d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -23,11 +41,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -59,11 +80,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -81,6 +105,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 86c724b4..91ce7c71 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,51 +72,57 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (leaseDuration_ != null) {
-              subBuilder = leaseDuration_.toBuilder();
-            }
-            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(leaseDuration_);
-              leaseDuration_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (leaseDuration_ != null) {
+                subBuilder = leaseDuration_.toBuilder();
+              }
+              leaseDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(leaseDuration_);
+                leaseDuration_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,35 +130,42 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -144,30 +174,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -178,6 +210,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -186,7 +220,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -194,6 +230,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -202,14 +240,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -218,7 +262,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -228,13 +273,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -242,27 +291,36 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -272,6 +330,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -286,12 +346,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -306,15 +370,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,8 +394,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -353,16 +420,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -372,24 +436,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = + (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -420,97 +482,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -518,21 +587,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -540,16 +611,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +643,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -594,7 +664,8 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -615,38 +686,39 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -654,7 +726,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -699,19 +772,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -720,21 +797,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -742,57 +822,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -800,8 +893,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -810,13 +908,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -825,17 +927,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -844,7 +952,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -860,6 +969,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -868,10 +979,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -882,6 +993,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -890,13 +1003,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -908,6 +1024,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -916,7 +1034,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -930,6 +1049,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -938,14 +1059,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -954,17 +1078,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -973,17 +1101,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -991,45 +1123,61 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,16 +1193,18 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1065,19 +1215,24 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1089,13 +1244,16 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1109,54 +1267,67 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1164,6 +1335,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1178,12 +1351,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1198,16 +1375,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1222,15 +1402,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1245,6 +1429,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1252,12 +1437,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1272,17 +1459,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1292,12 +1480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1306,16 +1494,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1330,6 +1518,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 0fb7d3e1..800dfd88 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder extends +public interface RenewLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,44 +99,58 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -116,10 +165,13 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -134,6 +186,7 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 1c905c3a..66717318 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..7e18051a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index c8e6cb16..9a966fb3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,67 +69,75 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            numAttempts_ = input.readInt32();
-            numAttemptsCase_ = 1;
-            break;
-          }
-          case 16: {
-            numAttempts_ = input.readBool();
-            numAttemptsCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              numAttempts_ = input.readInt32();
+              numAttemptsCase_ = 1;
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 16:
+            {
+              numAttempts_ = input.readBool();
+              numAttemptsCase_ = 2;
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          case 48:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-
-            break;
-          }
-          case 48: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,35 +145,40 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
+
   public enum NumAttemptsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
+
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -165,25 +194,30 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1: return MAX_ATTEMPTS;
-        case 2: return UNLIMITED_ATTEMPTS;
-        case 0: return NUMATTEMPTS_NOT_SET;
-        default: return null;
+        case 1:
+          return MAX_ATTEMPTS;
+        case 2:
+          return UNLIMITED_ATTEMPTS;
+        case 0:
+          return NUMATTEMPTS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase
-  getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(
-        numAttemptsCase_);
+  public NumAttemptsCase getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -192,6 +226,7 @@ public int getNumber() {
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -199,6 +234,8 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -207,6 +244,7 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -219,11 +257,14 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -231,11 +272,14 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ @java.lang.Override @@ -249,6 +293,8 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -267,6 +313,7 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -274,6 +321,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -292,13 +341,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -326,6 +380,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -342,6 +398,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -349,6 +406,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -365,6 +424,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ @java.lang.Override @@ -372,6 +432,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -397,6 +459,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -413,6 +477,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -420,6 +485,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -436,6 +503,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ @java.lang.Override @@ -443,6 +511,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -468,6 +538,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -494,6 +566,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -502,6 +575,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,15 +587,12 @@ 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 (numAttemptsCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) numAttempts_)); + output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -545,30 +616,26 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -578,39 +645,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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = + (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() - != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -647,8 +709,7 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); break; case 0: default: @@ -658,97 +719,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -756,21 +824,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class,
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -778,16 +848,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -817,9 +886,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -838,7 +907,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result =
+          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -870,38 +940,39 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -923,17 +994,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS: {
-          setMaxAttempts(other.getMaxAttempts());
-          break;
-        }
-        case UNLIMITED_ATTEMPTS: {
-          setUnlimitedAttempts(other.getUnlimitedAttempts());
-          break;
-        }
-        case NUMATTEMPTS_NOT_SET: {
-          break;
-        }
+        case MAX_ATTEMPTS:
+          {
+            setMaxAttempts(other.getMaxAttempts());
+            break;
+          }
+        case UNLIMITED_ATTEMPTS:
+          {
+            setUnlimitedAttempts(other.getUnlimitedAttempts());
+            break;
+          }
+        case NUMATTEMPTS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -963,12 +1037,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-    public NumAttemptsCase
-        getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(
-          numAttemptsCase_);
+
+    public NumAttemptsCase getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -978,8 +1052,9 @@ public Builder clearNumAttempts() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -988,12 +1063,15 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1002,6 +1080,7 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1011,6 +1090,8 @@ public int getMaxAttempts() { return 0; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1019,6 +1100,7 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1029,6 +1111,8 @@ public Builder setMaxAttempts(int value) { return this; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1037,6 +1121,7 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1049,22 +1134,28 @@ public Builder clearMaxAttempts() { } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1074,11 +1165,14 @@ public boolean getUnlimitedAttempts() { return false; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1089,11 +1183,14 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1107,8 +1204,13 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1127,12 +1229,15 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1151,16 +1256,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1194,6 +1304,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1213,8 +1325,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1225,6 +1336,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1248,7 +1361,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1260,6 +1375,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1291,6 +1408,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1311,11 +1430,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1339,11 +1460,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1364,14 +1488,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1379,8 +1506,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1397,12 +1529,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1419,16 +1554,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1460,6 +1600,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1477,8 +1619,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1489,6 +1630,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1510,7 +1653,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1522,6 +1665,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1551,6 +1696,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1569,11 +1716,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1595,11 +1744,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1618,14 +1770,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1633,8 +1788,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1651,12 +1811,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1673,16 +1836,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1714,6 +1882,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1731,8 +1901,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1743,6 +1912,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1764,7 +1935,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1776,6 +1947,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1805,6 +1978,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1823,11 +1998,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1849,11 +2026,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1872,21 +2052,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1913,6 +2098,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -1920,6 +2106,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1946,16 +2134,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1982,17 +2173,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2002,12 +2194,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2016,16 +2208,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2040,6 +2232,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index ca066b67..f78d7ff0 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -16,10 +34,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -28,30 +49,39 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -70,10 +100,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -92,10 +125,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -118,6 +154,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -134,10 +172,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -154,10 +195,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -178,6 +222,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -194,10 +240,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -214,10 +263,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -238,6 +290,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -264,6 +318,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index f7120749..a8d244e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = + (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index fce8c1e0..8ce08688 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..2ec60f36 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index d746a483..b4b9a701 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,92 +71,110 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 34: + { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } + case 64: + { + int rawValue = input.readEnum(); - break; - } - case 58: { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); + view_ = rawValue; + break; } - status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 64: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,27 +182,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -179,9 +218,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -190,6 +230,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -205,6 +247,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -219,6 +263,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -227,6 +273,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -242,6 +290,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -253,7 +303,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -278,49 +327,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -339,13 +388,16 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -361,26 +413,31 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 4: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 4:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -402,6 +459,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -410,14 +468,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -439,16 +498,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -458,6 +516,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -467,6 +527,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -474,6 +535,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -483,16 +546,19 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -504,15 +570,18 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -520,6 +589,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -527,6 +597,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -534,16 +606,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -555,7 +630,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -563,6 +638,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -574,6 +651,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -581,6 +659,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -592,13 +672,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -619,12 +704,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -632,12 +720,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -645,6 +736,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -660,11 +753,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ @java.lang.Override @@ -672,18 +768,25 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } /** + * + * *
    * Output only. The task status.
    * 
@@ -698,33 +801,43 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -736,8 +849,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -772,28 +884,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -803,40 +913,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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -885,118 +989,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1004,16 +1116,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1045,9 +1156,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1107,38 +1218,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); } else { super.mergeFrom(other); return this; @@ -1164,17 +1276,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1204,12 +1319,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1219,9 +1334,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1243,13 +1359,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1258,6 +1374,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1279,15 +1397,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1295,6 +1412,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1316,20 +1435,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1351,15 +1472,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1381,24 +1505,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1408,6 +1537,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1415,6 +1545,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1424,6 +1556,7 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1441,6 +1574,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1451,7 +1586,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1465,6 +1601,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1487,6 +1625,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1497,12 +1637,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1518,6 +1663,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1545,6 +1692,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1555,10 +1704,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1570,7 +1722,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1581,6 +1734,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1592,27 +1747,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1620,6 +1786,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1627,6 +1794,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1634,6 +1803,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override @@ -1651,6 +1821,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1673,6 +1845,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1693,6 +1867,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1703,10 +1879,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 4
+            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1722,6 +1901,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1747,6 +1928,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1759,6 +1942,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1779,6 +1964,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1788,28 +1975,39 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullMessage,
+                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1821,12 +2019,15 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1838,16 +2039,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1874,6 +2080,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1886,8 +2094,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -1898,6 +2105,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1914,7 +2123,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -1926,6 +2137,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1950,6 +2163,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1963,11 +2178,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1984,11 +2201,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2002,14 +2222,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2017,36 +2240,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2068,6 +2304,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2075,8 +2313,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2087,6 +2324,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2098,7 +2337,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;
         }
@@ -2110,6 +2349,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2129,6 +2370,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2137,11 +2380,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2153,11 +2398,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2166,14 +2414,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2181,34 +2432,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
+            com.google.cloud.tasks.v2beta2.TaskStatus,
+            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
+            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } else { return statusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2229,14 +2493,15 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus( - com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2247,6 +2512,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2257,7 +2524,9 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) + .mergeFrom(value) + .buildPartial(); } else { status_ = value; } @@ -2269,6 +2538,8 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2287,6 +2558,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2294,11 +2567,13 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The task status.
      * 
@@ -2309,11 +2584,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2321,14 +2599,17 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -2336,55 +2617,69 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The view to set. * @return This builder for chaining. */ @@ -2392,29 +2687,32 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2424,12 +2722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2438,16 +2736,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2462,6 +2760,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index cce77766..9b356802 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -54,12 +75,14 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -69,10 +92,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -82,10 +108,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -99,6 +128,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -106,10 +137,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -117,10 +151,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -132,6 +169,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -143,10 +182,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -158,10 +200,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -177,26 +222,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -207,24 +260,32 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** + * + * *
    * Output only. The task status.
    * 
@@ -234,22 +295,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..a0c50640 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "Status", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { + "AttemptDispatchCount", + "AttemptResponseCount", + "FirstAttemptStatus", + "LastAttemptStatus", + }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index f8ed0ce2..361386df 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TaskStatus() { - } + + private TaskStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,49 +68,55 @@ private TaskStatus( case 0: done = true; break; - case 8: { - - attemptDispatchCount_ = input.readInt32(); - break; - } - case 16: { - - attemptResponseCount_ = input.readInt32(); - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); + case 8: + { + attemptDispatchCount_ = input.readInt32(); + break; } - firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); + case 16: + { + attemptResponseCount_ = input.readInt32(); + break; } + case 26: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); + } + firstAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); + } + lastAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,29 +124,33 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** + * + * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -132,6 +158,7 @@ private TaskStatus(
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -142,12 +169,15 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -158,6 +188,8 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -166,6 +198,7 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -173,6 +206,8 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -181,13 +216,18 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -205,12 +245,15 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -218,19 +261,26 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -244,6 +294,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -255,8 +306,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -279,20 +329,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -302,26 +348,23 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other =
+        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount()
-        != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount()
-        != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus()
-          .equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus()
-          .equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -351,118 +394,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
+   *
+   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -470,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -524,7 +575,8 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = + new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -545,38 +597,39 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); } else { super.mergeFrom(other); return this; @@ -626,8 +679,10 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_ ; + private int attemptDispatchCount_; /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -635,6 +690,7 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -642,6 +698,8 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -649,16 +707,19 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; + * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -666,23 +727,27 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; + * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_ ; + private int attemptResponseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -690,32 +755,38 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -723,8 +794,13 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, + com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> + firstAttemptStatusBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -733,12 +809,15 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -747,16 +826,21 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -780,6 +864,8 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -801,6 +887,8 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -814,7 +902,9 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -826,6 +916,8 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -847,6 +939,8 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -857,11 +951,13 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-      
+
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -875,11 +971,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
+        return firstAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : firstAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -890,14 +989,17 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(), getParentForChildren(), isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -905,36 +1007,49 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        lastAttemptStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -956,6 +1071,8 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -975,6 +1092,8 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -986,7 +1105,9 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -998,6 +1119,8 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1017,6 +1140,8 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1025,11 +1150,13 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-      
+
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1041,11 +1168,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
+        return lastAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : lastAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1054,21 +1184,24 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        lastAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(), getParentForChildren(), isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1078,12 +1211,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1092,16 +1225,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TaskStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TaskStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TaskStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TaskStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1116,6 +1249,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index 4a065e60..b0d40449 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder extends
+public interface TaskStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -15,22 +33,28 @@ public interface TaskStatusOrBuilder extends
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -39,10 +63,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -51,10 +78,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -67,26 +97,34 @@ public interface TaskStatusOrBuilder extends
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index eb8253bd..c862f9eb 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 8314ea6a..61d01622 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index f7b2a5bb..2443b42f 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpQueue() {
-  }
+
+  private AppEngineHttpQueue() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpQueue(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
+        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpQueue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpQueue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpQueue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpQueue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 0abf3214..1f9d6f5b 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder extends
+public interface AppEngineHttpQueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index e8370812..c4f1b564 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -59,15 +76,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -76,16 +94,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -105,56 +122,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -162,41 +185,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -208,12 +234,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -225,17 +255,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -245,6 +280,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -252,6 +288,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -261,13 +299,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -286,6 +329,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -295,6 +340,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -303,14 +349,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -320,16 +367,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -338,24 +384,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -364,6 +409,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -402,22 +449,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -457,11 +504,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -501,16 +549,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -550,12 +598,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -565,6 +612,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -572,6 +621,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -580,6 +630,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,9 +642,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -602,12 +653,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -620,30 +667,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -653,25 +698,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -703,96 +745,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -848,43 +897,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -892,16 +941,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -922,9 +970,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -943,7 +991,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -963,38 +1012,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1002,7 +1052,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1013,8 +1064,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1037,7 +1087,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1046,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1061,12 +1115,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1078,16 +1136,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1099,15 +1160,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1119,6 +1184,7 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1126,12 +1192,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1143,10 +1211,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1154,8 +1223,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, + com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1165,12 +1239,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1180,16 +1257,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1214,6 +1296,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1236,6 +1320,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1250,7 +1336,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1262,6 +1350,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1284,6 +1374,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1295,11 +1387,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1314,11 +1408,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1330,14 +1427,17 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1345,6 +1445,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1354,13 +1456,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1369,6 +1471,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1378,15 +1482,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1394,6 +1497,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1403,20 +1508,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1426,15 +1533,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1444,37 +1554,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1486,6 +1595,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1524,22 +1635,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1579,11 +1690,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1623,16 +1735,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1672,12 +1785,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1685,11 +1797,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1728,23 +1841,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1783,19 +1894,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1834,16 +1946,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1851,6 +1962,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1858,6 +1970,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1865,19 +1979,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1885,17 +2002,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1905,12 +2023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -1919,16 +2037,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1943,6 +2061,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index 8b399cf6..b7415b57 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -329,6 +369,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 5941632c..99d0cc4b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -351,6 +385,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -359,14 +394,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -380,16 +416,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -398,6 +433,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,8 +445,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -452,21 +487,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = + (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,97 +523,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -599,21 +638,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -621,16 +662,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -646,9 +686,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -667,7 +707,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -680,38 +721,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -719,7 +761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -767,6 +810,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -785,13 +830,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -800,6 +845,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -818,15 +865,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -834,6 +880,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -852,20 +900,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -884,15 +934,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -911,16 +964,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -928,6 +981,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -946,13 +1001,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -961,6 +1016,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -979,15 +1036,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -995,6 +1051,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1013,20 +1071,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,15 +1105,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1072,16 +1135,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1089,6 +1152,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1104,13 +1169,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1119,6 +1184,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1134,15 +1201,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1150,6 +1216,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1165,20 +1233,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1194,15 +1264,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1218,16 +1291,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1235,6 +1308,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1248,13 +1323,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1263,6 +1338,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1276,15 +1353,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1292,6 +1368,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1305,20 +1383,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,15 +1412,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1354,23 +1437,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1380,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1394,16 +1477,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1418,6 +1501,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index c7550993..b6a7c17e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 2a3aa36d..178ff60f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -542,16 +607,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -604,7 +668,8 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = + new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +698,39 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +782,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +846,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +855,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +866,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +879,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +893,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +914,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +924,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +942,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +958,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +976,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1040,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1049,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1060,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1073,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1087,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1108,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1118,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1136,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1152,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1170,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1234,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1243,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1254,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1267,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1281,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1302,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1312,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1330,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1346,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1364,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1376,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1392,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1429,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1439,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1450,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1464,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1476,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1498,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1509,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1528,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1545,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1570,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1404,16 +1584,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1608,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 0151d1c3..9b943d64 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..f9f9d0eb
--- /dev/null
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,388 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks."
+          + "proto\022\032google.cloud.tasks.v2beta3\032\034googl"
+          + "e/api/annotations.proto\032\027google/api/clie"
+          + "nt.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032&google/clo"
+          + "ud/tasks/v2beta3/queue.proto\032%google/clo"
+          + "ud/tasks/v2beta3/task.proto\032\036google/iam/"
+          + "v1/iam_policy.proto\032\032google/iam/v1/polic"
+          + "y.proto\032\033google/protobuf/empty.proto\032 go"
+          + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ"
+          + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl"
+          + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030"
+          + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004"
+          + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu"
+          + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221"
+          + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be"
+          + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge"
+          + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo"
+          + "udtasks.googleapis.com/Queue\0222\n\tread_mas"
+          + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001"
+          + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB"
+          + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue"
+          + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b"
+          + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n"
+          + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta"
+          + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog"
+          + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ"
+          + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go"
+          + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022"
+          + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google"
+          + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n"
+          + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis"
+          + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name"
+          + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co"
+          + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001"
+          + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/"
+          + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo"
+          + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030"
+          + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe"
+          + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas"
+          + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t"
+          + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
+          + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres"
+          + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2"
+          + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n"
+          + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google"
+          + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo"
+          + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v"
+          + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T"
+          + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 "
+          + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T"
+          + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A"
+          + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r"
+          + "response_view\030\002 \001(\0162%.google.cloud.tasks"
+          + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi"
+          + "stQueues\022-.google.cloud.tasks.v2beta3.Li"
+          + "stQueuesRequest\032..google.cloud.tasks.v2b"
+          + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta"
+          + "3/{parent=projects/*/locations/*}/queues"
+          + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta"
+          + "sks.v2beta3.GetQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}\332"
+          + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta"
+          + "sks.v2beta3.CreateQueueRequest\032!.google."
+          + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be"
+          + "ta3/{parent=projects/*/locations/*}/queu"
+          + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue"
+          + "\022..google.cloud.tasks.v2beta3.UpdateQueu"
+          + "eRequest\032!.google.cloud.tasks.v2beta3.Qu"
+          + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec"
+          + "ts/*/locations/*/queues/*}:\005queue\332A\021queu"
+          + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c"
+          + "loud.tasks.v2beta3.DeleteQueueRequest\032\026."
+          + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/"
+          + "{name=projects/*/locations/*/queues/*}\332A"
+          + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task"
+          + "s.v2beta3.PurgeQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}:"
+          + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google."
+          + "cloud.tasks.v2beta3.PauseQueueRequest\032!."
+          + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:"
+          + "\"5/v2beta3/{name=projects/*/locations/*/"
+          + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu"
+          + "e\022..google.cloud.tasks.v2beta3.ResumeQue"
+          + "ueRequest\032!.google.cloud.tasks.v2beta3.Q"
+          + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/"
+          + "locations/*/queues/*}:resume:\001*\332A\004name\022\241"
+          + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo"
+          + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223"
+          + "\002E\"@/v2beta3/{resource=projects/*/locati"
+          + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour"
+          + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI"
+          + "amPolicyRequest\032\025.google.iam.v1.Policy\"]"
+          + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo"
+          + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re"
+          + "source,policy\022\323\001\n\022TestIamPermissions\022(.g"
+          + "oogle.iam.v1.TestIamPermissionsRequest\032)"
+          + ".google.iam.v1.TestIamPermissionsRespons"
+          + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*"
+          + "/locations/*/queues/*}:testIamPermission"
+          + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask"
+          + "s\022,.google.cloud.tasks.v2beta3.ListTasks"
+          + "Request\032-.google.cloud.tasks.v2beta3.Lis"
+          + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent"
+          + "=projects/*/locations/*/queues/*}/tasks\332"
+          + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task"
+          + "s.v2beta3.GetTaskRequest\032 .google.cloud."
+          + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na"
+          + "me=projects/*/locations/*/queues/*/tasks"
+          + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud"
+          + ".tasks.v2beta3.CreateTaskRequest\032 .googl"
+          + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b"
+          + "eta3/{parent=projects/*/locations/*/queu"
+          + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT"
+          + "ask\022-.google.cloud.tasks.v2beta3.DeleteT"
+          + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223"
+          + "\0029*7/v2beta3/{name=projects/*/locations/"
+          + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*"
+          + ".google.cloud.tasks.v2beta3.RunTaskReque"
+          + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323"
+          + "\344\223\002@\";/v2beta3/{name=projects/*/location"
+          + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031"
+          + "cloudtasks.googleapis.com\322A.https://www."
+          + "googleapis.com/auth/cloud-platformB|\n\036co"
+          + "m.google.cloud.tasks.v2beta3B\017CloudTasks"
+          + "ProtoP\001Z?google.golang.org/genproto/goog"
+          + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS"
+          + "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 077c4486..91bd1d65 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index bdfd7d8a..ffa30b22 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 57aa86ab..07fe1038 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 73c305d4..3dca068b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 2e413529..1be3d865 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..1005fb1e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 637d4d5f..23d7d974 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..31df875a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 6deb7db0..22f86ccf 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = + (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = + new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index 334e474b..f8c79d47 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index af9e4c2e..4042daaa 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = + (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = + new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 5ffdb3d2..702b5ba7 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index 56c8b354..f6dd90bc 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 14c36862..55ca2408 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,82 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +177,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +237,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +273,7 @@ public int getNumber() {
    * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -244,14 +282,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +302,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +321,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +380,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +408,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +451,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +484,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +521,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +535,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +545,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +555,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +567,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +575,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +587,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +614,15 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +634,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +642,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +655,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +683,13 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +701,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -668,31 +732,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +767,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.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other =
+        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +828,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +953,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class,
+              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -929,16 +997,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1043,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result =
+          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1074,39 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1122,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1170,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1189,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1202,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1217,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1230,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1245,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1258,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1285,18 @@ public Builder setUrl(
      * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1308,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1325,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1391,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1440,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1468,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1511,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1544,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1582,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1594,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1626,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1667,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1707,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1724,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1732,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1742,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1766,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1794,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1802,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1814,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1832,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1859,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1765,6 +1884,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1899,14 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1922,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1952,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1969,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1994,8 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2008,38 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OAuthToken,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OAuthToken,
+                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2051,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2059,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2072,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2090,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2118,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2132,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2143,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2159,14 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2182,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2213,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2231,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2257,8 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2272,32 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OidcToken,
+                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2307,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2150,16 +2321,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2345,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index 991d24a9..a6be1e13 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -314,5 +363,6 @@ java.lang.String getHeadersOrThrow(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
+      getAuthorizationHeaderCase();
 }
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index 460c3866..c08ca2b9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 3ccd40a9..7d932d07 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index d9110937..fdbf3dd3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index a68c11f8..ac61989f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 8d36fc75..44cfe1ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = + (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = + new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index bfa87b6b..39f56488 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 287e34ea..09f702ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = + (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = + new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 397e65c5..8b9ed0ad 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f0cf2430..f4b3966c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = + (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class,
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +479,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result =
+          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -456,38 +491,39 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +571,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +582,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +597,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +608,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +623,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +634,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +659,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +680,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +697,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +706,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +721,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +730,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +745,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +754,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +777,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +796,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +822,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -780,16 +836,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +860,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 1cf564b9..6409320a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index b1147293..d8ef8572 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +415,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class,
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -405,16 +439,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result =
+          new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -458,38 +492,39 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +572,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +583,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +598,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +609,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +624,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +635,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +660,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +681,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +698,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +721,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +744,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +818,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -777,16 +832,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +856,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 79aa78a6..639b960f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index b5b6cc63..ddd155f1 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..d4fc3a55 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 90f288ff..845fa92d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -32,16 +50,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,24 +77,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,34 +103,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -123,6 +146,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -134,6 +159,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -142,14 +168,15 @@ 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; } } /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -161,16 +188,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -179,6 +205,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -208,8 +234,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -222,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = + (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,97 +277,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** + * + * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -356,21 +387,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class,
+              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -378,16 +411,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -420,7 +452,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result =
+          new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -431,38 +464,39 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,11 +543,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -521,33 +558,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -555,6 +598,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -566,13 +611,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -581,6 +626,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -592,15 +639,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -608,6 +654,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -619,20 +667,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -644,15 +694,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -664,23 +717,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -690,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -704,16 +757,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -728,6 +781,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index d6d53ffb..cfae720a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -29,10 +50,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -44,8 +68,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 7e739e04..78c3ead3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..5a994955 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 3156e1bf..45c41179 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -29,16 +47,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,136 +74,163 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-            if (queueTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              name_ = s;
+              break;
             }
-            queueType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-              queueType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+              if (queueTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              }
+              queueType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+                queueType_ = subBuilder.buildPartial();
+              }
+              queueTypeCase_ = 3;
+              break;
             }
-            queueTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 66:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -194,36 +238,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class,
+            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -232,6 +281,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -246,6 +297,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -256,6 +309,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -277,6 +332,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -285,6 +342,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -299,6 +358,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +370,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,7 +390,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -352,50 +414,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -413,15 +476,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -430,6 +496,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * A pull queue.
      * 
@@ -438,6 +506,8 @@ public enum Type */ PULL(1), /** + * + * *
      * A push queue.
      * 
@@ -449,6 +519,8 @@ public enum Type ; /** + * + * *
      * Default value.
      * 
@@ -457,6 +529,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A pull queue.
      * 
@@ -465,6 +539,8 @@ public enum Type */ public static final int PULL_VALUE = 1; /** + * + * *
      * A push queue.
      * 
@@ -473,7 +549,6 @@ public enum Type */ public static final int PUSH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -498,49 +573,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return PULL; - case 2: return PUSH; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return PULL; + case 2: + return PUSH; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -559,12 +634,15 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; + public enum QueueTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; + private QueueTypeCase(int value) { this.value = value; } @@ -580,25 +658,29 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: return APP_ENGINE_HTTP_QUEUE; - case 0: return QUEUETYPE_NOT_SET; - default: return null; + case 3: + return APP_ENGINE_HTTP_QUEUE; + case 0: + return QUEUETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueueTypeCase - getQueueTypeCase() { - return QueueTypeCase.forNumber( - queueTypeCase_); + public QueueTypeCase getQueueTypeCase() { + return QueueTypeCase.forNumber(queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -619,6 +701,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -627,14 +710,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -655,16 +739,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -674,6 +757,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -681,6 +766,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -688,6 +774,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -695,16 +783,19 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -714,9 +805,10 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+      getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -724,6 +816,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -748,6 +842,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -755,6 +850,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -779,13 +876,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -819,6 +921,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -832,6 +936,7 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -839,6 +944,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -852,13 +959,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -881,6 +993,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -891,12 +1005,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -907,17 +1025,22 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -930,6 +1053,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -937,6 +1061,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -949,6 +1075,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ @java.lang.Override @@ -956,6 +1083,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -977,6 +1106,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -991,6 +1122,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -998,6 +1130,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1012,6 +1146,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ @java.lang.Override @@ -1019,6 +1154,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1042,6 +1179,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1054,6 +1193,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1061,6 +1201,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1073,13 +1215,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1101,13 +1248,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1115,36 +1266,48 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1152,13 +1315,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1166,25 +1335,35 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -1192,13 +1371,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1206,13 +1390,17 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1220,6 +1408,7 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1231,8 +1420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1279,44 +1467,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getStackdriverLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1326,57 +1508,48 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig() - .equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue() - .equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1439,97 +1612,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1538,21 +1717,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class,
+              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1560,16 +1741,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1627,9 +1807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1703,38 +1883,39 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1775,13 +1956,15 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE: {
-          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-          break;
-        }
-        case QUEUETYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_QUEUE:
+          {
+            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+            break;
+          }
+        case QUEUETYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1811,12 +1994,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-    public QueueTypeCase
-        getQueueTypeCase() {
-      return QueueTypeCase.forNumber(
-          queueTypeCase_);
+
+    public QueueTypeCase getQueueTypeCase() {
+      return QueueTypeCase.forNumber(queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -1826,9 +2009,10 @@ public Builder clearQueueType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1849,13 +2033,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -1864,6 +2048,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1884,15 +2070,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1900,6 +2085,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1920,20 +2107,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1954,15 +2143,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1983,24 +2175,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> + appEngineHttpQueueBuilder_; /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2008,6 +2205,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2015,6 +2213,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2022,6 +2222,7 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2039,6 +2240,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2061,6 +2264,8 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2081,6 +2286,8 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2089,12 +2296,17 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3 &&
-            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-              .mergeFrom(value).buildPartial();
+        if (queueTypeCase_ == 3
+            && queueType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2110,6 +2322,8 @@ public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2135,6 +2349,8 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2143,10 +2359,13 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
+        getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2156,7 +2375,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHtt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+        getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2167,6 +2387,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
       }
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2176,28 +2398,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2222,12 +2455,15 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2252,16 +2488,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2301,6 +2542,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2338,6 +2581,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2367,7 +2612,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2379,6 +2626,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2416,6 +2665,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2442,11 +2693,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2476,11 +2729,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2507,14 +2763,17 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RateLimits,
+                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2522,8 +2781,13 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,12 +2801,15 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2556,16 +2823,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2594,6 +2866,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2620,6 +2894,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2638,7 +2914,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2650,6 +2928,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2676,6 +2956,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2691,11 +2973,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2714,11 +2998,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2734,14 +3021,17 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RetryConfig,
+                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2749,6 +3039,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2759,12 +3051,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2775,16 +3071,19 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2795,15 +3094,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2814,6 +3117,7 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2821,12 +3125,14 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2837,10 +3143,11 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2848,8 +3155,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2862,12 +3174,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2880,6 +3195,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2890,6 +3206,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2917,6 +3235,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2930,8 +3250,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2942,6 +3261,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2959,7 +3280,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2971,6 +3292,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2996,6 +3319,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3010,11 +3335,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3032,11 +3359,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3051,14 +3379,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3066,8 +3397,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3082,12 +3418,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3102,6 +3441,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3112,6 +3452,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,6 +3483,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3156,8 +3500,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3168,6 +3511,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3187,7 +3532,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3199,6 +3544,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3226,6 +3573,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3242,11 +3591,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3266,11 +3617,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3287,14 +3639,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3302,8 +3657,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3316,12 +3676,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3334,16 +3697,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3371,6 +3739,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3384,8 +3754,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3396,6 +3765,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3413,7 +3784,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3425,6 +3798,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3450,6 +3825,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3464,11 +3841,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3486,11 +3865,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3505,14 +3887,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3520,47 +3905,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3574,13 +3976,16 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stackd return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3594,19 +3999,26 @@ public Builder setStackdriverLoggingConfig( return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( + stackdriverLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -3618,13 +4030,16 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stac return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -3638,54 +4053,69 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder + getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null ? - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), - getParentForChildren(), - isClean()); + stackdriverLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), getParentForChildren(), isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -3693,6 +4123,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack private int type_ = 0; /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3700,13 +4132,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3714,17 +4152,22 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @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; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3732,16 +4175,22 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3749,7 +4198,10 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -3757,12 +4209,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3770,11 +4224,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -3782,45 +4239,64 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -3836,16 +4312,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3856,19 +4335,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3880,13 +4365,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3900,61 +4389,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3964,12 +4469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -3978,16 +4483,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4002,6 +4507,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index f85deb76..cc0ff52c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -65,10 +88,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -76,10 +102,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -91,6 +120,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -115,10 +146,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -143,10 +177,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -175,6 +212,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -188,10 +227,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -205,10 +247,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -226,6 +271,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -236,10 +283,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -250,11 +300,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -267,10 +320,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -283,10 +339,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -303,6 +362,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -317,10 +378,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -335,10 +399,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -357,6 +424,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -369,10 +438,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -385,10 +457,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -405,39 +480,53 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -445,11 +534,16 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -457,41 +551,58 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..6e32a784 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,188 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta3_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpQueue", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "StackdriverLoggingConfig", + "Type", + "Stats", + "QueueType", + }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { + "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", + }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", + }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { + "SamplingRatio", + }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 6897da96..978a5c1e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = + (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = + new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 8a467ec6..2ae27c91 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index ef9eedb4..dad67fef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -120,6 +140,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -130,6 +151,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,20 +268,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = + (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +292,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +413,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class,
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -404,16 +437,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -448,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result =
+          new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -460,38 +493,39 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +572,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -552,6 +588,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -559,6 +596,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -571,16 +610,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -593,17 +635,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -635,6 +680,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -642,6 +688,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -673,16 +721,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +765,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +793,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +801,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +817,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +844,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -818,16 +879,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index bcb32f76..98144881 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -20,11 +38,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 6a69efc9..7b20829a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9a447341 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index c721a7bb..dda88aec 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = + (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +576,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +681,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class,
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -649,16 +705,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +764,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result =
+          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +791,39 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +876,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +894,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +902,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +918,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +945,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +957,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +981,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1007,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1054,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1074,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1085,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1109,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1123,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1155,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1176,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1205,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1232,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1250,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1171,12 +1272,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1192,16 +1296,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1232,6 +1341,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1248,8 +1359,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1370,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1280,7 +1392,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1404,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1320,6 +1434,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1337,11 +1453,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1362,11 +1480,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1384,14 +1505,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1523,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1416,12 +1545,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1437,16 +1569,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1477,6 +1614,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1493,8 +1632,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1643,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1525,7 +1665,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1677,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1565,6 +1707,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1582,11 +1726,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1607,11 +1753,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1629,21 +1778,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1823,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1831,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1858,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1896,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1770,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1955,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 16a45225..29a36745 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7077ce..8e7d1959 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = + (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 019bc5fa..1bb6a94d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d34e7cc2..d80fab89 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,114 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +305,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +329,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +368,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +379,39 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +419,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +443,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +454,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +466,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +474,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +484,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +505,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -496,16 +540,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +564,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index 2a730069..ed2107ed 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..b76a8c8c --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,201 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 24c1dc31..03927a4e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,142 +71,168 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - dispatchCount_ = input.readInt32(); - break; - } - case 56: { - - responseCount_ = input.readInt32(); - break; - } - case 66: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); + break; } - - break; - } - case 74: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); + case 48: + { + dispatchCount_ = input.readInt32(); + break; } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + case 56: + { + responseCount_ = input.readInt32(); + break; } + case 66: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } - break; - } - case 80: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - case 90: { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } - payloadTypeCase_ = 11; - break; - } - case 98: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 80: + { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 11; + break; } + case 98: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 106: + { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 13; + break; } - payloadTypeCase_ = 13; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -197,27 +240,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -229,9 +276,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -240,6 +288,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -254,6 +304,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -268,6 +320,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -276,6 +330,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,6 +346,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -301,7 +359,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -326,49 +383,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -387,14 +444,17 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -410,27 +470,33 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 11: return HTTP_REQUEST;
-        case 13: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 11:
+          return HTTP_REQUEST;
+        case 13:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -452,6 +518,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -460,14 +527,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -489,16 +557,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -508,12 +575,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -521,22 +591,27 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -545,21 +620,25 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -567,22 +646,27 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -593,13 +677,15 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -611,6 +697,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -618,6 +705,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -629,16 +718,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -654,7 +746,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -662,6 +754,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -669,6 +763,7 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -676,6 +771,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -683,13 +780,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -706,12 +808,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -719,12 +824,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -732,6 +840,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -747,6 +857,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -777,6 +889,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -784,6 +897,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -814,13 +929,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -860,6 +980,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -867,6 +989,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -877,11 +1000,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -892,6 +1018,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -899,6 +1027,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -906,6 +1035,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -913,13 +1044,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -936,11 +1072,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -948,18 +1087,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -974,33 +1120,43 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1012,8 +1168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1063,48 +1218,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1114,58 +1264,47 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -1230,118 +1369,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1349,16 +1496,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1406,9 +1552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1487,38 +1633,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); } else { super.mergeFrom(other); return this; @@ -1556,21 +1703,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1600,12 +1751,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1615,9 +1766,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1639,13 +1791,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1654,6 +1806,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1675,15 +1829,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1691,6 +1844,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1712,20 +1867,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1747,15 +1904,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1777,30 +1937,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1808,12 +1974,15 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1831,6 +2000,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1838,7 +2009,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1852,6 +2024,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1871,6 +2045,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1878,12 +2054,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1899,6 +2080,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1923,6 +2106,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1930,10 +2115,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1942,7 +2130,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1953,6 +2142,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1961,33 +2152,45 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1995,12 +2198,15 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override @@ -2018,6 +2224,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2039,6 +2247,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2058,6 +2268,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2067,10 +2279,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 11
+            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2086,6 +2301,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2110,6 +2327,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2121,6 +2340,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2140,6 +2361,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2148,27 +2371,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.HttpRequest,
+                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2180,6 +2414,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2187,6 +2422,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2198,6 +2435,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override @@ -2215,6 +2453,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2241,6 +2481,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2265,6 +2507,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2279,10 +2523,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 13
+            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2298,6 +2545,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2327,6 +2576,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2343,6 +2594,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2367,6 +2620,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2380,28 +2635,39 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.PullMessage,
+                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2409,12 +2675,15 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2422,16 +2691,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2454,6 +2728,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2462,8 +2738,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2474,6 +2749,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2486,7 +2763,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2498,6 +2777,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2518,6 +2799,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2527,11 +2810,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2544,11 +2829,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2558,14 +2846,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2573,36 +2864,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2624,6 +2928,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2631,8 +2937,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2643,6 +2948,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2654,7 +2961,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;
         }
@@ -2666,6 +2973,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2685,6 +2994,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2693,11 +3004,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2709,11 +3022,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2722,14 +3038,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2737,8 +3056,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2769,12 +3093,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2805,16 +3132,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2860,6 +3192,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2891,8 +3225,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2903,6 +3236,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2938,7 +3273,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2950,6 +3287,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2993,6 +3332,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3025,11 +3366,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3065,11 +3408,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3102,21 +3448,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3124,6 +3475,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -3131,6 +3483,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3138,16 +3492,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3155,22 +3512,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -3178,30 +3539,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3209,8 +3576,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3218,12 +3590,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3231,16 +3606,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3263,6 +3643,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3271,8 +3653,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3283,6 +3664,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3295,7 +3678,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3307,6 +3692,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3327,6 +3714,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3336,11 +3725,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3353,11 +3744,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3367,14 +3761,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.Attempt,
+                com.google.cloud.tasks.v2beta3.Attempt.Builder,
+                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3382,34 +3779,47 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3430,14 +3840,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3448,6 +3859,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3458,7 +3871,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3470,6 +3885,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3488,6 +3905,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3495,11 +3914,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3510,11 +3931,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3522,14 +3946,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3537,55 +3964,69 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3593,29 +4034,32 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3625,12 +4069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -3639,16 +4083,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3663,6 +4107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 9eec5440..674d4ee6 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -120,6 +157,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -131,10 +170,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -146,10 +188,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -165,6 +210,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -172,10 +219,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -183,10 +233,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -198,26 +251,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -228,6 +289,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -258,10 +321,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -292,10 +358,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -330,6 +399,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -337,21 +408,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -359,10 +436,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -370,10 +450,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -385,24 +468,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -412,22 +503,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..e57410e2 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 635a81c9..0721b5ef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 33a0c511..3e6869a9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto

From 81848711e4b81cb16a2ca647cb6d9a7d45e5ef89 Mon Sep 17 00:00:00 2001
From: Owl Bot 
Date: Fri, 10 Jun 2022 00:56:03 +0000
Subject: [PATCH 3/7] chore: Integrate new gapic-generator-java and rules_gapic

PiperOrigin-RevId: 454027580

Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9
---
 .../cloud/tasks/v2/CloudTasksClient.java      |   57 +-
 .../cloud/tasks/v2/CloudTasksSettings.java    |    7 +-
 .../google/cloud/tasks/v2/gapic_metadata.json |    0
 .../google/cloud/tasks/v2/package-info.java   |    0
 .../cloud/tasks/v2/stub/CloudTasksStub.java   |    0
 .../tasks/v2/stub/CloudTasksStubSettings.java |    6 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../tasks/v2/stub/GrpcCloudTasksStub.java     |    1 +
 .../cloud/tasks/v2/CloudTasksClientTest.java  |    0
 .../google/cloud/tasks/v2/MockCloudTasks.java |    0
 .../cloud/tasks/v2/MockCloudTasksImpl.java    |    0
 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 +++++--------
 .../cloud/tasks/v2/AppEngineHttpRequest.java  |  756 +++----
 .../v2/AppEngineHttpRequestOrBuilder.java     |   75 +-
 .../cloud/tasks/v2/AppEngineRouting.java      |  540 +++--
 .../tasks/v2/AppEngineRoutingOrBuilder.java   |   54 +-
 .../com/google/cloud/tasks/v2/Attempt.java    |  616 ++----
 .../cloud/tasks/v2/AttemptOrBuilder.java      |   50 +-
 .../cloud/tasks/v2/CloudTasksProto.java       |  349 ++++
 .../cloud/tasks/v2/CreateQueueRequest.java    |  444 ++--
 .../tasks/v2/CreateQueueRequestOrBuilder.java |   43 +-
 .../cloud/tasks/v2/CreateTaskRequest.java     |  473 ++---
 .../tasks/v2/CreateTaskRequestOrBuilder.java  |   49 +-
 .../cloud/tasks/v2/DeleteQueueRequest.java    |  329 ++-
 .../tasks/v2/DeleteQueueRequestOrBuilder.java |   31 +
 .../cloud/tasks/v2/DeleteTaskRequest.java     |  329 ++-
 .../tasks/v2/DeleteTaskRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2/GetQueueRequest.java       |  329 ++-
 .../tasks/v2/GetQueueRequestOrBuilder.java    |   31 +
 .../google/cloud/tasks/v2/GetTaskRequest.java |  382 ++--
 .../tasks/v2/GetTaskRequestOrBuilder.java     |   41 +-
 .../com/google/cloud/tasks/v2/HttpMethod.java |  117 +-
 .../google/cloud/tasks/v2/HttpRequest.java    |  910 ++++----
 .../cloud/tasks/v2/HttpRequestOrBuilder.java  |   83 +-
 .../cloud/tasks/v2/ListQueuesRequest.java     |  523 ++---
 .../tasks/v2/ListQueuesRequestOrBuilder.java  |   56 +-
 .../cloud/tasks/v2/ListQueuesResponse.java    |  454 ++--
 .../tasks/v2/ListQueuesResponseOrBuilder.java |   46 +-
 .../cloud/tasks/v2/ListTasksRequest.java      |  498 ++---
 .../tasks/v2/ListTasksRequestOrBuilder.java   |   53 +-
 .../cloud/tasks/v2/ListTasksResponse.java     |  454 ++--
 .../tasks/v2/ListTasksResponseOrBuilder.java  |   46 +-
 .../google/cloud/tasks/v2/LocationName.java   |    0
 .../com/google/cloud/tasks/v2/OAuthToken.java |  373 ++--
 .../cloud/tasks/v2/OAuthTokenOrBuilder.java   |   36 +-
 .../com/google/cloud/tasks/v2/OidcToken.java  |  373 ++--
 .../cloud/tasks/v2/OidcTokenOrBuilder.java    |   36 +-
 .../cloud/tasks/v2/PauseQueueRequest.java     |  329 ++-
 .../tasks/v2/PauseQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2/PurgeQueueRequest.java     |  329 ++-
 .../tasks/v2/PurgeQueueRequestOrBuilder.java  |   31 +
 .../java/com/google/cloud/tasks/v2/Queue.java |  934 +++------
 .../com/google/cloud/tasks/v2/QueueName.java  |    0
 .../google/cloud/tasks/v2/QueueOrBuilder.java |   76 +-
 .../com/google/cloud/tasks/v2/QueueProto.java |  122 ++
 .../com/google/cloud/tasks/v2/RateLimits.java |  326 ++-
 .../cloud/tasks/v2/RateLimitsOrBuilder.java   |   27 +-
 .../cloud/tasks/v2/ResumeQueueRequest.java    |  329 ++-
 .../tasks/v2/ResumeQueueRequestOrBuilder.java |   31 +
 .../google/cloud/tasks/v2/RetryConfig.java    |  579 ++----
 .../cloud/tasks/v2/RetryConfigOrBuilder.java  |   48 +-
 .../google/cloud/tasks/v2/RunTaskRequest.java |  382 ++--
 .../tasks/v2/RunTaskRequestOrBuilder.java     |   41 +-
 .../tasks/v2/StackdriverLoggingConfig.java    |  275 ++-
 .../v2/StackdriverLoggingConfigOrBuilder.java |   21 +-
 .../google/cloud/tasks/v2/TargetProto.java    |  148 ++
 .../java/com/google/cloud/tasks/v2/Task.java  | 1234 ++++-------
 .../com/google/cloud/tasks/v2/TaskName.java   |    0
 .../google/cloud/tasks/v2/TaskOrBuilder.java  |   95 +-
 .../com/google/cloud/tasks/v2/TaskProto.java  |  102 +
 .../cloud/tasks/v2/UpdateQueueRequest.java    |  436 ++--
 .../tasks/v2/UpdateQueueRequestOrBuilder.java |   34 +-
 .../google/cloud/tasks/v2/cloudtasks.proto    |    0
 .../proto/google/cloud/tasks/v2/queue.proto   |    0
 .../proto/google/cloud/tasks/v2/target.proto  |    0
 .../proto/google/cloud/tasks/v2/task.proto    |    0
 .../cloud/tasks/v2beta2/CloudTasksClient.java |   73 +-
 .../tasks/v2beta2/CloudTasksSettings.java     |    7 +-
 .../cloud/tasks/v2beta2/gapic_metadata.json   |    0
 .../cloud/tasks/v2beta2/package-info.java     |    0
 .../tasks/v2beta2/stub/CloudTasksStub.java    |    0
 .../v2beta2/stub/CloudTasksStubSettings.java  |    6 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../v2beta2/stub/GrpcCloudTasksStub.java      |    1 +
 .../tasks/v2beta2/CloudTasksClientTest.java   |    0
 .../cloud/tasks/v2beta2/MockCloudTasks.java   |    0
 .../tasks/v2beta2/MockCloudTasksImpl.java     |    0
 .../cloud/tasks/v2beta2/CloudTasksGrpc.java   | 1823 ++++++-----------
 .../tasks/v2beta2/AcknowledgeTaskRequest.java |  478 ++---
 .../AcknowledgeTaskRequestOrBuilder.java      |   52 +-
 .../tasks/v2beta2/AppEngineHttpRequest.java   |  772 +++----
 .../AppEngineHttpRequestOrBuilder.java        |   75 +-
 .../tasks/v2beta2/AppEngineHttpTarget.java    |  352 ++--
 .../v2beta2/AppEngineHttpTargetOrBuilder.java |   26 +-
 .../cloud/tasks/v2beta2/AppEngineRouting.java |  543 +++--
 .../v2beta2/AppEngineRoutingOrBuilder.java    |   54 +-
 .../cloud/tasks/v2beta2/AttemptStatus.java    |  623 ++----
 .../tasks/v2beta2/AttemptStatusOrBuilder.java |   50 +-
 .../tasks/v2beta2/CancelLeaseRequest.java     |  531 ++---
 .../v2beta2/CancelLeaseRequestOrBuilder.java  |   58 +-
 .../cloud/tasks/v2beta2/CloudTasksProto.java  |  462 +++++
 .../tasks/v2beta2/CreateQueueRequest.java     |  466 ++---
 .../v2beta2/CreateQueueRequestOrBuilder.java  |   52 +-
 .../tasks/v2beta2/CreateTaskRequest.java      |  517 ++---
 .../v2beta2/CreateTaskRequestOrBuilder.java   |   58 +-
 .../tasks/v2beta2/DeleteQueueRequest.java     |  339 ++-
 .../v2beta2/DeleteQueueRequestOrBuilder.java  |   31 +
 .../tasks/v2beta2/DeleteTaskRequest.java      |  336 ++-
 .../v2beta2/DeleteTaskRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta2/GetQueueRequest.java  |  453 ++--
 .../v2beta2/GetQueueRequestOrBuilder.java     |   52 +-
 .../cloud/tasks/v2beta2/GetTaskRequest.java   |  385 ++--
 .../v2beta2/GetTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta2/HttpMethod.java       |  103 +-
 .../tasks/v2beta2/LeaseTasksRequest.java      |  639 +++---
 .../v2beta2/LeaseTasksRequestOrBuilder.java   |   70 +-
 .../tasks/v2beta2/LeaseTasksResponse.java     |  380 ++--
 .../v2beta2/LeaseTasksResponseOrBuilder.java  |   37 +-
 .../tasks/v2beta2/ListQueuesRequest.java      |  652 +++---
 .../v2beta2/ListQueuesRequestOrBuilder.java   |   73 +-
 .../tasks/v2beta2/ListQueuesResponse.java     |  459 ++---
 .../v2beta2/ListQueuesResponseOrBuilder.java  |   46 +-
 .../cloud/tasks/v2beta2/ListTasksRequest.java |  501 ++---
 .../v2beta2/ListTasksRequestOrBuilder.java    |   53 +-
 .../tasks/v2beta2/ListTasksResponse.java      |  456 ++---
 .../v2beta2/ListTasksResponseOrBuilder.java   |   46 +-
 .../cloud/tasks/v2beta2/LocationName.java     |    0
 .../tasks/v2beta2/PauseQueueRequest.java      |  336 ++-
 .../v2beta2/PauseQueueRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta2/PullMessage.java      |  337 ++-
 .../tasks/v2beta2/PullMessageOrBuilder.java   |   30 +-
 .../cloud/tasks/v2beta2/PullTarget.java       |  225 +-
 .../tasks/v2beta2/PullTargetOrBuilder.java    |    9 +
 .../tasks/v2beta2/PurgeQueueRequest.java      |  336 ++-
 .../v2beta2/PurgeQueueRequestOrBuilder.java   |   31 +
 .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++--------
 .../google/cloud/tasks/v2beta2/QueueName.java |    0
 .../cloud/tasks/v2beta2/QueueOrBuilder.java   |  109 +-
 .../cloud/tasks/v2beta2/QueueProto.java       |  140 ++
 .../cloud/tasks/v2beta2/QueueStats.java       |  552 ++---
 .../tasks/v2beta2/QueueStatsOrBuilder.java    |   53 +-
 .../cloud/tasks/v2beta2/RateLimits.java       |  334 ++-
 .../tasks/v2beta2/RateLimitsOrBuilder.java    |   27 +-
 .../tasks/v2beta2/RenewLeaseRequest.java      |  664 +++---
 .../v2beta2/RenewLeaseRequestOrBuilder.java   |   75 +-
 .../tasks/v2beta2/ResumeQueueRequest.java     |  339 ++-
 .../v2beta2/ResumeQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2beta2/RetryConfig.java      |  690 +++----
 .../tasks/v2beta2/RetryConfigOrBuilder.java   |   57 +-
 .../cloud/tasks/v2beta2/RunTaskRequest.java   |  385 ++--
 .../v2beta2/RunTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta2/TargetProto.java      |  125 ++
 .../com/google/cloud/tasks/v2beta2/Task.java  |  986 ++++-----
 .../google/cloud/tasks/v2beta2/TaskName.java  |    0
 .../cloud/tasks/v2beta2/TaskOrBuilder.java    |   73 +-
 .../google/cloud/tasks/v2beta2/TaskProto.java |  116 ++
 .../cloud/tasks/v2beta2/TaskStatus.java       |  487 ++---
 .../tasks/v2beta2/TaskStatusOrBuilder.java    |   40 +-
 .../tasks/v2beta2/UpdateQueueRequest.java     |  458 ++---
 .../v2beta2/UpdateQueueRequestOrBuilder.java  |   43 +-
 .../cloud/tasks/v2beta2/cloudtasks.proto      |    0
 .../google/cloud/tasks/v2beta2/queue.proto    |    0
 .../google/cloud/tasks/v2beta2/target.proto   |    0
 .../google/cloud/tasks/v2beta2/task.proto     |    0
 .../cloud/tasks/v2beta3/CloudTasksClient.java |   57 +-
 .../tasks/v2beta3/CloudTasksSettings.java     |    7 +-
 .../cloud/tasks/v2beta3/gapic_metadata.json   |    0
 .../cloud/tasks/v2beta3/package-info.java     |    0
 .../tasks/v2beta3/stub/CloudTasksStub.java    |    0
 .../v2beta3/stub/CloudTasksStubSettings.java  |    6 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../v2beta3/stub/GrpcCloudTasksStub.java      |    1 +
 .../tasks/v2beta3/CloudTasksClientTest.java   |    0
 .../cloud/tasks/v2beta3/MockCloudTasks.java   |    0
 .../tasks/v2beta3/MockCloudTasksImpl.java     |    0
 .../cloud/tasks/v2beta3/CloudTasksGrpc.java   | 1473 +++++--------
 .../tasks/v2beta3/AppEngineHttpQueue.java     |  352 ++--
 .../v2beta3/AppEngineHttpQueueOrBuilder.java  |   26 +-
 .../tasks/v2beta3/AppEngineHttpRequest.java   |  772 +++----
 .../AppEngineHttpRequestOrBuilder.java        |   75 +-
 .../cloud/tasks/v2beta3/AppEngineRouting.java |  543 +++--
 .../v2beta3/AppEngineRoutingOrBuilder.java    |   54 +-
 .../google/cloud/tasks/v2beta3/Attempt.java   |  616 ++----
 .../cloud/tasks/v2beta3/AttemptOrBuilder.java |   50 +-
 .../cloud/tasks/v2beta3/CloudTasksProto.java  |  359 ++++
 .../tasks/v2beta3/CreateQueueRequest.java     |  466 ++---
 .../v2beta3/CreateQueueRequestOrBuilder.java  |   52 +-
 .../tasks/v2beta3/CreateTaskRequest.java      |  517 ++---
 .../v2beta3/CreateTaskRequestOrBuilder.java   |   58 +-
 .../tasks/v2beta3/DeleteQueueRequest.java     |  339 ++-
 .../v2beta3/DeleteQueueRequestOrBuilder.java  |   31 +
 .../tasks/v2beta3/DeleteTaskRequest.java      |  336 ++-
 .../v2beta3/DeleteTaskRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta3/GetQueueRequest.java  |  453 ++--
 .../v2beta3/GetQueueRequestOrBuilder.java     |   52 +-
 .../cloud/tasks/v2beta3/GetTaskRequest.java   |  385 ++--
 .../v2beta3/GetTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta3/HttpMethod.java       |  117 +-
 .../cloud/tasks/v2beta3/HttpRequest.java      |  919 ++++-----
 .../tasks/v2beta3/HttpRequestOrBuilder.java   |   86 +-
 .../tasks/v2beta3/ListQueuesRequest.java      |  652 +++---
 .../v2beta3/ListQueuesRequestOrBuilder.java   |   73 +-
 .../tasks/v2beta3/ListQueuesResponse.java     |  459 ++---
 .../v2beta3/ListQueuesResponseOrBuilder.java  |   46 +-
 .../cloud/tasks/v2beta3/ListTasksRequest.java |  501 ++---
 .../v2beta3/ListTasksRequestOrBuilder.java    |   53 +-
 .../tasks/v2beta3/ListTasksResponse.java      |  456 ++---
 .../v2beta3/ListTasksResponseOrBuilder.java   |   46 +-
 .../cloud/tasks/v2beta3/LocationName.java     |    0
 .../cloud/tasks/v2beta3/OAuthToken.java       |  380 ++--
 .../tasks/v2beta3/OAuthTokenOrBuilder.java    |   36 +-
 .../google/cloud/tasks/v2beta3/OidcToken.java |  377 ++--
 .../tasks/v2beta3/OidcTokenOrBuilder.java     |   36 +-
 .../tasks/v2beta3/PauseQueueRequest.java      |  336 ++-
 .../v2beta3/PauseQueueRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta3/PullMessage.java      |  337 ++-
 .../tasks/v2beta3/PullMessageOrBuilder.java   |   30 +-
 .../tasks/v2beta3/PurgeQueueRequest.java      |  336 ++-
 .../v2beta3/PurgeQueueRequestOrBuilder.java   |   31 +
 .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++---------
 .../google/cloud/tasks/v2beta3/QueueName.java |    0
 .../cloud/tasks/v2beta3/QueueOrBuilder.java   |  135 +-
 .../cloud/tasks/v2beta3/QueueProto.java       |  154 ++
 .../cloud/tasks/v2beta3/QueueStats.java       |  552 ++---
 .../tasks/v2beta3/QueueStatsOrBuilder.java    |   53 +-
 .../cloud/tasks/v2beta3/RateLimits.java       |  333 ++-
 .../tasks/v2beta3/RateLimitsOrBuilder.java    |   27 +-
 .../tasks/v2beta3/ResumeQueueRequest.java     |  339 ++-
 .../v2beta3/ResumeQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2beta3/RetryConfig.java      |  583 ++----
 .../tasks/v2beta3/RetryConfigOrBuilder.java   |   48 +-
 .../cloud/tasks/v2beta3/RunTaskRequest.java   |  385 ++--
 .../v2beta3/RunTaskRequestOrBuilder.java      |   41 +-
 .../v2beta3/StackdriverLoggingConfig.java     |  278 ++-
 .../StackdriverLoggingConfigOrBuilder.java    |   21 +-
 .../cloud/tasks/v2beta3/TargetProto.java      |  170 ++
 .../com/google/cloud/tasks/v2beta3/Task.java  | 1360 +++++-------
 .../google/cloud/tasks/v2beta3/TaskName.java  |    0
 .../cloud/tasks/v2beta3/TaskOrBuilder.java    |  103 +-
 .../google/cloud/tasks/v2beta3/TaskProto.java |  108 +
 .../tasks/v2beta3/UpdateQueueRequest.java     |  458 ++---
 .../v2beta3/UpdateQueueRequestOrBuilder.java  |   43 +-
 .../cloud/tasks/v2beta3/cloudtasks.proto      |    0
 .../google/cloud/tasks/v2beta3/queue.proto    |    0
 .../google/cloud/tasks/v2beta3/target.proto   |    0
 .../google/cloud/tasks/v2beta3/task.proto     |    0
 .../cloud/tasks/v2/CloudTasksProto.java       |  378 ----
 .../tasks/v2/DeleteQueueRequestOrBuilder.java |   56 -
 .../tasks/v2/DeleteTaskRequestOrBuilder.java  |   56 -
 .../tasks/v2/GetQueueRequestOrBuilder.java    |   56 -
 .../tasks/v2/PauseQueueRequestOrBuilder.java  |   56 -
 .../tasks/v2/PurgeQueueRequestOrBuilder.java  |   56 -
 .../com/google/cloud/tasks/v2/QueueProto.java |  146 --
 .../tasks/v2/ResumeQueueRequestOrBuilder.java |   56 -
 .../google/cloud/tasks/v2/TargetProto.java    |  177 --
 .../com/google/cloud/tasks/v2/TaskProto.java  |  129 --
 .../cloud/tasks/v2beta2/CloudTasksProto.java  |  496 -----
 .../v2beta2/DeleteQueueRequestOrBuilder.java  |   56 -
 .../v2beta2/DeleteTaskRequestOrBuilder.java   |   56 -
 .../v2beta2/PauseQueueRequestOrBuilder.java   |   56 -
 .../tasks/v2beta2/PullTargetOrBuilder.java    |   24 -
 .../v2beta2/PurgeQueueRequestOrBuilder.java   |   56 -
 .../cloud/tasks/v2beta2/QueueProto.java       |  178 --
 .../v2beta2/ResumeQueueRequestOrBuilder.java  |   56 -
 .../cloud/tasks/v2beta2/TargetProto.java      |  145 --
 .../google/cloud/tasks/v2beta2/TaskProto.java |  143 --
 .../cloud/tasks/v2beta3/CloudTasksProto.java  |  388 ----
 .../v2beta3/DeleteQueueRequestOrBuilder.java  |   56 -
 .../v2beta3/DeleteTaskRequestOrBuilder.java   |   56 -
 .../v2beta3/PauseQueueRequestOrBuilder.java   |   56 -
 .../v2beta3/PurgeQueueRequestOrBuilder.java   |   56 -
 .../cloud/tasks/v2beta3/QueueProto.java       |  188 --
 .../v2beta3/ResumeQueueRequestOrBuilder.java  |   56 -
 .../cloud/tasks/v2beta3/TargetProto.java      |  201 --
 .../google/cloud/tasks/v2beta3/TaskProto.java |  136 --
 275 files changed, 22551 insertions(+), 37519 deletions(-)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (97%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2 => owl-bot-staging/v2/grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (97%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%)
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java

diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
index 15796d95..61ef0096 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
+++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
@@ -64,13 +64,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -296,7 +296,7 @@ public final UnaryCallable listQueue * .build(); * while (true) { * ListQueuesResponse response = cloudTasksClient.listQueuesCallable().call(request); - * for (Queue element : response.getResponsesList()) { + * for (Queue element : response.getQueuesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1177,7 +1177,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1212,7 +1212,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1244,7 +1244,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1269,10 +1269,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1282,7 +1278,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1318,7 +1314,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1361,7 +1357,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1401,7 +1397,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1427,10 +1423,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1443,7 +1435,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1580,11 +1572,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1781,7 +1768,7 @@ public final UnaryCallable listTasksPa * .build(); * while (true) { * ListTasksResponse response = cloudTasksClient.listTasksCallable().call(request); - * for (Task element : response.getResponsesList()) { + * for (Task element : response.getTasksList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1903,7 +1890,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1962,7 +1949,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2018,7 +2005,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2050,7 +2037,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2398,10 +2385,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2448,10 +2432,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 97% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index 433cfa77..f9df6d64 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.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.tasks.v2.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index 53e34f71..3b96cadf 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java index b0a36eed..7d1310a2 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java @@ -53,6 +53,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index 7ce92264..e774c26c 100644 --- a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,733 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListQueuesRequest,
-            com.google.cloud.tasks.v2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -776,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -801,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -824,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -841,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -859,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -882,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -902,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -923,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -942,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -963,43 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1007,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1038,167 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1212,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1239,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1264,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1283,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1302,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1326,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1348,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1371,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1392,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1415,46 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1462,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1494,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1503,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1523,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1565,15 +1283,12 @@ public com.google.cloud.tasks.v2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1589,15 +1304,12 @@ public com.google.cloud.tasks.v2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1611,15 +1323,12 @@ public com.google.cloud.tasks.v2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1627,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1645,15 +1351,12 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1668,15 +1371,12 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1693,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1712,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1723,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1742,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,15 +1470,12 @@ public com.google.cloud.tasks.v2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1817,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask( - com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1887,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1911,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1933,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1949,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1967,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1990,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2009,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -2029,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2047,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -2067,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2119,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2143,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2167,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2185,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2283,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2327,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
similarity index 82%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
index bb0cf20e..6f52ba89 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -75,16 +58,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -93,15 +75,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -121,62 +104,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -184,44 +161,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -260,22 +230,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -285,7 +250,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -293,8 +257,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -304,18 +266,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -334,8 +291,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -345,7 +300,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -354,15 +308,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -372,15 +325,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -389,23 +343,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -414,8 +369,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -454,22 +407,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -509,12 +462,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -554,16 +506,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -603,11 +555,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -617,8 +570,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -626,7 +577,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -635,7 +585,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -647,7 +596,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 (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -657,8 +607,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -672,26 +626,29 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -701,22 +658,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -747,104 +707,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -899,43 +852,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -943,15 +896,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -972,9 +926,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -993,8 +947,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1014,39 +967,38 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1065,7 +1017,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1097,13 +1050,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1118,16 +1068,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1088,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1169,19 +1112,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1196,7 +1135,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1204,14 +1142,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1226,11 +1162,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1238,13 +1173,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1254,15 +1184,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1272,21 +1199,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1311,8 +1233,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1335,8 +1255,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1351,9 +1269,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1365,8 +1281,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1389,8 +1303,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1402,13 +1314,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1423,14 +1333,11 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1442,17 +1349,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1460,8 +1364,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1471,13 +1373,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1486,8 +1388,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1497,14 +1397,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1512,8 +1413,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1523,22 +1422,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1548,18 +1445,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1569,36 +1463,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1610,8 +1505,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1650,22 +1543,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1705,12 +1598,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1750,17 +1642,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1800,11 +1691,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1812,12 +1704,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1856,21 +1747,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1909,20 +1802,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1961,15 +1853,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1977,7 +1870,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1985,8 +1877,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1994,22 +1884,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2017,18 +1904,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2038,12 +1924,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -2052,16 +1938,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2076,4 +1962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index e2387d20..f388450e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,13 +22,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -61,14 +40,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -78,13 +54,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -94,13 +67,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -114,8 +84,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -125,13 +93,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -141,14 +106,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -189,8 +152,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -229,13 +190,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,10 +237,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -318,13 +280,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -363,11 +323,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -375,7 +335,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 2a3556d6..8600381d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -43,16 +26,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -62,15 +44,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -89,41 +72,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,33 +110,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -176,7 +151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -185,15 +159,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -212,15 +185,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -231,8 +205,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -251,7 +223,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -260,15 +231,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -287,15 +257,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -306,8 +277,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,7 +292,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -332,15 +300,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -356,15 +323,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -375,8 +343,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -390,7 +356,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -399,15 +364,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -421,15 +385,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -438,7 +403,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -492,18 +457,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.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = - (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -528,104 +496,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -648,23 +609,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -672,15 +631,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -696,9 +656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -717,8 +677,7 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -731,39 +690,38 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +777,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -839,13 +795,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -854,8 +810,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -874,14 +828,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -889,8 +844,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -909,22 +862,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -943,18 +894,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -973,16 +921,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -990,8 +938,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1010,13 +956,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1025,8 +971,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,14 +989,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1060,8 +1005,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1080,22 +1023,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1114,18 +1055,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1082,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,8 +1099,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1178,13 +1114,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1193,8 +1129,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1210,14 +1144,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1225,8 +1160,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1242,22 +1175,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,18 +1204,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1300,16 +1228,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1317,8 +1245,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,13 +1258,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1347,8 +1273,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1362,14 +1286,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1377,8 +1302,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1392,22 +1315,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1421,18 +1342,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1446,23 +1364,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1390,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1486,16 +1404,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 9399556f..2ff33a52 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 95c7a78e..17ae3099 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,126 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -606,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -696,39 +633,38 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); } else { super.mergeFrom(other); return this; @@ -780,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -844,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -853,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -864,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -877,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -891,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -912,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -922,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -940,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -956,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -974,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1038,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1047,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1058,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1071,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1085,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1106,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1116,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1134,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1150,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1168,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1232,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1241,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1252,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1265,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1279,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1300,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1310,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1328,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1344,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1362,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1374,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1390,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1427,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1437,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1448,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1462,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1474,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1496,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1507,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1526,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1543,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1568,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1582,16 +1404,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1606,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 3b1276d7..9dab7f1d 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..ff95f089
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,349 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
+      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
+      "tations.proto\032\027google/api/client.proto\032\037" +
+      "google/api/field_behavior.proto\032\031google/" +
+      "api/resource.proto\032!google/cloud/tasks/v" +
+      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
+      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
+      "\032google/iam/v1/policy.proto\032\033google/prot" +
+      "obuf/empty.proto\032 google/protobuf/field_" +
+      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
+      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
+      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
+      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
+      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
+      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
+      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
+      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
+      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
+      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
+      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
+      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
+      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
+      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
+      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
+      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
+      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
+      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
+      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
+      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
+      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
+      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
+      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
+      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
+      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
+      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
+      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
+      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
+      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
+      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
+      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
+      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
+      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
+      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
+      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
+      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
+      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
+      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
+      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
+      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
+      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
+      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
+      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
+      ".google.cloud.tasks.v2.ListQueuesRespons" +
+      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
+      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
+      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
+      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
+      "name=projects/*/locations/*/queues/*}\332A\004" +
+      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
+      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
+      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
+      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
+      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
+      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
+      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
+      "e=projects/*/locations/*/queues/*}:\005queu" +
+      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
+      "google.cloud.tasks.v2.DeleteQueueRequest" +
+      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
+      "ame=projects/*/locations/*/queues/*}\332A\004n" +
+      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
+      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
+      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
+      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
+      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
+      "useQueueRequest\032\034.google.cloud.tasks.v2." +
+      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
+      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
+      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
+      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
+      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
+      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
+      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
+      "/{resource=projects/*/locations/*/queues" +
+      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
+      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
+      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
+      "{resource=projects/*/locations/*/queues/" +
+      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
+      "\022TestIamPermissions\022(.google.iam.v1.Test" +
+      "IamPermissionsRequest\032).google.iam.v1.Te" +
+      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
+      "esource=projects/*/locations/*/queues/*}" +
+      ":testIamPermissions:\001*\332A\024resource,permis" +
+      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
+      ".v2.ListTasksRequest\032(.google.cloud.task" +
+      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
+      "ent=projects/*/locations/*/queues/*}/tas" +
+      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
+      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
+      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
+      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
+      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
+      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
+      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
+      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
+      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
+      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
+      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
+      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
+      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
+      "v2/{name=projects/*/locations/*/queues/*" +
+      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
+      "oogleapis.com\322A.https://www.googleapis.c" +
+      "om/auth/cloud-platformBr\n\031com.google.clo" +
+      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
+      "olang.org/genproto/googleapis/cloud/task" +
+      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 3e89e7dc..34472349 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -141,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -153,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -170,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -192,15 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -208,15 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -224,8 +189,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -239,7 +202,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -251,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_);
     }
@@ -271,7 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -281,18 +245,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.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other =
-        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -316,127 +281,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -444,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -489,8 +446,7 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = - new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -505,39 +461,38 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -584,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -594,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -622,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -640,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -650,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -677,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -700,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -720,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -761,15 +685,12 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -785,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -806,21 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -832,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -854,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -926,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -940,16 +842,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index b858724d..e3735d95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,43 +29,33 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 10c558c1..377596da 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,41 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -158,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -195,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -229,7 +198,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ @java.lang.Override @@ -237,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -271,7 +237,6 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ @java.lang.Override @@ -279,8 +244,6 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -322,8 +285,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -338,16 +299,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -362,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +339,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_); } @@ -409,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,18 +378,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.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = - (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -460,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -588,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -635,8 +584,7 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = - new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -652,39 +600,38 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -734,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -760,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -786,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -860,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -899,15 +821,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -940,7 +859,6 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -951,8 +869,6 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1000,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1035,7 +949,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(
+        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -1046,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1084,7 +997,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ =
+            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1096,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1143,8 +1055,6 @@ public Builder clearTask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1179,13 +1089,11 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-
+      
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1223,12 +1131,11 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ?
+            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1263,17 +1170,14 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task,
-            com.google.cloud.tasks.v2.Task.Builder,
-            com.google.cloud.tasks.v2.TaskOrBuilder>
+        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Task,
-                com.google.cloud.tasks.v2.Task.Builder,
-                com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(), getParentForChildren(), isClean());
+        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(),
+                getParentForChildren(),
+                isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1281,8 +1185,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
-     *
-     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1297,16 +1199,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1321,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1348,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1375,7 +1266,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1383,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1405,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1426,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1440,16 +1327,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1464,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 6ec3193b..56bc4ce8 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -91,13 +64,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,13 +100,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -173,8 +140,6 @@ public interface CreateTaskRequestOrBuilder
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -189,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -210,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 40511a70..2ffa4e95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c9b6525f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index a62eb1e2..5dad49b9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -632,16 +575,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..29a262ab --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index 2e4dccd2..d0e5bb3b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = - (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = - new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..7612fed1 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 7e12b47b..765d0a75 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,14 +237,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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -430,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -471,8 +428,7 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = - new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -483,39 +439,38 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -562,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -587,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -683,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -723,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -750,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -777,7 +699,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -785,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -807,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -828,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -842,16 +760,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index 2be6f178..abab1ec9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index 951743a2..a993ae79 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 84b5b41e..9bda9f38 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,80 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -175,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class,
-            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -235,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -271,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -280,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -300,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -319,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -378,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -406,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -482,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -519,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -533,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -543,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -553,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -565,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -573,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -585,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -612,15 +555,13 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -632,7 +573,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -640,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -653,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -681,13 +616,12 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -699,15 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -730,30 +669,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -763,24 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -823,103 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -947,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class,
-              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -991,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1016,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1037,8 +976,7 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result =
-          new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1068,39 +1006,38 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1116,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1164,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1183,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1196,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1211,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1224,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1239,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1252,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1279,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1302,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1319,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1385,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1434,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1462,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1505,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1538,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1576,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1588,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1620,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1661,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1701,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1718,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1726,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1736,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1760,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, - com.google.cloud.tasks.v2.OAuthToken.Builder, - com.google.cloud.tasks.v2.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1788,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1796,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1808,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1826,8 +1717,6 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1853,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1866,7 +1753,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(
+        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1877,8 +1765,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1892,13 +1778,10 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1914,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1944,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1961,8 +1840,6 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1986,8 +1863,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2000,38 +1875,27 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken,
-            com.google.cloud.tasks.v2.OAuthToken.Builder,
-            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OAuthToken,
-                com.google.cloud.tasks.v2.OAuthToken.Builder,
-                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2043,7 +1907,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2051,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2064,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2082,8 +1942,6 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2110,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2124,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2135,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2151,13 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2173,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2204,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2222,8 +2070,6 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2248,8 +2094,6 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2263,32 +2107,26 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OidcToken,
-                com.google.cloud.tasks.v2.OidcToken.Builder,
-                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2298,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2312,16 +2150,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2336,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 08196f38..2c4c0073 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 9855ecb3..3c80d743 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -207,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -216,15 +184,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -238,15 +205,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -257,8 +225,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -269,7 +235,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -280,8 +245,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -293,7 +256,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -302,15 +264,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -322,15 +283,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -339,7 +301,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +312,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_); } @@ -380,7 +342,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -393,18 +356,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.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = - (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,127 +395,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -557,15 +514,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -602,8 +560,7 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = - new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -616,39 +573,38 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -703,23 +659,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -728,24 +680,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -753,70 +702,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -824,8 +760,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -839,13 +773,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -854,8 +788,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -869,14 +801,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -884,8 +817,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -899,22 +830,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -928,18 +857,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -953,25 +879,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -982,7 +906,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -990,8 +913,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1002,19 +923,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1025,11 +943,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1037,8 +954,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1050,13 +965,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1065,8 +980,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1078,14 +991,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1093,8 +1007,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1106,22 +1018,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,18 +1043,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1156,23 +1063,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1196,16 +1103,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,4 +1127,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index e9d4dd0b..f57a7c9d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,8 +107,8 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 7adf33da..98bdc543 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -112,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -144,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -153,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -171,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -184,8 +155,6 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -193,15 +162,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +180,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -240,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -257,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -286,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = - (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -459,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -506,8 +466,7 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = - new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +486,38 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -586,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -627,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -663,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -679,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -695,15 +641,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,15 +662,14 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -736,8 +680,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -758,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -799,15 +739,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -818,8 +757,6 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -830,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -838,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -857,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -876,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +850,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { } } /** - * - * *
      * The list of queues.
      * 
@@ -930,47 +857,42 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -978,8 +900,6 @@ public java.util.List getQueuesBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -990,13 +910,13 @@ public java.util.List getQueuesBuilderL
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1005,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1044,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1070,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1092,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1132,16 +1044,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index c1eb25f0..a1063d15 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 595074bb..83b5f61e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = - (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = - new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -691,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -716,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -741,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -812,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -828,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -852,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -879,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -906,7 +823,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -914,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -936,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -960,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -968,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -980,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1003,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1015,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1043,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1056,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1071,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1084,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1111,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1134,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1174,16 +1068,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index 16d5eabb..fc372464 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 8bcc41f0..6249890a 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -112,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -144,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -153,12 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -170,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -183,8 +155,6 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -192,15 +162,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -210,7 +179,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -237,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +233,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)); } @@ -283,7 +251,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_); @@ -296,16 +265,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.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = - (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -456,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -503,8 +464,7 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = - new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +484,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -583,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -624,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -660,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -676,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -692,15 +639,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,15 +660,14 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -733,8 +678,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -755,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -796,15 +737,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -815,8 +755,6 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -827,7 +765,8 @@ 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); @@ -835,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -854,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -873,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +848,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { } } /** - * - * *
      * The list of tasks.
      * 
@@ -927,46 +855,42 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -974,8 +898,6 @@ public java.util.List getTasksBuilderLis private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,13 +907,13 @@ public java.util.List getTasksBuilderLis
      * 
* * 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; @@ -1000,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1011,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1037,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1062,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1083,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1123,16 +1037,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index f5568056..1a7b2758 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index 1d13e2be..a34434b6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class,
-            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -412,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class,
-              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -436,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -488,39 +456,38 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -579,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -594,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -605,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -620,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -631,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -656,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -677,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -694,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -718,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -727,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -742,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -751,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -774,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -793,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -833,16 +780,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index 045cc073..b5bbd9b4 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 982de06e..94722f69 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class,
-            com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -414,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class,
-              com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -438,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +458,38 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -581,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -596,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -607,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -622,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -633,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -658,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -679,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -696,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -719,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -742,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -830,16 +777,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index fb4dbd64..af8fcaf6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 756d588f..48f8d6af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = - (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = - new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..8258f7dd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index ec7b1df4..b5af3f22 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9b02b696 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 7bbe29d9..68767a57 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,107 +56,90 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
+            }
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 74: {
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,40 +147,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -223,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -239,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -251,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -274,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -284,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -300,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -312,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,6 +280,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -356,51 +305,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -420,8 +368,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -442,7 +388,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -451,15 +396,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -480,15 +424,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 { @@ -499,8 +444,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -514,7 +457,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -522,8 +464,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -537,18 +477,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -564,16 +499,13 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -598,7 +530,6 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -606,8 +537,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -632,18 +561,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -677,8 +601,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -692,7 +614,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -700,8 +621,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -715,18 +634,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -749,8 +663,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -761,16 +673,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -781,22 +689,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -809,7 +712,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -817,8 +719,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -831,7 +731,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ @java.lang.Override @@ -839,8 +738,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -862,8 +759,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -871,7 +766,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -879,8 +773,6 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -888,18 +780,13 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -909,13 +796,11 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -927,7 +812,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_);
     }
@@ -962,26 +848,28 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              9, getStackdriverLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -991,34 +879,40 @@ 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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits().equals(other.getRateLimits())) return false;
+      if (!getRateLimits()
+          .equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig()
+          .equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime()
+          .equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig()
+          .equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1060,103 +954,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1165,20 +1053,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1188,15 +1075,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1238,9 +1126,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1295,39 +1183,38 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1389,8 +1276,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1411,13 +1296,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; @@ -1426,8 +1311,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1448,14 +1331,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 { @@ -1463,8 +1347,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1485,22 +1367,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1521,18 +1401,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1553,16 +1430,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; @@ -1570,13 +1447,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1590,15 +1462,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1612,21 +1481,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1655,8 +1519,6 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1683,8 +1545,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1703,9 +1563,7 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1717,8 +1575,6 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1745,8 +1601,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1762,13 +1616,11 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1783,19 +1635,15 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1811,17 +1659,14 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1829,13 +1674,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1860,15 +1700,12 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1893,21 +1730,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1947,8 +1779,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1974,7 +1804,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(
+        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1985,8 +1816,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2016,9 +1845,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2030,8 +1857,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2069,8 +1894,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2097,13 +1920,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2133,14 +1954,11 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2167,17 +1985,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RateLimits,
-                com.google.cloud.tasks.v2.RateLimits.Builder,
-                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2185,13 +2000,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2205,15 +2015,12 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2227,21 +2034,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2270,8 +2072,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2286,7 +2086,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(
+        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2297,8 +2098,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2317,9 +2116,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2331,8 +2128,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2359,8 +2154,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2376,13 +2169,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2401,14 +2192,11 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2424,17 +2212,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RetryConfig,
-                com.google.cloud.tasks.v2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2442,8 +2227,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2454,16 +2237,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2474,19 +2253,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2497,19 +2273,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2520,7 +2292,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2528,14 +2299,12 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2546,11 +2315,10 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2558,13 +2326,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2577,15 +2340,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2598,7 +2358,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2609,8 +2368,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2638,8 +2395,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2653,7 +2408,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2664,8 +2420,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2683,7 +2437,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2695,8 +2449,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2722,8 +2474,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2738,13 +2488,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2762,12 +2510,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2782,17 +2529,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2800,13 +2544,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2814,15 +2553,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2830,21 +2566,16 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2853,8 +2584,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2868,8 +2598,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2890,8 +2618,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2900,15 +2626,11 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
-                      stackdriverLoggingConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2920,8 +2642,6 @@ public Builder mergeStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2942,8 +2662,6 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2952,15 +2670,12 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
-        getStackdriverLoggingConfigBuilder() {
-
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
+      
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2969,19 +2684,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-        getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null
-            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
-            : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null ?
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2991,24 +2702,21 @@ public Builder clearStackdriverLoggingConfig() {
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
+        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(),
+                getParentForChildren(),
+                isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
-
     @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);
     }
 
@@ -3018,12 +2726,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -3032,16 +2740,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Queue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Queue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Queue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Queue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3056,4 +2764,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index b88abb66..178b4959 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder
-    extends
+public interface QueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -94,13 +71,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -114,13 +88,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -138,8 +109,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -164,13 +133,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -195,13 +161,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -230,8 +193,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -245,13 +206,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -265,13 +223,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -289,8 +244,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -301,13 +254,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -318,14 +268,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -338,13 +285,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -357,13 +301,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -380,8 +321,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -389,13 +328,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -403,13 +339,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -418,6 +351,5 @@ public interface QueueOrBuilder
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..dac47c22
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+  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_tasks_v2_Queue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" +
+      "gle.cloud.tasks.v2\032\031google/api/resource." +
+      "proto\032\"google/cloud/tasks/v2/target.prot" +
+      "o\032\036google/protobuf/duration.proto\032\037googl" +
+      "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" +
+      "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" +
+      "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" +
+      "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" +
+      "loud.tasks.v2.RateLimits\0228\n\014retry_config" +
+      "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" +
+      "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" +
+      "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" +
+      "le.protobuf.Timestamp\022S\n\032stackdriver_log" +
+      "ging_config\030\t \001(\0132/.google.cloud.tasks.v" +
+      "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" +
+      "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" +
+      "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" +
+      "eapis.com/Queue\0226projects/{project}/loca" +
+      "tions/{location}/queues/{queue}\"j\n\nRateL" +
+      "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" +
+      "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" +
+      "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" +
+      "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" +
+      "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" +
+      "backoff\030\003 \001(\0132\031.google.protobuf.Duration" +
+      "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." +
+      "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" +
+      "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " +
+      "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" +
+      "rotoP\001Z:google.golang.org/genproto/googl" +
+      "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_Queue_descriptor,
+        new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+        new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+        new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+        new java.lang.String[] { "SamplingRatio", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index ecc9472c..1cdb7fca 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class,
-            com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -139,7 +119,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -150,8 +129,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,7 +244,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -276,9 +252,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -304,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -411,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class,
-              com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -435,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +460,38 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -584,7 +551,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -592,8 +558,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -605,19 +569,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -629,20 +590,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -675,7 +633,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -683,8 +640,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -717,19 +672,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -762,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -790,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -798,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -814,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -841,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -862,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -876,16 +818,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 838dcb63..5e4df2aa 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -37,14 +19,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 619044c3..62f9f735 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b3d492e7 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 27cfb35c..7e5e827d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class,
-            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,27 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,103 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -679,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class,
-              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -703,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -741,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -762,8 +709,7 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result =
-          new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -789,39 +735,38 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -874,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -892,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -900,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -916,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -943,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -955,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -979,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1005,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1052,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1072,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1083,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1107,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1121,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1153,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1174,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1203,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1230,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1248,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1270,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1294,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1339,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1357,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1368,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1390,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1402,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1432,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1451,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1478,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1503,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1521,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1543,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1567,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1612,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1630,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1641,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1663,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1675,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1705,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1724,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1751,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1776,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1821,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1829,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1856,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1894,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1915,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1929,16 +1770,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1953,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index adf90087..08f2f02e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 27d0ddda..0755fef1 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,14 +238,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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -408,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -432,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -473,8 +430,7 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -485,39 +441,38 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -589,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -614,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -685,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -725,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -752,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -779,7 +701,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -787,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -809,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -830,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -844,16 +762,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index bf13da8d..6685e46f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 112d7577..9e7b6ced 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,113 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -304,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -328,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -367,8 +337,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -378,39 +347,38 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -418,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -442,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -453,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -465,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -473,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -483,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -504,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -525,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -539,16 +496,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -563,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index af110ade..90dc354b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..3e829b7e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index 62fb0dd0..a34f293f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,145 +54,128 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = - ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 2; - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 3; - break; + messageTypeCase_ = 2; + break; + } + case 26: { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + messageTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 56: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 64: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); } - case 82: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - - break; + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 88: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 56: { + + dispatchCount_ = input.readInt32(); + break; + } + case 64: { + + responseCount_ = input.readInt32(); + break; + } + case 74: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 88: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -217,30 +183,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -252,10 +215,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -264,8 +226,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -280,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -296,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -306,8 +262,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -322,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -335,6 +287,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -359,49 +312,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -420,16 +373,13 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
-
   public enum MessageTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
-
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -445,31 +395,26 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 3:
-          return HTTP_REQUEST;
-        case 0:
-          return MESSAGETYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return APP_ENGINE_HTTP_REQUEST;
+        case 3: return HTTP_REQUEST;
+        case 0: return MESSAGETYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase getMessageTypeCase() {
-    return MessageTypeCase.forNumber(messageTypeCase_);
+  public MessageTypeCase
+  getMessageTypeCase() {
+    return MessageTypeCase.forNumber(
+        messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -491,7 +436,6 @@ public MessageTypeCase getMessageTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -500,15 +444,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -530,15 +473,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 { @@ -548,15 +492,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -564,27 +505,22 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -593,25 +529,21 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -619,27 +551,22 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -650,7 +577,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -658,15 +585,12 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -674,26 +598,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -709,15 +626,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -725,15 +639,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -741,8 +652,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -758,8 +667,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -790,7 +697,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -798,8 +704,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -830,18 +734,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -881,8 +780,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -890,7 +787,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -901,14 +797,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -919,8 +812,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -928,7 +819,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -936,8 +826,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -945,18 +833,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -973,14 +856,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -988,25 +868,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1021,42 +894,33 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1068,7 +932,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_); } @@ -1115,38 +980,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1156,44 +1027,54 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1254,123 +1135,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1380,15 +1254,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1436,9 +1311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1510,39 +1385,38 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2.Task)other); } else { super.mergeFrom(other); return this; @@ -1580,20 +1454,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1623,12 +1494,12 @@ public Builder mergeFrom( } return this; } - private int messageTypeCase_ = 0; private java.lang.Object messageType_; - - public MessageTypeCase getMessageTypeCase() { - return MessageTypeCase.forNumber(messageTypeCase_); + public MessageTypeCase + getMessageTypeCase() { + return MessageTypeCase.forNumber( + messageTypeCase_); } public Builder clearMessageType() { @@ -1638,10 +1509,9 @@ public Builder clearMessageType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1663,13 +1533,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1678,8 +1548,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1701,14 +1569,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 { @@ -1716,8 +1585,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1739,22 +1606,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1776,18 +1641,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1809,36 +1671,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1846,15 +1702,12 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1872,8 +1725,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1895,8 +1746,6 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1916,8 +1765,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1927,14 +1774,10 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2
-            && messageType_
-                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 2 &&
+            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1950,8 +1793,6 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1976,8 +1817,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1989,8 +1828,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1999,8 +1836,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2011,8 +1847,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -2021,45 +1855,33 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2067,15 +1889,12 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override @@ -2093,8 +1912,6 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2116,8 +1933,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2125,7 +1940,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(
+        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -2136,8 +1952,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2147,13 +1961,10 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3
-            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 3 &&
+            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -2169,8 +1980,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2195,8 +2004,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2208,8 +2015,6 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2229,8 +2034,6 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2239,75 +2042,56 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.HttpRequest,
-                com.google.cloud.tasks.v2.HttpRequest.Builder,
-                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2329,8 +2113,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2338,7 +2120,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2349,8 +2132,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2362,9 +2143,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2376,8 +2155,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2397,8 +2174,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2407,13 +2182,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2425,14 +2198,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2441,17 +2211,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2459,49 +2226,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2523,8 +2277,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2532,7 +2284,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2543,8 +2296,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2556,7 +2307,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;
         }
@@ -2568,8 +2319,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2589,8 +2338,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2599,13 +2346,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2617,14 +2362,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2633,17 +2375,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2651,13 +2390,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2688,15 +2422,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2727,21 +2458,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2787,8 +2513,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2820,7 +2544,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2831,8 +2556,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2868,9 +2591,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2882,8 +2603,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2927,8 +2646,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2961,13 +2678,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3003,14 +2718,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3043,26 +2755,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3070,7 +2777,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -3078,8 +2784,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3087,19 +2791,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3107,26 +2808,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -3134,36 +2831,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3171,13 +2862,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3185,15 +2871,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3201,21 +2884,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3238,8 +2916,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3248,7 +2924,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3259,8 +2936,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3273,9 +2948,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3287,8 +2960,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3309,8 +2980,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3320,13 +2989,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3339,14 +3006,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3356,17 +3020,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Attempt,
-                com.google.cloud.tasks.v2.Attempt.Builder,
-                com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3374,47 +3035,34 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3435,15 +3083,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3454,8 +3101,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderF return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3466,9 +3111,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3480,8 +3123,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3500,8 +3141,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3509,13 +3148,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3526,14 +3163,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3541,17 +3175,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3559,69 +3190,55 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The view to set. * @return This builder for chaining. */ @@ -3629,32 +3246,29 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3664,12 +3278,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3678,16 +3292,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3702,4 +3316,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index 007aaaac..b785e0af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.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/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -157,34 +120,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -195,34 +150,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -233,8 +180,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -265,13 +210,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -302,13 +244,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -343,8 +282,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -352,27 +289,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -380,13 +311,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -394,13 +322,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -412,32 +337,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -447,28 +364,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..7bbc90b9 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,102 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index efa8f447..68da5cbe 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -148,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -156,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -167,7 +140,6 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -175,8 +147,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -195,15 +165,12 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -227,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -242,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -271,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -284,21 +248,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -324,127 +289,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -452,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -521,39 +477,38 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -599,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -614,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -633,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -646,8 +590,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -656,8 +598,7 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -673,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -683,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -697,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -707,14 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue)
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -726,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -736,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -751,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -761,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -780,19 +708,17 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -801,21 +727,17 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -823,49 +745,36 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -887,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -896,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -907,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -920,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -932,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -953,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -963,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -981,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -997,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1024,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -1038,16 +932,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1062,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index 769807c0..d3adfb72 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -35,13 +17,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -51,13 +30,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -71,34 +47,26 @@ public interface UpdateQueueRequestOrBuilder
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
index 6a45f134..611226d9 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
@@ -67,13 +67,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -303,7 +303,7 @@ public final UnaryCallable listQueue * .build(); * while (true) { * ListQueuesResponse response = cloudTasksClient.listQueuesCallable().call(request); - * for (Queue element : response.getResponsesList()) { + * for (Queue element : response.getQueuesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1190,7 +1190,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1225,7 +1225,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1257,7 +1257,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1282,10 +1282,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1295,7 +1291,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1331,7 +1327,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1374,7 +1370,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1414,7 +1410,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1440,10 +1436,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1456,7 +1448,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1593,11 +1585,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1794,7 +1781,7 @@ public final UnaryCallable listTasksPa * .build(); * while (true) { * ListTasksResponse response = cloudTasksClient.listTasksCallable().call(request); - * for (Task element : response.getResponsesList()) { + * for (Task element : response.getTasksList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1916,9 +1903,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1977,9 +1964,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2035,9 +2022,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2069,9 +2056,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3095,10 +3082,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3145,10 +3129,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 98% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 3f9c9be6..43abe6a2 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.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.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index d01966cb..164dabdd 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -85,9 +85,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index 1218f4ab..a8b16134 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -59,6 +59,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java rename to owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java index 4471b15a..2dea9a7e 100644 --- a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,928 +19,700 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListTasksRequest,
-            com.google.cloud.tasks.v2beta2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod =
-              getLeaseTasksMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-                      .build();
+          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+              .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-        getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod =
-              getAcknowledgeTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-                      .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+              .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod =
-              getRenewLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-                      .build();
+          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+              .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod =
-              getCancelLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-                      .build();
+          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+              .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -971,16 +726,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -996,16 +747,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1019,16 +766,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1036,15 +779,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1054,15 +794,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1077,16 +814,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1097,16 +830,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1118,16 +847,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1137,17 +862,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1158,29 +878,22 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1189,15 +902,12 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1205,15 +915,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1236,16 +943,12 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1260,16 +963,12 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1277,15 +976,12 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1294,16 +990,12 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1328,193 +1020,199 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1528,18 +1226,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1555,18 +1248,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1580,18 +1268,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1599,16 +1282,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1618,16 +1298,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1642,18 +1319,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1664,18 +1336,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1687,18 +1354,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1708,19 +1370,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1731,31 +1387,24 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1764,16 +1413,13 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1781,16 +1427,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1813,17 +1456,13 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1838,18 +1477,13 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1857,16 +1491,13 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1875,18 +1506,13 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1911,8 +1537,7 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1920,16 +1545,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1940,35 +1563,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1982,15 +1597,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2006,15 +1618,12 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2028,15 +1637,12 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2044,15 +1650,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2062,15 +1665,12 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2085,15 +1685,12 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2110,8 +1707,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2129,8 +1724,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2140,15 +1733,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2159,28 +1749,22 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2189,15 +1773,12 @@ public com.google.cloud.tasks.v2beta2.Task getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2205,15 +1786,12 @@ public com.google.cloud.tasks.v2beta2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2236,15 +1814,12 @@ public com.google.protobuf.Empty deleteTask(
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2259,15 +1834,12 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2275,15 +1847,12 @@ public com.google.protobuf.Empty acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2292,15 +1861,12 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2325,63 +1891,54 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -2395,15 +1952,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2419,15 +1974,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2441,15 +1994,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2457,15 +2008,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2475,15 +2024,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2498,15 +2045,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2517,15 +2062,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2537,15 +2080,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2555,16 +2096,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2575,29 +2113,24 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2606,15 +2139,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2629,8 +2160,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2653,16 +2182,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
+        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2677,15 +2203,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
+        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2693,15 +2217,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture renewLease(
+        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2710,15 +2232,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture cancelLease(
+        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2743,8 +2263,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2771,11 +2291,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2789,107 +2309,83 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks(
-              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask(
-              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease(
-              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease(
-              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2908,9 +2404,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2952,31 +2447,29 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getLeaseTasksMethod())
-                      .addMethod(getAcknowledgeTaskMethod())
-                      .addMethod(getRenewLeaseMethod())
-                      .addMethod(getCancelLeaseMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getLeaseTasksMethod())
+              .addMethod(getAcknowledgeTaskMethod())
+              .addMethod(getRenewLeaseMethod())
+              .addMethod(getCancelLeaseMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index ea776bea..abcfe358 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AcknowledgeTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,35 +54,32 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,42 +87,35 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -151,32 +124,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -197,9 +166,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -207,8 +174,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -217,20 +182,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -239,8 +198,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -248,7 +206,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -280,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,18 +249,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.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = - (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -326,104 +286,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -431,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -455,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -500,8 +451,7 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -516,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -584,8 +532,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,23 +544,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -622,24 +565,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -647,70 +587,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -718,13 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -733,17 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -752,23 +670,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -777,8 +689,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -794,8 +705,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -804,10 +713,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -818,8 +727,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,16 +735,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -849,8 +753,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -859,8 +761,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -874,8 +775,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -884,17 +783,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -903,21 +799,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -926,28 +818,24 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } - @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 +845,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -971,16 +859,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +883,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index 5836a48c..aa7083e2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder - extends +public interface AcknowledgeTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,8 +64,7 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index bda8fe19..37163c60 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -78,16 +61,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -96,15 +78,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -124,62 +107,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUrl_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              payload_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUrl_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            payload_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -187,44 +164,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -257,22 +227,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -282,7 +247,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -290,8 +254,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -301,18 +263,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -331,8 +288,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -342,7 +297,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ @java.lang.Override @@ -351,15 +305,14 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -369,15 +322,16 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -386,23 +340,24 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -411,8 +366,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,22 +404,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,12 +459,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -551,16 +503,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -600,11 +552,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -614,8 +567,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -625,7 +576,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -634,7 +584,6 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -646,9 +595,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -657,8 +606,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -671,28 +624,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -702,22 +657,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getPayload().equals(other.getPayload())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl() + .equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -749,103 +707,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -903,43 +854,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -947,15 +898,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -976,9 +928,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -997,8 +949,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1018,39 +969,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1058,8 +1008,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1070,7 +1019,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1093,8 +1043,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1103,13 +1052,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1121,16 +1067,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1084,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1166,19 +1105,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1190,7 +1125,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1198,14 +1132,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1217,11 +1149,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1229,13 +1160,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, - com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1245,15 +1171,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1263,21 +1186,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1302,8 +1220,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1326,8 +1242,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1342,9 +1256,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1356,8 +1268,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1380,8 +1290,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1393,13 +1301,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1414,14 +1320,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1433,17 +1336,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1451,8 +1351,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
-     *
-     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1462,13 +1360,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; - * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1477,8 +1375,6 @@ public java.lang.String getRelativeUrl() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1488,14 +1384,15 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1503,8 +1400,6 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1514,22 +1409,20 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() {
      * 
* * string relative_url = 3; - * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl(java.lang.String value) { + public Builder setRelativeUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1539,18 +1432,15 @@ public Builder setRelativeUrl(java.lang.String value) {
      * 
* * string relative_url = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1560,36 +1450,37 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; - * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1601,8 +1492,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1641,22 +1530,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1696,12 +1585,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1741,17 +1629,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1791,11 +1678,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1803,12 +1691,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1847,21 +1734,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1900,20 +1789,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1952,15 +1840,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1970,7 +1859,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -1978,8 +1866,6 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1989,22 +1875,19 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -2014,18 +1897,17 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -2035,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -2049,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,4 +1955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 4a27f8c2..0eee0ff6 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString getRelativeUrlBytes(); + com.google.protobuf.ByteString + getRelativeUrlBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -371,7 +331,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes payload = 5; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 3633a62d..43646f79 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpTarget() {}
+  private AppEngineHttpTarget() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
-        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index e4f6a8d5..6ac107fd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.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/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder
-    extends
+public interface AppEngineHttpTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index ad2acdb0..75151c07 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -421,7 +387,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -430,15 +395,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -488,15 +452,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -505,7 +470,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -517,7 +481,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -559,18 +524,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.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = - (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -595,104 +563,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -710,23 +671,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -734,15 +693,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -758,9 +718,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -779,8 +739,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -793,39 +752,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -833,8 +791,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -882,8 +839,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -902,13 +857,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -917,8 +872,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -937,14 +890,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -952,8 +906,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -972,22 +924,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1006,18 +956,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1036,16 +983,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1053,8 +1000,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1073,13 +1018,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1088,8 +1033,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1108,14 +1051,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1123,8 +1067,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1143,22 +1085,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1177,18 +1117,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1207,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1224,8 +1161,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1241,13 +1176,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1256,8 +1191,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,14 +1206,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1288,8 +1222,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1305,22 +1237,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1336,18 +1266,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1363,16 +1290,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1380,8 +1307,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1431,13 +1356,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1446,8 +1371,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1497,14 +1420,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1512,8 +1436,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1563,22 +1485,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1628,18 +1548,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1689,23 +1606,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1715,12 +1632,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1729,16 +1646,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1753,4 +1670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index bc74a98e..3a191733 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -222,13 +189,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -278,8 +242,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index 28cd82db..a2e69197 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttemptStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AttemptStatus() {} + private AttemptStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private AttemptStatus( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,29 +364,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other =
-        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -480,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -608,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -669,8 +604,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = - new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -699,39 +633,38 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); } else { super.mergeFrom(other); return this; @@ -783,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -847,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -856,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -867,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -880,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -894,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -915,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -925,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -943,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -959,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -977,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1041,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1050,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1061,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1074,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1088,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1109,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1119,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1137,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1153,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1171,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1235,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1244,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1255,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1268,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1282,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1303,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1313,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1331,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1347,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1365,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1377,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1393,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1430,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1440,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1451,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1465,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1477,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1499,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1510,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1529,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1546,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1571,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1585,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AttemptStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AttemptStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttemptStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AttemptStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1609,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 04cba740..067732e6 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder
-    extends
+public interface AttemptStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -147,13 +105,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -161,13 +116,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 4f0d227b..8f7ffdf5 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CancelLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,42 +55,38 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,42 +94,35 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -159,32 +131,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -195,8 +165,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,9 +173,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -215,8 +181,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -225,20 +189,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -247,8 +205,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -258,8 +215,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -274,16 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -298,19 +249,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +269,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,10 +293,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -358,18 +308,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.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = - (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -397,103 +348,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -501,23 +445,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -525,15 +467,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -551,9 +494,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -572,8 +515,7 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -589,39 +531,38 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -629,8 +570,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -660,8 +600,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -673,23 +612,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -698,24 +633,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -723,70 +655,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -794,13 +713,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -809,17 +723,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,23 +738,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -853,8 +757,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -870,8 +773,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -880,10 +781,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -894,8 +795,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -904,16 +803,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -925,8 +821,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -935,8 +829,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -950,8 +843,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -960,17 +851,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,21 +867,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1002,21 +886,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1024,8 +904,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1040,16 +918,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1064,19 +938,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1091,19 +962,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1118,7 +985,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1126,14 +992,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1148,18 +1012,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1169,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1183,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index 7e482e5c..c38b4840 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder - extends +public interface CancelLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,14 +64,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -121,13 +83,10 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -142,7 +101,6 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..8ad64891 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,462 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { "Queues", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { "Parent", "Queue", }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { "Queue", "UpdateMask", }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { "Tasks", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { "Parent", "Task", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { "Tasks", }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 2fff1143..7a6c7007 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index 9676f059..f06e93f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5b08ffe3..5486174c 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index efb3f667..d08c4552 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index be30b05b..a7ff0f78 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..4551caab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index d8cdf272..470736a3 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..2bc96dd8 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 098da970..3c31bbcb 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = - (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = - new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index 8a94e8ad..d0acb43e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 555bd07a..47fe15e9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = - (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = - new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 627e5389..24915aa1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index d06ae3b1..abca6176 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -92,8 +64,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -102,8 +72,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -152,6 +112,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,55 +137,52 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,3 +198,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index baf42571..6aa2dbff 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { - parent_ = s; - break; + maxTasks_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); } - case 16: - { - maxTasks_ = input.readInt32(); - break; + leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); - } - leaseDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); - } - break; - } - case 32: - { - int rawValue = input.readEnum(); + break; + } + case 32: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -220,7 +187,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -231,8 +197,6 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -251,9 +215,7 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -261,8 +223,6 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -281,20 +241,14 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -313,8 +267,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -324,8 +277,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -340,16 +291,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -364,22 +311,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -405,7 +347,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -414,15 +355,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -448,15 +388,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -465,7 +406,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,7 +417,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_); } @@ -506,13 +447,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -525,22 +469,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = - (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getMaxTasks() != other.getMaxTasks()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getMaxTasks() + != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -569,127 +516,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -697,15 +635,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -748,8 +687,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = - new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -767,39 +705,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -807,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -857,23 +793,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -882,24 +814,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -907,79 +836,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_; + private int maxTasks_ ; /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -991,7 +905,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -999,8 +912,6 @@ public int getMaxTasks() { return maxTasks_; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1012,19 +923,16 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; - * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1036,11 +944,10 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; - * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -1048,13 +955,8 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1073,17 +975,13 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1102,23 +1000,17 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1137,8 +1029,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1154,8 +1045,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1174,10 +1063,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1188,8 +1077,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1208,16 +1095,13 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1229,8 +1113,6 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1249,8 +1131,7 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1264,8 +1145,6 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1284,17 +1163,14 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1313,21 +1189,17 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1346,21 +1218,17 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1368,8 +1236,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1384,16 +1250,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1408,19 +1270,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1435,19 +1294,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1462,7 +1317,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1470,14 +1324,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1492,11 +1344,10 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1504,8 +1355,6 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1531,13 +1380,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1546,8 +1395,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1573,14 +1420,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1588,8 +1436,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1615,22 +1461,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1656,18 +1500,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1693,23 +1534,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1719,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1733,16 +1574,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1757,4 +1598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index 8d97536d..e8ee7da0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder - extends +public interface LeaseTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -68,14 +41,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ int getMaxTasks(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -94,15 +64,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -121,15 +87,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -148,14 +110,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -170,13 +129,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -191,14 +147,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -224,13 +177,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -256,8 +206,8 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index db622add..785a15f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -105,27 +87,22 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The leased tasks.
    * 
@@ -137,8 +114,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -146,13 +121,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -164,8 +137,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The leased tasks.
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The leased tasks.
    * 
@@ -186,12 +155,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +172,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +198,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList().equals(other.getTasksList())) return false; + if (!getTasksList() + .equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,126 +228,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -384,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -429,8 +391,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = - new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +410,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -489,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -509,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -537,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,28 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The leased tasks.
      * 
@@ -583,8 +533,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -599,8 +547,6 @@ public int getTasksCount() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -615,15 +561,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,8 +582,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -657,8 +600,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -679,15 +620,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,15 +641,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -720,8 +659,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -740,8 +677,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -752,7 +687,8 @@ 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); @@ -760,8 +696,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -779,8 +713,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -798,44 +730,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -843,8 +770,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The leased tasks.
      * 
@@ -852,54 +777,49 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; } - @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); } @@ -909,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -923,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index be8e88b3..9fd3c606 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder - extends +public interface LeaseTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The leased tasks.
    * 
@@ -44,8 +25,6 @@ public interface LeaseTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The leased tasks.
    * 
@@ -54,23 +33,21 @@ public interface LeaseTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index e54a748b..ca1d881d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index 167f4ec8..f3767022 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index b939f1fb..c34490bd 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 98afbafd..248518f9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index 7c714d8e..bb5156d1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -382,18 +340,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.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = - (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = - new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index 29a8834e..a9b7b18e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 02a9e4ef..1ab20232 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = - (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = - new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 65d2e1d6..8df40b84 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index d0889429..7c934fac 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a1261f9a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 68114f46..3ad4c05d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -47,15 +29,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,25 +57,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +82,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -143,8 +120,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -164,7 +139,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -173,15 +147,14 @@ 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; } } /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -201,15 +174,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -218,7 +192,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +203,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -247,7 +221,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -260,16 +235,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.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = - (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,104 +266,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -397,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class,
-              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -421,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -462,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result =
-          new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -474,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,14 +519,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -568,39 +531,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -608,8 +565,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -629,13 +584,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -644,8 +599,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -665,14 +618,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -680,8 +634,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -701,22 +653,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -736,18 +686,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -767,23 +714,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -793,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -807,16 +754,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 3e9a9796..9a08cc45 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -58,13 +37,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -84,8 +60,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index ac577696..c431c6ad 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PullTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PullTarget() {} + private PullTarget() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private PullTarget( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = - (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -159,127 +140,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** - * - * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = - new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); } else { super.mergeFrom(other); return this; @@ -403,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -415,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -429,16 +400,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..27ec888a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index ffb1a8e6..568db342 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..cef23931 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 31f4d38a..5c513533 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,155 +56,131 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 3;
-              break;
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 4) {
-                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 4;
-              break;
+            targetTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 4) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+            }
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetTypeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
             }
-          case 130:
-            {
-              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
+            }
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 130: {
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -229,41 +188,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class,
-            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -272,8 +226,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -288,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -302,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -337,8 +283,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -353,8 +297,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -367,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -389,6 +329,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -413,51 +354,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -476,16 +416,13 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
-
   public enum TargetTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
-
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -501,31 +438,26 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_TARGET;
-        case 4:
-          return PULL_TARGET;
-        case 0:
-          return TARGETTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_TARGET;
+        case 4: return PULL_TARGET;
+        case 0: return TARGETTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase getTargetTypeCase() {
-    return TargetTypeCase.forNumber(targetTypeCase_);
+  public TargetTypeCase
+  getTargetTypeCase() {
+    return TargetTypeCase.forNumber(
+        targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -546,7 +478,6 @@ public TargetTypeCase getTargetTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -555,15 +486,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -584,15 +514,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 { @@ -602,15 +533,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -618,27 +546,22 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -647,25 +570,21 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-      getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -673,27 +592,22 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -704,7 +618,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -712,8 +626,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -731,7 +643,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -739,8 +650,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -758,18 +667,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -796,8 +700,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -811,7 +713,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -819,8 +720,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -834,18 +733,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -868,8 +762,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -880,16 +772,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -900,22 +788,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -928,7 +811,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -936,8 +818,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -950,7 +830,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ @java.lang.Override @@ -958,8 +837,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -981,8 +858,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -997,7 +872,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1005,8 +879,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1021,7 +893,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ @java.lang.Override @@ -1029,8 +900,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1054,8 +923,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1068,7 +935,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1076,8 +942,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1090,18 +954,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1123,18 +982,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1142,18 +996,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1161,17 +1010,13 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1179,7 +1024,6 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1191,7 +1035,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_); } @@ -1235,35 +1080,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1273,46 +1123,55 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget() + .equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget().equals(other.getPullTarget())) return false; + if (!getPullTarget() + .equals(other.getPullTarget())) return false; break; case 0: default: @@ -1373,103 +1232,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1478,23 +1331,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class,
-              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1502,15 +1353,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1560,9 +1412,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1637,39 +1489,38 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1704,20 +1555,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET:
-          {
-            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-            break;
-          }
-        case PULL_TARGET:
-          {
-            mergePullTarget(other.getPullTarget());
-            break;
-          }
-        case TARGETTYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_TARGET: {
+          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+          break;
+        }
+        case PULL_TARGET: {
+          mergePullTarget(other.getPullTarget());
+          break;
+        }
+        case TARGETTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1747,12 +1595,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-
-    public TargetTypeCase getTargetTypeCase() {
-      return TargetTypeCase.forNumber(targetTypeCase_);
+    public TargetTypeCase
+        getTargetTypeCase() {
+      return TargetTypeCase.forNumber(
+          targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1762,10 +1610,9 @@ public Builder clearTargetType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1786,13 +1633,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1801,8 +1648,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1823,14 +1668,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 { @@ -1838,8 +1684,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1860,22 +1704,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1896,18 +1738,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1928,36 +1767,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> - appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1965,15 +1798,12 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1991,8 +1821,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2000,8 +1828,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2015,8 +1842,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2036,8 +1861,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2045,17 +1868,12 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3
-            && targetType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 3 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2071,8 +1889,6 @@ public Builder mergeAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2097,8 +1913,6 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2106,13 +1920,10 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
-        getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2121,8 +1932,7 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-        getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -2133,8 +1943,6 @@ public Builder clearAppEngineHttpTarget() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2143,45 +1951,33 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
-        pullTargetBuilder_;
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -2189,15 +1985,12 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override @@ -2215,8 +2008,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2238,8 +2029,6 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2259,8 +2048,6 @@ public Builder setPullTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2270,13 +2057,10 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4
-            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 4 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2292,8 +2076,6 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2318,8 +2100,6 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2331,8 +2111,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2352,8 +2130,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2362,39 +2138,28 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullTarget,
-                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2412,15 +2177,12 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2438,21 +2200,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2485,8 +2242,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2517,8 +2272,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2541,9 +2294,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2555,8 +2306,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2587,8 +2336,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2608,13 +2355,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2637,14 +2382,11 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2664,17 +2406,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RateLimits,
-                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2682,13 +2421,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2702,15 +2436,12 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2724,21 +2455,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2767,8 +2493,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2795,8 +2519,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2815,9 +2537,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2829,8 +2549,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2857,8 +2575,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2874,13 +2590,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2899,14 +2613,11 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2922,17 +2633,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RetryConfig,
-                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2940,8 +2648,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2952,16 +2658,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2972,19 +2674,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2995,19 +2694,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3018,7 +2713,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3026,14 +2720,12 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3044,11 +2736,10 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3056,13 +2747,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3075,15 +2761,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3096,7 +2779,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3107,8 +2789,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3136,8 +2816,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3151,7 +2829,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3162,8 +2841,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3181,7 +2858,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3193,8 +2870,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3220,8 +2895,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3236,13 +2909,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3260,12 +2931,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3280,17 +2950,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3298,13 +2965,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3319,15 +2981,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3342,7 +3001,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3353,8 +3011,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3384,8 +3040,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3401,7 +3055,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3412,8 +3067,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3433,7 +3086,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3445,8 +3098,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3474,8 +3125,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3492,13 +3141,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3518,12 +3165,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3540,17 +3186,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3558,13 +3201,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3577,15 +3215,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3598,21 +3233,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3640,8 +3270,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3655,7 +3283,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3666,8 +3295,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3685,9 +3312,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3699,8 +3324,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3726,8 +3349,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3742,13 +3363,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3766,14 +3385,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3788,17 +3404,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3806,64 +3419,45 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.QueueStats,
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
-            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
-        statsBuilder_;
+        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3879,19 +3473,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3902,25 +3493,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -3932,17 +3517,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3956,77 +3537,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4036,12 +3601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -4050,16 +3615,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4074,4 +3639,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 15bb0343..11cda3ea 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,40 +52,32 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -117,34 +88,26 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -155,8 +118,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -174,13 +135,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -198,13 +156,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -226,8 +181,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -241,13 +194,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -261,13 +211,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -285,8 +232,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -297,13 +242,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -314,14 +256,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -334,13 +273,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -353,13 +289,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -376,8 +309,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -392,13 +323,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -413,13 +341,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -438,8 +363,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -452,13 +375,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -471,13 +391,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -494,49 +411,35 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..26d91fab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,140 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta2_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index 851774bb..f6138f49 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = - (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = - new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index d65aa3fd..877422f2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index ba22e1ca..2bb7a61a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxTasksDispatchedPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentTasks_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxTasksDispatchedPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentTasks_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -143,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -154,8 +133,6 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -187,7 +164,6 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -198,8 +174,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -217,7 +191,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -226,7 +199,6 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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 (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -258,14 +231,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +250,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.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = - (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() + != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,10 +276,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -312,104 +287,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -420,23 +388,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class,
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -444,15 +410,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +433,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -487,8 +454,7 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result =
-          new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -500,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,10 +544,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_;
+    private double maxTasksDispatchedPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -598,7 +561,6 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -606,8 +568,6 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -623,19 +583,16 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -651,20 +608,17 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -696,7 +650,6 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -704,8 +657,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -737,19 +688,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -781,20 +729,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_; + private int maxConcurrentTasks_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -812,7 +757,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -820,8 +764,6 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -839,19 +781,16 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -869,18 +808,17 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -890,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -904,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 373ee8d6..1e80375a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -41,14 +23,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -80,14 +59,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -105,7 +81,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 91ce7c71..86c724b4 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenewLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,57 +55,51 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (leaseDuration_ != null) {
-                subBuilder = leaseDuration_.toBuilder();
-              }
-              leaseDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(leaseDuration_);
-                leaseDuration_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (leaseDuration_ != null) {
+              subBuilder = leaseDuration_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              responseView_ = rawValue;
-              break;
+            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(leaseDuration_);
+              leaseDuration_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -130,42 +107,35 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -174,32 +144,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -210,8 +178,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -220,9 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -230,8 +194,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -240,20 +202,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -262,8 +218,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -273,17 +228,13 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -291,36 +242,27 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -330,8 +272,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -346,16 +286,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -370,19 +306,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +326,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_); } @@ -420,13 +353,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -436,22 +372,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = - (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -482,104 +420,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -587,23 +518,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -611,15 +540,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -643,9 +573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -664,8 +594,7 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -686,39 +615,38 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -772,23 +699,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -797,24 +720,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -822,70 +742,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -893,13 +800,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -908,17 +810,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -927,23 +825,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -952,8 +844,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -969,8 +860,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,10 +868,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -993,8 +882,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1003,16 +890,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -1024,8 +908,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1034,8 +916,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -1049,8 +930,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1059,17 +938,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1078,21 +954,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1101,21 +973,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1123,61 +991,45 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1193,18 +1045,16 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1215,24 +1065,19 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1244,16 +1089,13 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1267,67 +1109,54 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1335,8 +1164,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1351,16 +1178,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1375,19 +1198,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1402,19 +1222,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1429,7 +1245,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1437,14 +1252,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1459,18 +1272,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1480,12 +1292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1494,16 +1306,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1518,4 +1330,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 800dfd88..0fb7d3e1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder - extends +public interface RenewLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,58 +64,44 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,13 +116,10 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,7 +134,6 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 66717318..1c905c3a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..a5db637f --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index 9a966fb3..c8e6cb16 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,75 +53,67 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              numAttempts_ = input.readInt32();
-              numAttemptsCase_ = 1;
-              break;
+          case 8: {
+            numAttempts_ = input.readInt32();
+            numAttemptsCase_ = 1;
+            break;
+          }
+          case 16: {
+            numAttempts_ = input.readBool();
+            numAttemptsCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 16:
-            {
-              numAttempts_ = input.readBool();
-              numAttemptsCase_ = 2;
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          case 48:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 48: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,40 +121,35 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
-
   public enum NumAttemptsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
-
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -194,30 +165,25 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return MAX_ATTEMPTS;
-        case 2:
-          return UNLIMITED_ATTEMPTS;
-        case 0:
-          return NUMATTEMPTS_NOT_SET;
-        default:
-          return null;
+        case 1: return MAX_ATTEMPTS;
+        case 2: return UNLIMITED_ATTEMPTS;
+        case 0: return NUMATTEMPTS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(numAttemptsCase_);
+  public NumAttemptsCase
+  getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(
+        numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -226,7 +192,6 @@ public NumAttemptsCase getNumAttemptsCase() {
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -234,8 +199,6 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -244,7 +207,6 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -257,14 +219,11 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -272,14 +231,11 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ @java.lang.Override @@ -293,8 +249,6 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -313,7 +267,6 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -321,8 +274,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -341,18 +292,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -380,8 +326,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -398,7 +342,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -406,8 +349,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -424,7 +365,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ @java.lang.Override @@ -432,8 +372,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -459,8 +397,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -477,7 +413,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -485,8 +420,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -503,7 +436,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ @java.lang.Override @@ -511,8 +443,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -538,8 +468,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -566,7 +494,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -575,7 +502,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -587,12 +513,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (numAttemptsCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); + output.writeInt32( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); + output.writeBool( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -616,26 +545,30 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, (boolean) ((java.lang.Boolean) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -645,34 +578,39 @@ 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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = - (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() + != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -709,7 +647,8 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUnlimitedAttempts()); break; case 0: default: @@ -719,104 +658,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -824,23 +756,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class,
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -848,15 +778,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -886,9 +817,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -907,8 +838,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result =
-          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -940,39 +870,38 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -994,20 +923,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS:
-          {
-            setMaxAttempts(other.getMaxAttempts());
-            break;
-          }
-        case UNLIMITED_ATTEMPTS:
-          {
-            setUnlimitedAttempts(other.getUnlimitedAttempts());
-            break;
-          }
-        case NUMATTEMPTS_NOT_SET:
-          {
-            break;
-          }
+        case MAX_ATTEMPTS: {
+          setMaxAttempts(other.getMaxAttempts());
+          break;
+        }
+        case UNLIMITED_ATTEMPTS: {
+          setUnlimitedAttempts(other.getUnlimitedAttempts());
+          break;
+        }
+        case NUMATTEMPTS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1037,12 +963,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-
-    public NumAttemptsCase getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(numAttemptsCase_);
+    public NumAttemptsCase
+        getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(
+          numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -1052,9 +978,8 @@ public Builder clearNumAttempts() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1063,15 +988,12 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1080,7 +1002,6 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1090,8 +1011,6 @@ public int getMaxAttempts() { return 0; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1100,7 +1019,6 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1111,8 +1029,6 @@ public Builder setMaxAttempts(int value) { return this; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1121,7 +1037,6 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1134,28 +1049,22 @@ public Builder clearMaxAttempts() { } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1165,14 +1074,11 @@ public boolean getUnlimitedAttempts() { return false; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1183,14 +1089,11 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1204,13 +1107,8 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1229,15 +1127,12 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1256,21 +1151,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1304,8 +1194,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1325,7 +1213,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1336,8 +1225,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1361,9 +1248,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1375,8 +1260,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1408,8 +1291,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1430,13 +1311,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1460,14 +1339,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1488,17 +1364,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1506,13 +1379,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1529,15 +1397,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1554,21 +1419,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1600,8 +1460,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1619,7 +1477,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1630,8 +1489,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1653,7 +1510,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1665,8 +1522,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1696,8 +1551,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1716,13 +1569,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1744,14 +1595,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1770,17 +1618,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1788,13 +1633,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1811,15 +1651,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1836,21 +1673,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1882,8 +1714,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1901,7 +1731,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1912,8 +1743,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1935,7 +1764,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1947,8 +1776,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1978,8 +1805,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1998,13 +1823,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2026,14 +1849,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2052,26 +1872,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2098,7 +1913,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -2106,8 +1920,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2134,19 +1946,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2173,18 +1982,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2194,12 +2002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2208,16 +2016,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2232,4 +2040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index f78d7ff0..ca066b67 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -34,13 +16,10 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -49,39 +28,30 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -100,13 +70,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -125,13 +92,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -154,8 +118,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -172,13 +134,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -195,13 +154,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -222,8 +178,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -240,13 +194,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -263,13 +214,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -290,8 +238,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -318,7 +264,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index a8d244e6..f7120749 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = - (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index 8ce08688..fce8c1e0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..02a91a15 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,125 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index b4b9a701..d746a483 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,110 +54,92 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 58: - { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 58: { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } + + break; + } + case 64: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -182,31 +147,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -218,10 +179,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -230,8 +190,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -247,8 +205,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -263,8 +219,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -273,8 +227,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,8 +242,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -303,6 +253,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -327,49 +278,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -388,16 +339,13 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -413,31 +361,26 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 4:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 4: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -459,7 +402,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -468,15 +410,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -498,15 +439,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 { @@ -516,8 +458,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -527,7 +467,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -535,8 +474,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -546,19 +483,16 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -570,18 +504,15 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -589,7 +520,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -597,8 +527,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -606,19 +534,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -630,7 +555,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -638,8 +563,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -651,7 +574,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -659,8 +581,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -672,18 +592,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -704,15 +619,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -720,15 +632,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -736,8 +645,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -753,14 +660,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ @java.lang.Override @@ -768,25 +672,18 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The task status.
    * 
@@ -801,43 +698,33 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -849,7 +736,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_); } @@ -884,26 +772,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -913,34 +803,40 @@ 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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -989,126 +885,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1116,15 +1004,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1156,9 +1045,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1218,39 +1107,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); } else { super.mergeFrom(other); return this; @@ -1276,20 +1164,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1319,12 +1204,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1334,10 +1219,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1359,13 +1243,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1374,8 +1258,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1397,14 +1279,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 { @@ -1412,8 +1295,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1435,22 +1316,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1472,18 +1351,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1505,29 +1381,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1537,7 +1408,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1545,8 +1415,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1556,7 +1424,6 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1574,8 +1441,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1586,8 +1451,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1601,8 +1465,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1625,8 +1487,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1637,17 +1497,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1663,8 +1518,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1692,8 +1545,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1704,13 +1555,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1722,8 +1570,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1734,8 +1581,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1747,38 +1592,27 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1786,7 +1620,6 @@ public Builder clearAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1794,8 +1627,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1803,7 +1634,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override @@ -1821,8 +1651,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1845,8 +1673,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1867,8 +1693,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1879,13 +1703,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4
-            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 4 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1901,8 +1722,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1928,8 +1747,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1942,8 +1759,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1964,8 +1779,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1975,39 +1788,28 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullMessage,
-                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2019,15 +1821,12 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2039,21 +1838,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2080,8 +1874,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2094,7 +1886,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2105,8 +1898,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2123,9 +1914,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2137,8 +1926,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2163,8 +1950,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2178,13 +1963,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2201,14 +1984,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2222,17 +2002,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2240,49 +2017,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2304,8 +2068,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2313,7 +2075,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2324,8 +2087,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2337,7 +2098,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;
         }
@@ -2349,8 +2110,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2370,8 +2129,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2380,13 +2137,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2398,14 +2153,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2414,17 +2166,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2432,47 +2181,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.TaskStatus,
-            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
-            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
-        statusBuilder_;
+        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2493,15 +2229,14 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus( + com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2512,8 +2247,6 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder build return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2524,9 +2257,7 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -2538,8 +2269,6 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2558,8 +2287,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2567,13 +2294,11 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The task status.
      * 
@@ -2584,14 +2309,11 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? + com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2599,17 +2321,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -2617,69 +2336,55 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The view to set. * @return This builder for chaining. */ @@ -2687,32 +2392,29 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2722,12 +2424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2736,16 +2438,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2760,4 +2462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index 9b356802..cce77766 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -75,14 +54,12 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -92,13 +69,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -108,13 +82,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -128,8 +99,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -137,13 +106,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -151,13 +117,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -169,8 +132,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -182,13 +143,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -200,13 +158,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -222,34 +177,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -260,32 +207,24 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** - * - * *
    * Output only. The task status.
    * 
@@ -295,28 +234,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..8b3416a2 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index 361386df..f8ed0ce2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TaskStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TaskStatus() {} + private TaskStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,55 +52,49 @@ private TaskStatus( case 0: done = true; break; - case 8: - { - attemptDispatchCount_ = input.readInt32(); - break; + case 8: { + + attemptDispatchCount_ = input.readInt32(); + break; + } + case 16: { + + attemptResponseCount_ = input.readInt32(); + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); } - case 16: - { - attemptResponseCount_ = input.readInt32(); - break; + firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); - } - firstAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); } - case 34: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); - } - - break; + lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,33 +102,29 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** - * - * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -158,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -169,15 +142,12 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -188,8 +158,6 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -198,7 +166,6 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -206,8 +173,6 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -216,18 +181,13 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -245,15 +205,12 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -261,26 +218,19 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -294,7 +244,6 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -306,7 +255,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 (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -329,16 +279,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -348,23 +302,26 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other =
-        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount()
+        != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount()
+        != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus()
+          .equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus()
+          .equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -394,127 +351,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
-   *
-   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -522,15 +470,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -575,8 +524,7 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = - new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -597,39 +545,38 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); } else { super.mergeFrom(other); return this; @@ -679,10 +626,8 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_; + private int attemptDispatchCount_ ; /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -690,7 +635,6 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -698,8 +642,6 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -707,19 +649,16 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; - * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -727,27 +666,23 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; - * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_; + private int attemptResponseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -755,38 +690,32 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -794,13 +723,8 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, - com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> - firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -809,15 +733,12 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -826,21 +747,16 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -864,8 +780,6 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -887,8 +801,6 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -902,9 +814,7 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -916,8 +826,6 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -939,8 +847,6 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -951,13 +857,11 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-
+      
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -971,14 +875,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : firstAttemptStatus_;
+        return firstAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -989,17 +890,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(), getParentForChildren(), isClean());
+        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -1007,49 +905,36 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
-        lastAttemptStatusBuilder_;
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1071,8 +956,6 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1092,8 +975,6 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1105,9 +986,7 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -1119,8 +998,6 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1140,8 +1017,6 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1150,13 +1025,11 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-
+      
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1168,14 +1041,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : lastAttemptStatus_;
+        return lastAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1184,24 +1054,21 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(), getParentForChildren(), isClean());
+        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1211,12 +1078,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1225,16 +1092,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TaskStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TaskStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TaskStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TaskStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1249,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index b0d40449..4a065e60 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder
-    extends
+public interface TaskStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -33,28 +15,22 @@ public interface TaskStatusOrBuilder
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -63,13 +39,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -78,13 +51,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -97,34 +67,26 @@ public interface TaskStatusOrBuilder
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index c862f9eb..eb8253bd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 61d01622..8314ea6a 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
index 837b3784..ba42d7cd 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
@@ -65,13 +65,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -301,7 +301,7 @@ public final UnaryCallable listQueue * .build(); * while (true) { * ListQueuesResponse response = cloudTasksClient.listQueuesCallable().call(request); - * for (Queue element : response.getResponsesList()) { + * for (Queue element : response.getQueuesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1188,7 +1188,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1223,7 +1223,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1255,7 +1255,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1280,10 +1280,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1293,7 +1289,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1329,7 +1325,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1372,7 +1368,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1412,7 +1408,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1438,10 +1434,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1454,7 +1446,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1591,11 +1583,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1792,7 +1779,7 @@ public final UnaryCallable listTasksPa * .build(); * while (true) { * ListTasksResponse response = cloudTasksClient.listTasksCallable().call(request); - * for (Task element : response.getResponsesList()) { + * for (Task element : response.getTasksList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1914,7 +1901,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1973,7 +1960,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2029,7 +2016,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2061,7 +2048,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2413,10 +2400,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2463,10 +2447,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 97% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 4b670b0a..8f3c8302 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.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.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -48,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index d7342118..65ea119f 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java similarity index 99% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index 3538397e..00217250 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -54,6 +54,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/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java similarity index 57% rename from grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java rename to owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java index f661a208..86628889 100644 --- a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,755 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListTasksRequest,
-            com.google.cloud.tasks.v2beta3.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -798,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -823,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -846,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -863,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -881,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -904,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -924,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -945,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -964,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -985,44 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1030,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1061,168 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1236,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1263,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1288,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1307,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1326,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1350,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1372,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1395,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1416,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1439,47 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1487,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1519,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1528,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1548,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1590,15 +1283,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1614,15 +1304,12 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1636,15 +1323,12 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1652,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1670,15 +1351,12 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1693,15 +1371,12 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1718,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1737,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1748,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1767,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1811,15 +1470,12 @@ public com.google.cloud.tasks.v2beta3.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1842,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1912,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1936,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1958,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1974,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1992,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2015,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2034,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -2054,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2072,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -2092,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2144,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2168,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2192,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2210,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2308,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2352,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index 2443b42f..f7b2a5bb 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpQueue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpQueue() {}
+  private AppEngineHttpQueue() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
-        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpQueue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpQueue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpQueue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpQueue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 1f9d6f5b..0abf3214 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder
-    extends
+public interface AppEngineHttpQueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index c4f1b564..e8370812 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -76,16 +59,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -94,15 +76,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -122,62 +105,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -185,44 +162,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -234,16 +208,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -255,22 +225,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -280,7 +245,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -288,8 +252,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -299,18 +261,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -329,8 +286,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -340,7 +295,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -349,15 +303,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -367,15 +320,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -384,23 +338,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -409,8 +364,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,22 +402,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -504,12 +457,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -549,16 +501,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -598,11 +550,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -612,8 +565,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -621,7 +572,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -630,7 +580,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -642,9 +591,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -653,8 +602,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -667,28 +620,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -698,22 +653,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,103 +703,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -897,43 +848,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -941,15 +892,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -970,9 +922,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -991,8 +943,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1012,39 +963,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1052,8 +1002,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1064,7 +1013,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1087,8 +1037,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1097,13 +1046,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1115,16 +1061,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1136,19 +1078,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1160,19 +1099,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1184,7 +1119,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1192,14 +1126,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1211,11 +1143,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1223,13 +1154,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, - com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1239,15 +1165,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1257,21 +1180,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1296,8 +1214,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,8 +1236,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,9 +1250,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1350,8 +1262,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1374,8 +1284,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1387,13 +1295,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1408,14 +1314,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1427,17 +1330,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1445,8 +1345,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1456,13 +1354,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1471,8 +1369,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1482,14 +1378,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1497,8 +1394,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1508,22 +1403,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1533,18 +1426,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1554,36 +1444,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1595,8 +1486,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1635,22 +1524,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1690,12 +1579,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1735,17 +1623,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1785,11 +1672,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1797,12 +1685,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1841,21 +1728,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1894,20 +1783,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1946,15 +1834,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1962,7 +1851,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1970,8 +1858,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1979,22 +1865,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2002,18 +1885,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2023,12 +1905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -2037,16 +1919,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2061,4 +1943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index b7415b57..8b399cf6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -369,7 +329,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 99d0cc4b..5941632c 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,7 +351,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -394,15 +359,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -416,15 +380,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -433,7 +398,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,7 +409,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -487,18 +452,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.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = - (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -523,104 +491,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -638,23 +599,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -662,15 +621,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -686,9 +646,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -707,8 +667,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -721,39 +680,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -761,8 +719,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -810,8 +767,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -830,13 +785,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -845,8 +800,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -865,14 +818,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -880,8 +834,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -900,22 +852,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -934,18 +884,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -964,16 +911,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -981,8 +928,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1001,13 +946,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1016,8 +961,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1036,14 +979,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1051,8 +995,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1071,22 +1013,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1105,18 +1045,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1135,16 +1072,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1152,8 +1089,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1169,13 +1104,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1184,8 +1119,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1201,14 +1134,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1216,8 +1150,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1233,22 +1165,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1264,18 +1194,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1291,16 +1218,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1308,8 +1235,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1323,13 +1248,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1338,8 +1263,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1353,14 +1276,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1368,8 +1292,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1383,22 +1305,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1412,18 +1332,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1437,23 +1354,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1477,16 +1394,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,4 +1418,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index b6a7c17e..c7550993 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 178ff60f..2a3aa36d 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -607,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -668,8 +604,7 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = - new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -698,39 +633,38 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); } else { super.mergeFrom(other); return this; @@ -782,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -846,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -855,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -866,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -879,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -893,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -914,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -924,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -942,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -958,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -976,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1040,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1049,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1060,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1073,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1087,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1108,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1118,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1136,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1152,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1170,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1234,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1243,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1254,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1267,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1281,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1302,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1312,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1330,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1346,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1364,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1376,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1392,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1429,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1439,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1450,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1464,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1476,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1498,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1509,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1528,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1545,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1570,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1584,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1608,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 9b943d64..0151d1c3 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..13ed882f
--- /dev/null
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,359 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." +
+      "proto\022\032google.cloud.tasks.v2beta3\032\034googl" +
+      "e/api/annotations.proto\032\027google/api/clie" +
+      "nt.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032&google/clo" +
+      "ud/tasks/v2beta3/queue.proto\032%google/clo" +
+      "ud/tasks/v2beta3/task.proto\032\036google/iam/" +
+      "v1/iam_policy.proto\032\032google/iam/v1/polic" +
+      "y.proto\032\033google/protobuf/empty.proto\032 go" +
+      "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" +
+      "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" +
+      "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" +
+      "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" +
+      " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" +
+      "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" +
+      "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" +
+      "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" +
+      "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" +
+      "udtasks.googleapis.com/Queue\0222\n\tread_mas" +
+      "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" +
+      "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" +
+      "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" +
+      "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" +
+      "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" +
+      "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" +
+      "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" +
+      "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" +
+      "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" +
+      "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" +
+      "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" +
+      "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" +
+      "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" +
+      ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" +
+      "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" +
+      "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" +
+      " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" +
+      "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" +
+      "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" +
+      "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" +
+      "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" +
+      "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" +
+      "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" +
+      " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" +
+      "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" +
+      "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" +
+      "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" +
+      "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" +
+      "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" +
+      "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" +
+      "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " +
+      "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" +
+      "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" +
+      "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" +
+      "response_view\030\002 \001(\0162%.google.cloud.tasks" +
+      ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" +
+      "stQueues\022-.google.cloud.tasks.v2beta3.Li" +
+      "stQueuesRequest\032..google.cloud.tasks.v2b" +
+      "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" +
+      "3/{parent=projects/*/locations/*}/queues" +
+      "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" +
+      "sks.v2beta3.GetQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}\332" +
+      "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" +
+      "sks.v2beta3.CreateQueueRequest\032!.google." +
+      "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" +
+      "ta3/{parent=projects/*/locations/*}/queu" +
+      "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" +
+      "\022..google.cloud.tasks.v2beta3.UpdateQueu" +
+      "eRequest\032!.google.cloud.tasks.v2beta3.Qu" +
+      "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" +
+      "ts/*/locations/*/queues/*}:\005queue\332A\021queu" +
+      "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" +
+      "loud.tasks.v2beta3.DeleteQueueRequest\032\026." +
+      "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" +
+      "{name=projects/*/locations/*/queues/*}\332A" +
+      "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" +
+      "s.v2beta3.PurgeQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}:" +
+      "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." +
+      "cloud.tasks.v2beta3.PauseQueueRequest\032!." +
+      "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" +
+      "\"5/v2beta3/{name=projects/*/locations/*/" +
+      "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" +
+      "e\022..google.cloud.tasks.v2beta3.ResumeQue" +
+      "ueRequest\032!.google.cloud.tasks.v2beta3.Q" +
+      "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" +
+      "locations/*/queues/*}:resume:\001*\332A\004name\022\241" +
+      "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" +
+      "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" +
+      "\002E\"@/v2beta3/{resource=projects/*/locati" +
+      "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" +
+      "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" +
+      "amPolicyRequest\032\025.google.iam.v1.Policy\"]" +
+      "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" +
+      "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" +
+      "source,policy\022\323\001\n\022TestIamPermissions\022(.g" +
+      "oogle.iam.v1.TestIamPermissionsRequest\032)" +
+      ".google.iam.v1.TestIamPermissionsRespons" +
+      "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" +
+      "/locations/*/queues/*}:testIamPermission" +
+      "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" +
+      "s\022,.google.cloud.tasks.v2beta3.ListTasks" +
+      "Request\032-.google.cloud.tasks.v2beta3.Lis" +
+      "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" +
+      "=projects/*/locations/*/queues/*}/tasks\332" +
+      "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" +
+      "s.v2beta3.GetTaskRequest\032 .google.cloud." +
+      "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" +
+      "me=projects/*/locations/*/queues/*/tasks" +
+      "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" +
+      ".tasks.v2beta3.CreateTaskRequest\032 .googl" +
+      "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" +
+      "eta3/{parent=projects/*/locations/*/queu" +
+      "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" +
+      "ask\022-.google.cloud.tasks.v2beta3.DeleteT" +
+      "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" +
+      "\0029*7/v2beta3/{name=projects/*/locations/" +
+      "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" +
+      ".google.cloud.tasks.v2beta3.RunTaskReque" +
+      "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" +
+      "\344\223\002@\";/v2beta3/{name=projects/*/location" +
+      "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" +
+      "cloudtasks.googleapis.com\322A.https://www." +
+      "googleapis.com/auth/cloud-platformB|\n\036co" +
+      "m.google.cloud.tasks.v2beta3B\017CloudTasks" +
+      "ProtoP\001Z?google.golang.org/genproto/goog" +
+      "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" +
+      "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 91bd1d65..077c4486 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index ffa30b22..bdfd7d8a 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 07fe1038..57aa86ab 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 3dca068b..73c305d4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 1be3d865..2e413529 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..bf2e07c9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 23d7d974..637d4d5f 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..ba3331fa --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 22f86ccf..6deb7db0 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = - (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = - new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index f8c79d47..334e474b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index 4042daaa..af9e4c2e 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = - (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = - new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 702b5ba7..5ffdb3d2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index f6dd90bc..56c8b354 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 55ca2408..14c36862 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,82 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -177,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -237,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -273,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -282,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -302,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -321,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -380,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -408,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -484,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -521,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -535,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -545,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -555,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -567,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -575,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -587,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -614,15 +555,13 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -634,7 +573,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -642,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -655,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -683,13 +616,12 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -701,16 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -732,32 +668,31 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -767,25 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other =
-        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -828,104 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -953,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class,
-              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -997,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1022,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1043,8 +976,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result =
-          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1074,39 +1006,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1122,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1170,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1189,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1202,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1217,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1230,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1245,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1258,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1285,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1308,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1325,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1391,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1440,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1468,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1511,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1544,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1582,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1594,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1626,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1667,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1707,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1724,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1732,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1742,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1766,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, - com.google.cloud.tasks.v2beta3.OAuthToken.Builder, - com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1794,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1802,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1814,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1832,8 +1717,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1859,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1884,8 +1765,6 @@ public Builder setOauthToken(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1899,14 +1778,10 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1922,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1952,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1969,8 +1840,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1994,8 +1863,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2008,38 +1875,27 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OAuthToken,
-                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2051,7 +1907,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2059,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2072,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2090,8 +1942,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2118,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2132,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2143,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2159,14 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2182,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2213,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2231,8 +2070,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2257,8 +2094,6 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2272,32 +2107,26 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OidcToken,
-                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2307,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2321,16 +2150,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2345,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index a6be1e13..991d24a9 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -363,6 +314,5 @@ java.lang.String getHeadersOrDefault(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
-      getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
 }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index c08ca2b9..460c3866 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 7d932d07..3ccd40a9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index fdbf3dd3..d9110937 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index ac61989f..a68c11f8 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 44cfe1ea..8d36fc75 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = - (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = - new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index 39f56488..bfa87b6b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 09f702ea..287e34ea 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = - (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = - new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 8b9ed0ad..397e65c5 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f4b3966c..f0cf2430 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,16 +250,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.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = - (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -414,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class,
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -479,8 +445,7 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result =
-          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -491,39 +456,38 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -571,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -582,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -597,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -608,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -623,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -659,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -680,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -697,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -706,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -721,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -730,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -754,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -777,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -796,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -822,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -836,16 +780,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 6409320a..1cf564b9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index d8ef8572..b1147293 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -415,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class,
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -439,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +447,7 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result =
-          new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -492,39 +458,38 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -583,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -598,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -609,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -624,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -635,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -660,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -681,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -698,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -721,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -744,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -818,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -832,16 +777,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 639b960f..79aa78a6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index ddd155f1..b5b6cc63 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a8a5bac9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 845fa92d..90f288ff 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -50,15 +32,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,25 +60,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,39 +85,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -146,8 +123,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -159,7 +134,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -168,15 +142,14 @@ 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; } } /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -188,15 +161,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -205,7 +179,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +190,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -234,7 +208,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -247,16 +222,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.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = - (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,104 +253,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** - * - * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -387,23 +356,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class,
-              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -411,15 +378,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -452,8 +420,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result =
-          new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -464,39 +431,38 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,14 +509,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -558,39 +521,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -598,8 +555,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -611,13 +566,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -626,8 +581,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -639,14 +592,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -654,8 +608,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -667,22 +619,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -694,18 +644,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -717,23 +664,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -743,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -757,16 +704,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -781,4 +728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index cfae720a..d6d53ffb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -50,13 +29,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -68,8 +44,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 78c3ead3..7e739e04 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..e41738e8 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 45c41179..3156e1bf 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -47,15 +29,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,163 +57,136 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+            if (queueTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-              if (queueTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
-              }
-              queueType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-                queueType_ = subBuilder.buildPartial();
-              }
-              queueTypeCase_ = 3;
-              break;
+            queueType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+              queueType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            queueTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          case 82:
-            {
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 82: {
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
+
+            type_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -238,41 +194,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class,
-            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -281,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,8 +277,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -342,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -358,8 +299,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -370,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -390,6 +327,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -414,51 +352,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -476,18 +413,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -496,8 +430,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * A pull queue.
      * 
@@ -506,8 +438,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PULL(1), /** - * - * *
      * A push queue.
      * 
@@ -519,8 +449,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -529,8 +457,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A pull queue.
      * 
@@ -539,8 +465,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PULL_VALUE = 1; /** - * - * *
      * A push queue.
      * 
@@ -549,6 +473,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUSH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -573,49 +498,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return PULL; - case 2: - return PUSH; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return PULL; + case 2: return PUSH; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -634,15 +559,12 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; - public enum QueueTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; - private QueueTypeCase(int value) { this.value = value; } @@ -658,29 +580,25 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: - return APP_ENGINE_HTTP_QUEUE; - case 0: - return QUEUETYPE_NOT_SET; - default: - return null; + case 3: return APP_ENGINE_HTTP_QUEUE; + case 0: return QUEUETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueueTypeCase getQueueTypeCase() { - return QueueTypeCase.forNumber(queueTypeCase_); + public QueueTypeCase + getQueueTypeCase() { + return QueueTypeCase.forNumber( + queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -701,7 +619,6 @@ public QueueTypeCase getQueueTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -710,15 +627,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -739,15 +655,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 { @@ -757,8 +674,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -766,7 +681,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -774,8 +688,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -783,19 +695,16 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -805,10 +714,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-      getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -816,8 +724,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -842,7 +748,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -850,8 +755,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -876,18 +779,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -921,8 +819,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -936,7 +832,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -944,8 +839,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -959,18 +852,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -993,8 +881,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1005,16 +891,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1025,22 +907,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1053,7 +930,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -1061,8 +937,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1075,7 +949,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ @java.lang.Override @@ -1083,8 +956,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1106,8 +977,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1122,7 +991,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1130,8 +998,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1146,7 +1012,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ @java.lang.Override @@ -1154,8 +1019,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1179,8 +1042,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1193,7 +1054,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1201,8 +1061,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1215,18 +1073,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1248,17 +1101,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1266,48 +1115,36 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1315,19 +1152,13 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLog
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1335,35 +1166,25 @@ public int getTypeValue() {
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1371,18 +1192,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1390,17 +1206,13 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1408,7 +1220,6 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1420,7 +1231,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_); } @@ -1467,38 +1279,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getStackdriverLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1508,48 +1326,57 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig() + .equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue() + .equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1612,103 +1439,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1717,23 +1538,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class,
-              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1741,15 +1560,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1807,9 +1627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1883,39 +1703,38 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1956,15 +1775,13 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE:
-          {
-            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-            break;
-          }
-        case QUEUETYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_QUEUE: {
+          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+          break;
+        }
+        case QUEUETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1994,12 +1811,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-
-    public QueueTypeCase getQueueTypeCase() {
-      return QueueTypeCase.forNumber(queueTypeCase_);
+    public QueueTypeCase
+        getQueueTypeCase() {
+      return QueueTypeCase.forNumber(
+          queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -2009,10 +1826,9 @@ public Builder clearQueueType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2033,13 +1849,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -2048,8 +1864,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2070,14 +1884,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 { @@ -2085,8 +1900,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2107,22 +1920,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2143,18 +1954,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2175,29 +1983,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> - appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2205,7 +2008,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2213,8 +2015,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2222,7 +2022,6 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2240,8 +2039,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2264,8 +2061,6 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2286,8 +2081,6 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2296,17 +2089,12 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3
-            && queueType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (queueTypeCase_ == 3 &&
+            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2322,8 +2110,6 @@ public Builder mergeAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2349,8 +2135,6 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2359,13 +2143,10 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
-        getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2375,8 +2156,7 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-        getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2387,8 +2167,6 @@ public Builder clearAppEngineHttpQueue() {
       }
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2398,39 +2176,28 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2455,15 +2222,12 @@ public Builder clearAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2488,21 +2252,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2542,8 +2301,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2581,8 +2338,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2612,9 +2367,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2626,8 +2379,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2665,8 +2416,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2693,13 +2442,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2729,14 +2476,11 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2763,17 +2507,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RateLimits,
-                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2781,13 +2522,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2801,15 +2537,12 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2823,21 +2556,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2866,8 +2594,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2894,8 +2620,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2914,9 +2638,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2928,8 +2650,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2956,8 +2676,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2973,13 +2691,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2998,14 +2714,11 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -3021,17 +2734,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RetryConfig,
-                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -3039,8 +2749,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3051,16 +2759,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3071,19 +2775,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3094,19 +2795,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3117,7 +2814,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3125,14 +2821,12 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3143,11 +2837,10 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3155,13 +2848,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3174,15 +2862,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3195,7 +2880,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3206,8 +2890,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3235,8 +2917,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3250,7 +2930,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3261,8 +2942,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3280,7 +2959,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3292,8 +2971,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3319,8 +2996,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3335,13 +3010,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3359,12 +3032,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3379,17 +3051,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3397,13 +3066,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3418,15 +3082,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3441,7 +3102,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3452,8 +3112,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3483,8 +3141,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3500,7 +3156,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3511,8 +3168,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3532,7 +3187,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3544,8 +3199,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3573,8 +3226,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3591,13 +3242,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3617,12 +3266,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3639,17 +3287,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3657,13 +3302,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3676,15 +3316,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3697,21 +3334,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3739,8 +3371,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3754,7 +3384,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3765,8 +3396,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3784,9 +3413,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3798,8 +3425,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3825,8 +3450,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3841,13 +3464,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3865,14 +3486,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3887,17 +3505,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3905,64 +3520,47 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder setStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3976,16 +3574,13 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3999,26 +3594,19 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder mergeStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( - stackdriverLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -4030,16 +3618,13 @@ public Builder mergeStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -4053,69 +3638,54 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder - getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), getParentForChildren(), isClean()); + stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), + getParentForChildren(), + isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -4123,8 +3693,6 @@ public Builder clearStackdriverLoggingConfig() { private int type_ = 0; /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4132,19 +3700,13 @@ public Builder clearStackdriverLoggingConfig() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4152,22 +3714,17 @@ public int getTypeValue() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @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; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4175,22 +3732,16 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4198,10 +3749,7 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -4209,14 +3757,12 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4224,14 +3770,11 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -4239,64 +3782,45 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> - statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -4312,19 +3836,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -4335,25 +3856,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -4365,17 +3880,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -4389,77 +3900,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4469,12 +3964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -4483,16 +3978,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4507,4 +4002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index cc0ff52c..f85deb76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -88,13 +65,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -102,13 +76,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -120,8 +91,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -146,13 +115,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -177,13 +143,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -212,8 +175,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -227,13 +188,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -247,13 +205,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -271,8 +226,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -283,13 +236,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -300,14 +250,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -320,13 +267,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -339,13 +283,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -362,8 +303,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -378,13 +317,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -399,13 +335,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -424,8 +357,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -438,13 +369,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -457,13 +385,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -480,53 +405,39 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -534,16 +445,11 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -551,58 +457,41 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..f0dac04f --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta3_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { "SamplingRatio", }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 978a5c1e..6897da96 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = - (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = - new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 2ae27c91..8a467ec6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index dad67fef..ef9eedb4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -140,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -151,8 +130,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,18 +244,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.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = - (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -305,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -413,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class,
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -437,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +448,7 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result =
-          new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -493,39 +460,38 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -588,7 +552,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -596,8 +559,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -610,19 +571,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -635,20 +593,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -680,7 +635,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -688,8 +642,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -721,19 +673,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -765,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -793,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -801,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -817,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -844,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -865,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -879,16 +818,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index 98144881..bcb32f76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -38,14 +20,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 7b20829a..6a69efc9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b0f21f71 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index dda88aec..c721a7bb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,28 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = - (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -576,104 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -681,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class,
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -705,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -764,8 +709,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result =
-          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -791,39 +735,38 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -894,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -902,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -918,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -945,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -957,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -981,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1007,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1054,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1074,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1085,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1109,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1123,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1155,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1176,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1205,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1232,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1250,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1272,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1296,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1341,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1359,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1370,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1392,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1404,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1434,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1453,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1480,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1505,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1523,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1545,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1569,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1614,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1632,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1643,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1665,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1677,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1707,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1726,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1753,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1778,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1823,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1831,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1858,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1896,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1917,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1931,16 +1770,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 29a36745..16a45225 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7d1959..8e7077ce 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = - (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 1bb6a94d..019bc5fa 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d80fab89..d34e7cc2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,114 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -305,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -329,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -368,8 +337,7 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -379,39 +347,38 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -443,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -454,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -466,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -474,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -484,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -505,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -526,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -540,16 +496,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -564,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index ed2107ed..2a730069 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..a196a359 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,170 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 03927a4e..24c1dc31 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,168 +54,142 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 48: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 56: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 48: { + + dispatchCount_ = input.readInt32(); + break; + } + case 56: { + + responseCount_ = input.readInt32(); + break; + } + case 66: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - case 80: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 80: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + case 90: { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 11; - break; + payloadTypeCase_ = 11; + break; + } + case 98: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 98: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - break; + break; + } + case 106: { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); } - case 106: - { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 13; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + payloadTypeCase_ = 13; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -240,31 +197,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -276,10 +229,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -288,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -304,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -320,8 +268,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -330,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -346,8 +290,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -359,6 +301,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -383,49 +326,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -444,17 +387,14 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -470,33 +410,27 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 11:
-          return HTTP_REQUEST;
-        case 13:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 11: return HTTP_REQUEST;
+        case 13: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -518,7 +452,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -527,15 +460,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -557,15 +489,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 { @@ -575,15 +508,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -591,27 +521,22 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -620,25 +545,21 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -646,27 +567,22 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -677,15 +593,13 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -697,7 +611,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -705,8 +618,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -718,19 +629,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -746,7 +654,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -754,8 +662,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -763,7 +669,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -771,8 +676,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -780,18 +683,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -808,15 +706,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -824,15 +719,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -840,8 +732,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -857,8 +747,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -889,7 +777,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -897,8 +784,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -929,18 +814,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -980,8 +860,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -989,7 +867,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -1000,14 +877,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -1018,8 +892,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1027,7 +899,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -1035,8 +906,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1044,18 +913,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1072,14 +936,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -1087,25 +948,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1120,43 +974,33 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1168,7 +1012,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_); } @@ -1218,43 +1063,48 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1264,47 +1114,58 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -1369,126 +1230,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1496,15 +1349,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1552,9 +1406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1633,39 +1487,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); } else { super.mergeFrom(other); return this; @@ -1703,25 +1556,21 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1751,12 +1600,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1766,10 +1615,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1791,13 +1639,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1806,8 +1654,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1829,14 +1675,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 { @@ -1844,8 +1691,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1867,22 +1712,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1904,18 +1747,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1937,36 +1777,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1974,15 +1808,12 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -2000,8 +1831,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2009,8 +1838,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2024,8 +1852,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2045,8 +1871,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2054,17 +1878,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2080,8 +1899,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2106,8 +1923,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2115,13 +1930,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2130,8 +1942,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2142,8 +1953,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2152,45 +1961,33 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2198,15 +1995,12 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override @@ -2224,8 +2018,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2247,8 +2039,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2268,8 +2058,6 @@ public Builder setHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2279,13 +2067,10 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11
-            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 11 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2301,8 +2086,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2327,8 +2110,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2340,8 +2121,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2361,8 +2140,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2371,38 +2148,27 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.HttpRequest,
-                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2414,7 +2180,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2422,8 +2187,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2435,7 +2198,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override @@ -2453,8 +2215,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2481,8 +2241,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2507,8 +2265,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2523,13 +2279,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13
-            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 13 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2545,8 +2298,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2576,8 +2327,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2594,8 +2343,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2620,8 +2367,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2635,39 +2380,28 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.PullMessage,
-                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2675,15 +2409,12 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2691,21 +2422,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2728,8 +2454,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2738,7 +2462,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2749,8 +2474,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2763,9 +2486,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2777,8 +2498,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2799,8 +2518,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2810,13 +2527,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2829,14 +2544,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2846,17 +2558,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2864,49 +2573,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2928,8 +2624,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2937,7 +2631,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2948,8 +2643,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2961,7 +2654,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;
         }
@@ -2973,8 +2666,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2994,8 +2685,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3004,13 +2693,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3022,14 +2709,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3038,17 +2722,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -3056,13 +2737,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3093,15 +2769,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3132,21 +2805,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3192,8 +2860,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3225,7 +2891,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -3236,8 +2903,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3273,9 +2938,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -3287,8 +2950,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3332,8 +2993,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3366,13 +3025,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3408,14 +3065,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3448,26 +3102,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3475,7 +3124,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -3483,8 +3131,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3492,19 +3138,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3512,26 +3155,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -3539,36 +3178,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3576,13 +3209,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3590,15 +3218,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3606,21 +3231,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3643,8 +3263,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3653,7 +3271,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3664,8 +3283,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3678,9 +3295,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3692,8 +3307,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3714,8 +3327,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3725,13 +3336,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3744,14 +3353,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3761,17 +3367,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.Attempt,
-                com.google.cloud.tasks.v2beta3.Attempt.Builder,
-                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3779,47 +3382,34 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3840,15 +3430,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3859,8 +3448,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bui return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3871,9 +3458,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3885,8 +3470,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3905,8 +3488,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3914,13 +3495,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3931,14 +3510,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3946,17 +3522,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3964,69 +3537,55 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The view to set. * @return This builder for chaining. */ @@ -4034,32 +3593,29 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -4069,12 +3625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -4083,16 +3639,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4107,4 +3663,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 674d4ee6..9eec5440 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -157,8 +120,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -170,13 +131,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -188,13 +146,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -210,8 +165,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -219,13 +172,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -233,13 +183,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -251,34 +198,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -289,8 +228,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -321,13 +258,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -358,13 +292,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -399,8 +330,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -408,27 +337,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -436,13 +359,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -450,13 +370,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -468,32 +385,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -503,28 +412,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..cb10c09a --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 0721b5ef..635a81c9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 3e6869a9..33a0c511 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index afa82be4..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,378 +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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
-          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
-          + "tations.proto\032\027google/api/client.proto\032\037"
-          + "google/api/field_behavior.proto\032\031google/"
-          + "api/resource.proto\032!google/cloud/tasks/v"
-          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
-          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
-          + "\032google/iam/v1/policy.proto\032\033google/prot"
-          + "obuf/empty.proto\032 google/protobuf/field_"
-          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
-          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
-          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
-          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
-          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
-          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
-          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
-          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
-          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
-          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
-          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
-          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
-          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
-          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
-          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
-          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
-          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
-          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
-          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
-          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
-          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
-          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
-          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
-          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
-          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
-          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
-          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
-          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
-          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
-          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
-          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
-          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
-          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
-          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
-          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
-          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
-          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
-          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
-          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
-          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
-          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
-          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
-          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
-          + ".google.cloud.tasks.v2.ListQueuesRespons"
-          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
-          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
-          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
-          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
-          + "name=projects/*/locations/*/queues/*}\332A\004"
-          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
-          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
-          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
-          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
-          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
-          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
-          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
-          + "e=projects/*/locations/*/queues/*}:\005queu"
-          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
-          + "google.cloud.tasks.v2.DeleteQueueRequest"
-          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
-          + "ame=projects/*/locations/*/queues/*}\332A\004n"
-          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
-          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
-          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
-          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
-          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
-          + "useQueueRequest\032\034.google.cloud.tasks.v2."
-          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
-          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
-          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
-          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
-          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
-          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
-          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
-          + "/{resource=projects/*/locations/*/queues"
-          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
-          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
-          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
-          + "{resource=projects/*/locations/*/queues/"
-          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
-          + "\022TestIamPermissions\022(.google.iam.v1.Test"
-          + "IamPermissionsRequest\032).google.iam.v1.Te"
-          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
-          + "esource=projects/*/locations/*/queues/*}"
-          + ":testIamPermissions:\001*\332A\024resource,permis"
-          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
-          + ".v2.ListTasksRequest\032(.google.cloud.task"
-          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
-          + "ent=projects/*/locations/*/queues/*}/tas"
-          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
-          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
-          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
-          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
-          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
-          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
-          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
-          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
-          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
-          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
-          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
-          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
-          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
-          + "v2/{name=projects/*/locations/*/queues/*"
-          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
-          + "oogleapis.com\322A.https://www.googleapis.c"
-          + "om/auth/cloud-platformBr\n\031com.google.clo"
-          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
-          + "olang.org/genproto/googleapis/cloud/task"
-          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-              com.google.iam.v1.IamPolicyProto.getDescriptor(),
-              com.google.iam.v1.PolicyProto.getDescriptor(),
-              com.google.protobuf.EmptyProto.getDescriptor(),
-              com.google.protobuf.FieldMaskProto.getDescriptor(),
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Filter", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-            new java.lang.String[] {
-              "Queues", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Queue",
-            });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Queue", "UpdateMask",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "ResponseView", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-            new java.lang.String[] {
-              "Tasks", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Task", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c38f781e..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 0e7ab341..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 4c78cd4a..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index bd81aed6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index c701bf8c..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index db5e00c6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,146 +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/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" - + "gle.cloud.tasks.v2\032\031google/api/resource." - + "proto\032\"google/cloud/tasks/v2/target.prot" - + "o\032\036google/protobuf/duration.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" - + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" - + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" - + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" - + "loud.tasks.v2.RateLimits\0228\n\014retry_config" - + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" - + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" - + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022S\n\032stackdriver_log" - + "ging_config\030\t \001(\0132/.google.cloud.tasks.v" - + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" - + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" - + "eapis.com/Queue\0226projects/{project}/loca" - + "tions/{location}/queues/{queue}\"j\n\nRateL" - + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" - + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" - + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" - + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" - + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" - + "backoff\030\003 \001(\0132\031.google.protobuf.Duration" - + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." - + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" - + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " - + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineRoutingOverride", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "StackdriverLoggingConfig", - }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 0b0b032e..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 38185289..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,177 +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/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" - + "ogle.cloud.tasks.v2\032\037google/api/field_be" - + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" - + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" - + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" - + "/.google.cloud.tasks.v2.HttpRequest.Head" - + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " - + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" - + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" - + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" - + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" - + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" - + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." - + "google.cloud.tasks.v2.AppEngineRouting\022\024" - + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." - + "google.cloud.tasks.v2.AppEngineHttpReque" - + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" - + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" - + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " - + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" - + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" - + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" - + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" - + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" - + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" - + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index ed8a2c9b..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,129 +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/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" - + "le.cloud.tasks.v2\032\031google/api/resource.p" - + "roto\032\"google/cloud/tasks/v2/target.proto" - + "\032\036google/protobuf/duration.proto\032\037google" - + "/protobuf/timestamp.proto\032\027google/rpc/st" - + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" - + "_engine_http_request\030\002 \001(\0132+.google.clou" - + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" - + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." - + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" - + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" - + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" - + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" - + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." - + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" - + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" - + ".googleapis.com/Task\022Cprojects/{project}" - + "/locations/{location}/queues/{queue}/tas" - + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" - + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" - + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" - + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "MessageType", - }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index e0f1f9cc..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,496 +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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta2/queue.proto\032%google/clo" - + "ud/tasks/v2beta2/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\036google/protobuf/duration.proto\032" - + "\033google/protobuf/empty.proto\032 google/pro" - + "tobuf/field_mask.proto\032\037google/protobuf/" - + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" - + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" - + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" - + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" - + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" - + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" - + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" - + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" - + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" - + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" - + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." - + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" - + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" - + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" - + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" - + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" - + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" - + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" - + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" - + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" - + "loudtasks.googleapis.com/Task\022<\n\rrespons" - + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" - + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" - + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" - + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" - + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" - + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" - + "\0162%.google.cloud.tasks.v2beta2.Task.View" - + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" - + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" - + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" - + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" - + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" - + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" - + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" - + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" - + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" - + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" - + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" - + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" - + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" - + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" - + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" - + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" - + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" - + "sks.googleapis.com/Task\0226\n\rschedule_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" - + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" - + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" - + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" - + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" - + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" - + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" - + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" - + "tasks.googleapis.com/Task\022<\n\rresponse_vi" - + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" - + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." - + "google.cloud.tasks.v2beta2.ListQueuesReq" - + "uest\032..google.cloud.tasks.v2beta2.ListQu" - + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" - + "rojects/*/locations/*}/queues\332A\006parent\022\232" - + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" - + ".GetQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" - + "CreateQueue\022..google.cloud.tasks.v2beta2" - + ".CreateQueueRequest\032!.google.cloud.tasks" - + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" - + "=projects/*/locations/*}/queues:\005queue\332A" - + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" - + "loud.tasks.v2beta2.UpdateQueueRequest\032!." - + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" - + "25/v2beta2/{queue.name=projects/*/locati" - + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" - + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." - + "v2beta2.DeleteQueueRequest\032\026.google.prot" - + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" - + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" - + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" - + "urgeQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" - + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" - + ".v2beta2.PauseQueueRequest\032!.google.clou" - + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" - + "{name=projects/*/locations/*/queues/*}:p" - + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." - + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" - + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" - + ";\"6/v2beta2/{name=projects/*/locations/*" - + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" - + "licy\022\".google.iam.v1.GetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" - + "2/{resource=projects/*/locations/*/queue" - + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" - + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" - + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" - + "beta2/{resource=projects/*/locations/*/q" - + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" - + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" - + "1.TestIamPermissionsRequest\032).google.iam" - + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" - + "/v2beta2/{resource=projects/*/locations/" - + "*/queues/*}:testIamPermissions:\001*\332A\024reso" - + "urce,permissions\022\262\001\n\tListTasks\022,.google." - + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" - + "oogle.cloud.tasks.v2beta2.ListTasksRespo" - + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" - + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" - + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" - + "etTaskRequest\032 .google.cloud.tasks.v2bet" - + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" - + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" - + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" - + "ta2.CreateTaskRequest\032 .google.cloud.tas" - + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" - + "t=projects/*/locations/*/queues/*}/tasks" - + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" - + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" - + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" - + "2/{name=projects/*/locations/*/queues/*/" - + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." - + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." - + "google.cloud.tasks.v2beta2.LeaseTasksRes" - + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" - + "/*/locations/*/queues/*}/tasks:lease:\001*\332" - + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" - + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" - + "edgeTaskRequest\032\026.google.protobuf.Empty\"" - + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" - + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" - + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" - + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" - + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" - + "\344\223\002G\"B/v2beta2/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" - + "me,schedule_time,lease_duration\022\304\001\n\013Canc" - + "elLease\022..google.cloud.tasks.v2beta2.Can" - + "celLeaseRequest\032 .google.cloud.tasks.v2b" - + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" - + "ts/*/locations/*/queues/*/tasks/*}:cance" - + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" - + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" - + "equest\032 .google.cloud.tasks.v2beta2.Task" - + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" - + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" - + "M\312A\031cloudtasks.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB|" - + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" - + "asksProtoP\001Z?google.golang.org/genproto/" - + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" - + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", - }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", - }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "LeaseDuration", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 92e8ff23..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index f57510e9..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a65e03f3..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 86bed8df..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,24 +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/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 395d587e..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 39c576fa..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,178 +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/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" - + "\022\032google.cloud.tasks.v2beta2\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" - + "2/.google.cloud.tasks.v2beta2.AppEngineH" - + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" - + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" - + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." - + "google.cloud.tasks.v2beta2.RetryConfig\0226" - + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" - + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" - + "2\031.google.protobuf.Duration\0220\n\rtombstone" - + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" - + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" - + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" - + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" - + "/Queue\0226projects/{project}/locations/{lo" - + "cation}/queues/{queue}B\r\n\013target_type\"k\n" - + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" - + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" - + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" - + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" - + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" - + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" - + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" - + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" - + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" - + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" - + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" - + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" - + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" - + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" - + "ueProtoP\001Z?google.golang.org/genproto/go" - + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpTarget", - "PullTarget", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "Stats", - "TargetType", - }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { - "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", - }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", - "UnlimitedAttempts", - "MaxRetryDuration", - "MinBackoff", - "MaxBackoff", - "MaxDoublings", - "NumAttempts", - }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 7e18051a..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 2ec60f36..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" - + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" - + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" - + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" - + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" - + "ing_override\030\001 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" - + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." - + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" - + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\022\024\n\014relative_url" - + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" - + "asks.v2beta2.AppEngineHttpRequest.Header" - + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" - + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" - + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" - + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" - + "eta2B\013TargetProtoP\001Z?google.golang.org/g" - + "enproto/googleapis/cloud/tasks/v2beta2;t" - + "asksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index a0c50640..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,143 +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/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" - + "\032google.cloud.tasks.v2beta2\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a2/target.proto\032\037google/protobuf/timesta" - + "mp.proto\032\027google/rpc/status.proto\032\034googl" - + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" - + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" - + "0.google.cloud.tasks.v2beta2.AppEngineHt" - + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" - + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" - + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" - + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" - + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" - + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" - + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" - + "apis.com/Task\022Cprojects/{project}/locati" - + "ons/{location}/queues/{queue}/tasks/{tas" - + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" - + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" - + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" - + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" - + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" - + ").google.cloud.tasks.v2beta2.AttemptStat" - + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " - + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" - + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" - + ".google.rpc.StatusBn\n\036com.google.cloud.t" - + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "Status", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { - "AttemptDispatchCount", - "AttemptResponseCount", - "FirstAttemptStatus", - "LastAttemptStatus", - }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index f9f9d0eb..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,388 +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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta3\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta3/queue.proto\032%google/clo" - + "ud/tasks/v2beta3/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\033google/protobuf/empty.proto\032 go" - + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" - + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" - + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" - + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" - + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" - + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" - + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" - + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" - + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" - + "udtasks.googleapis.com/Queue\0222\n\tread_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" - + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" - + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" - + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" - + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" - + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" - + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" - + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" - + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" - + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" - + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" - + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" - + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" - + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" - + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" - + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" - + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" - + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" - + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" - + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" - + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" - + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" - + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" - + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" - + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" - + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " - + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" - + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" - + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" - + "response_view\030\002 \001(\0162%.google.cloud.tasks" - + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" - + "stQueues\022-.google.cloud.tasks.v2beta3.Li" - + "stQueuesRequest\032..google.cloud.tasks.v2b" - + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" - + "3/{parent=projects/*/locations/*}/queues" - + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" - + "sks.v2beta3.GetQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" - + "/{name=projects/*/locations/*/queues/*}\332" - + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" - + "sks.v2beta3.CreateQueueRequest\032!.google." - + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" - + "ta3/{parent=projects/*/locations/*}/queu" - + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" - + "\022..google.cloud.tasks.v2beta3.UpdateQueu" - + "eRequest\032!.google.cloud.tasks.v2beta3.Qu" - + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" - + "ts/*/locations/*/queues/*}:\005queue\332A\021queu" - + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" - + "loud.tasks.v2beta3.DeleteQueueRequest\032\026." - + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" - + "{name=projects/*/locations/*/queues/*}\332A" - + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" - + "s.v2beta3.PurgeQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" - + "/{name=projects/*/locations/*/queues/*}:" - + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." - + "cloud.tasks.v2beta3.PauseQueueRequest\032!." - + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" - + "\"5/v2beta3/{name=projects/*/locations/*/" - + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" - + "e\022..google.cloud.tasks.v2beta3.ResumeQue" - + "ueRequest\032!.google.cloud.tasks.v2beta3.Q" - + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" - + "locations/*/queues/*}:resume:\001*\332A\004name\022\241" - + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" - + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" - + "\002E\"@/v2beta3/{resource=projects/*/locati" - + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" - + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" - + "amPolicyRequest\032\025.google.iam.v1.Policy\"]" - + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" - + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" - + "source,policy\022\323\001\n\022TestIamPermissions\022(.g" - + "oogle.iam.v1.TestIamPermissionsRequest\032)" - + ".google.iam.v1.TestIamPermissionsRespons" - + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" - + "/locations/*/queues/*}:testIamPermission" - + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" - + "s\022,.google.cloud.tasks.v2beta3.ListTasks" - + "Request\032-.google.cloud.tasks.v2beta3.Lis" - + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" - + "=projects/*/locations/*/queues/*}/tasks\332" - + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" - + "s.v2beta3.GetTaskRequest\032 .google.cloud." - + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" - + "me=projects/*/locations/*/queues/*/tasks" - + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" - + ".tasks.v2beta3.CreateTaskRequest\032 .googl" - + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" - + "eta3/{parent=projects/*/locations/*/queu" - + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" - + "ask\022-.google.cloud.tasks.v2beta3.DeleteT" - + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" - + "\0029*7/v2beta3/{name=projects/*/locations/" - + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" - + ".google.cloud.tasks.v2beta3.RunTaskReque" - + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" - + "\344\223\002@\";/v2beta3/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" - + "cloudtasks.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB|\n\036co" - + "m.google.cloud.tasks.v2beta3B\017CloudTasks" - + "ProtoP\001Z?google.golang.org/genproto/goog" - + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" - + "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 1005fb1e..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 31df875a..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index d4fc3a55..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 5a994955..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index 6e32a784..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,188 +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/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta3_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" - + "\022\032google.cloud.tasks.v2beta3\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" - + "..google.cloud.tasks.v2beta3.AppEngineHt" - + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." - + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" - + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" - + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" - + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" - + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" - + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" - + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" - + "buf.Duration\022X\n\032stackdriver_logging_conf" - + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" - + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" - + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" - + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" - + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" - + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" - + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." - + "googleapis.com/Queue\0226projects/{project}" - + "/locations/{location}/queues/{queue}B\014\n\n" - + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" - + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " - + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" - + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" - + "max_retry_duration\030\002 \001(\0132\031.google.protob" - + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" - + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" - + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" - + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" - + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" - + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" - + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" - + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" - + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" - + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" - + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpQueue", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "StackdriverLoggingConfig", - "Type", - "Stats", - "QueueType", - }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 9a447341..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index b76a8c8c..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,201 +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/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" - + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" - + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" - + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" - + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" - + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" - + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" - + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" - + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" - + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" - + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" - + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" - + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" - + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" - + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" - + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" - + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" - + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" - + ".v2beta3.AppEngineHttpRequest.HeadersEnt" - + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" - + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" - + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" - + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" - + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" - + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" - + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" - + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" - + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" - + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" - + "google.golang.org/genproto/googleapis/cl" - + "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index e57410e2..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.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/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" - + "\032google.cloud.tasks.v2beta3\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a3/target.proto\032\036google/protobuf/duratio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\032\034google/api/an" - + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" - + "\n\027app_engine_http_request\030\003 \001(\01320.google" - + ".cloud.tasks.v2beta3.AppEngineHttpReques" - + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" - + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" - + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." - + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" - + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" - + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" - + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" - + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" - + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" - + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" - + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" - + "jects/{project}/locations/{location}/que" - + "ues/{queue}/tasks/{task}B\016\n\014payload_type" - + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" - + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." - + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" - + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" - + "proto/googleapis/cloud/tasks/v2beta3;tas" - + "ksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 15a3a92e1a0890c48a3fcbd6a0c008582bd435d3 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 10 Jun 2022 00:58:23 +0000 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +- .../cloud/tasks/v2/CloudTasksClient.java | 53 +- .../cloud/tasks/v2/CloudTasksSettings.java | 7 +- .../google/cloud/tasks/v2/gapic_metadata.json | 0 .../google/cloud/tasks/v2/package-info.java | 0 .../cloud/tasks/v2/stub/CloudTasksStub.java | 0 .../tasks/v2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../tasks/v2/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2beta2/CloudTasksClient.java | 69 +- .../tasks/v2beta2/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta2/gapic_metadata.json | 0 .../cloud/tasks/v2beta2/package-info.java | 0 .../tasks/v2beta2/stub/CloudTasksStub.java | 0 .../v2beta2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta2/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2beta3/CloudTasksClient.java | 53 +- .../tasks/v2beta3/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta3/gapic_metadata.json | 0 .../cloud/tasks/v2beta3/package-info.java | 0 .../tasks/v2beta3/stub/CloudTasksStub.java | 0 .../v2beta3/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta3/stub/GrpcCloudTasksStub.java | 1 - .../cloud/tasks/v2/CloudTasksClientTest.java | 0 .../google/cloud/tasks/v2/MockCloudTasks.java | 0 .../cloud/tasks/v2/MockCloudTasksImpl.java | 0 .../tasks/v2beta2/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta2/MockCloudTasks.java | 0 .../tasks/v2beta2/MockCloudTasksImpl.java | 0 .../tasks/v2beta3/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta3/MockCloudTasks.java | 0 .../tasks/v2beta3/MockCloudTasksImpl.java | 0 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 ++++++++----- .../cloud/tasks/v2beta2/CloudTasksGrpc.java | 1823 +++++++++++------ .../cloud/tasks/v2beta3/CloudTasksGrpc.java | 1473 ++++++++----- .../cloud/tasks/v2/CloudTasksProto.java | 349 ---- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 31 - .../tasks/v2/DeleteTaskRequestOrBuilder.java | 31 - .../tasks/v2/GetQueueRequestOrBuilder.java | 31 - .../tasks/v2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2/PurgeQueueRequestOrBuilder.java | 31 - .../com/google/cloud/tasks/v2/QueueProto.java | 122 -- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 31 - .../google/cloud/tasks/v2/TargetProto.java | 148 -- .../com/google/cloud/tasks/v2/TaskProto.java | 102 - .../cloud/tasks/v2beta2/CloudTasksProto.java | 462 ----- .../v2beta2/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta2/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2beta2/PullTargetOrBuilder.java | 9 - .../v2beta2/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/QueueProto.java | 140 -- .../v2beta2/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/TargetProto.java | 125 -- .../google/cloud/tasks/v2beta2/TaskProto.java | 116 -- .../cloud/tasks/v2beta3/CloudTasksProto.java | 359 ---- .../v2beta3/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta3/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta3/PauseQueueRequestOrBuilder.java | 31 - .../v2beta3/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/QueueProto.java | 154 -- .../v2beta3/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/TargetProto.java | 170 -- .../google/cloud/tasks/v2beta3/TaskProto.java | 108 - .../cloud/tasks/v2/AppEngineHttpRequest.java | 756 ++++--- .../v2/AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2/AppEngineRouting.java | 540 ++--- .../tasks/v2/AppEngineRoutingOrBuilder.java | 54 +- .../com/google/cloud/tasks/v2/Attempt.java | 616 ++++-- .../cloud/tasks/v2/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2/CloudTasksProto.java | 378 ++++ .../cloud/tasks/v2/CreateQueueRequest.java | 444 ++-- .../tasks/v2/CreateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2/CreateTaskRequest.java | 473 +++-- .../tasks/v2/CreateTaskRequestOrBuilder.java | 49 +- .../cloud/tasks/v2/DeleteQueueRequest.java | 329 +-- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/DeleteTaskRequest.java | 329 +-- .../tasks/v2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2/GetQueueRequest.java | 329 +-- .../tasks/v2/GetQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/GetTaskRequest.java | 382 ++-- .../tasks/v2/GetTaskRequestOrBuilder.java | 41 +- .../com/google/cloud/tasks/v2/HttpMethod.java | 117 +- .../google/cloud/tasks/v2/HttpRequest.java | 910 ++++---- .../cloud/tasks/v2/HttpRequestOrBuilder.java | 83 +- .../cloud/tasks/v2/ListQueuesRequest.java | 523 +++-- .../tasks/v2/ListQueuesRequestOrBuilder.java | 56 +- .../cloud/tasks/v2/ListQueuesResponse.java | 454 ++-- .../tasks/v2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2/ListTasksRequest.java | 498 +++-- .../tasks/v2/ListTasksRequestOrBuilder.java | 53 +- .../cloud/tasks/v2/ListTasksResponse.java | 454 ++-- .../tasks/v2/ListTasksResponseOrBuilder.java | 46 +- .../google/cloud/tasks/v2/LocationName.java | 0 .../com/google/cloud/tasks/v2/OAuthToken.java | 373 ++-- .../cloud/tasks/v2/OAuthTokenOrBuilder.java | 36 +- .../com/google/cloud/tasks/v2/OidcToken.java | 373 ++-- .../cloud/tasks/v2/OidcTokenOrBuilder.java | 36 +- .../cloud/tasks/v2/PauseQueueRequest.java | 329 +-- .../tasks/v2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/PurgeQueueRequest.java | 329 +-- .../tasks/v2/PurgeQueueRequestOrBuilder.java | 56 + .../java/com/google/cloud/tasks/v2/Queue.java | 934 ++++++--- .../com/google/cloud/tasks/v2/QueueName.java | 0 .../google/cloud/tasks/v2/QueueOrBuilder.java | 76 +- .../com/google/cloud/tasks/v2/QueueProto.java | 146 ++ .../com/google/cloud/tasks/v2/RateLimits.java | 326 +-- .../cloud/tasks/v2/RateLimitsOrBuilder.java | 27 +- .../cloud/tasks/v2/ResumeQueueRequest.java | 329 +-- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/RetryConfig.java | 579 ++++-- .../cloud/tasks/v2/RetryConfigOrBuilder.java | 48 +- .../google/cloud/tasks/v2/RunTaskRequest.java | 382 ++-- .../tasks/v2/RunTaskRequestOrBuilder.java | 41 +- .../tasks/v2/StackdriverLoggingConfig.java | 275 +-- .../v2/StackdriverLoggingConfigOrBuilder.java | 21 +- .../google/cloud/tasks/v2/TargetProto.java | 177 ++ .../java/com/google/cloud/tasks/v2/Task.java | 1234 +++++++---- .../com/google/cloud/tasks/v2/TaskName.java | 0 .../google/cloud/tasks/v2/TaskOrBuilder.java | 95 +- .../com/google/cloud/tasks/v2/TaskProto.java | 129 ++ .../cloud/tasks/v2/UpdateQueueRequest.java | 436 ++-- .../tasks/v2/UpdateQueueRequestOrBuilder.java | 34 +- .../google/cloud/tasks/v2/cloudtasks.proto | 0 .../proto/google/cloud/tasks/v2/queue.proto | 0 .../proto/google/cloud/tasks/v2/target.proto | 0 .../proto/google/cloud/tasks/v2/task.proto | 0 .../tasks/v2beta2/AcknowledgeTaskRequest.java | 478 +++-- .../AcknowledgeTaskRequestOrBuilder.java | 52 +- .../tasks/v2beta2/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../tasks/v2beta2/AppEngineHttpTarget.java | 352 ++-- .../v2beta2/AppEngineHttpTargetOrBuilder.java | 26 +- .../cloud/tasks/v2beta2/AppEngineRouting.java | 543 ++--- .../v2beta2/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/tasks/v2beta2/AttemptStatus.java | 623 ++++-- .../tasks/v2beta2/AttemptStatusOrBuilder.java | 50 +- .../tasks/v2beta2/CancelLeaseRequest.java | 531 +++-- .../v2beta2/CancelLeaseRequestOrBuilder.java | 58 +- .../cloud/tasks/v2beta2/CloudTasksProto.java | 496 +++++ .../tasks/v2beta2/CreateQueueRequest.java | 466 +++-- .../v2beta2/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta2/CreateTaskRequest.java | 517 +++-- .../v2beta2/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta2/DeleteQueueRequest.java | 339 +-- .../v2beta2/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta2/DeleteTaskRequest.java | 336 +-- .../v2beta2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/GetQueueRequest.java | 453 ++-- .../v2beta2/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta2/GetTaskRequest.java | 385 ++-- .../v2beta2/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/HttpMethod.java | 103 +- .../tasks/v2beta2/LeaseTasksRequest.java | 639 +++--- .../v2beta2/LeaseTasksRequestOrBuilder.java | 70 +- .../tasks/v2beta2/LeaseTasksResponse.java | 380 ++-- .../v2beta2/LeaseTasksResponseOrBuilder.java | 37 +- .../tasks/v2beta2/ListQueuesRequest.java | 652 +++--- .../v2beta2/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta2/ListQueuesResponse.java | 459 +++-- .../v2beta2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/ListTasksRequest.java | 501 +++-- .../v2beta2/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta2/ListTasksResponse.java | 456 +++-- .../v2beta2/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/LocationName.java | 0 .../tasks/v2beta2/PauseQueueRequest.java | 336 +-- .../v2beta2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/PullMessage.java | 337 +-- .../tasks/v2beta2/PullMessageOrBuilder.java | 30 +- .../cloud/tasks/v2beta2/PullTarget.java | 225 +- .../tasks/v2beta2/PullTargetOrBuilder.java | 24 + .../tasks/v2beta2/PurgeQueueRequest.java | 336 +-- .../v2beta2/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++++++---- .../google/cloud/tasks/v2beta2/QueueName.java | 0 .../cloud/tasks/v2beta2/QueueOrBuilder.java | 109 +- .../cloud/tasks/v2beta2/QueueProto.java | 178 ++ .../cloud/tasks/v2beta2/QueueStats.java | 552 +++-- .../tasks/v2beta2/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta2/RateLimits.java | 334 +-- .../tasks/v2beta2/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta2/RenewLeaseRequest.java | 664 +++--- .../v2beta2/RenewLeaseRequestOrBuilder.java | 75 +- .../tasks/v2beta2/ResumeQueueRequest.java | 339 +-- .../v2beta2/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/RetryConfig.java | 690 ++++--- .../tasks/v2beta2/RetryConfigOrBuilder.java | 57 +- .../cloud/tasks/v2beta2/RunTaskRequest.java | 385 ++-- .../v2beta2/RunTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/TargetProto.java | 145 ++ .../com/google/cloud/tasks/v2beta2/Task.java | 986 +++++---- .../google/cloud/tasks/v2beta2/TaskName.java | 0 .../cloud/tasks/v2beta2/TaskOrBuilder.java | 73 +- .../google/cloud/tasks/v2beta2/TaskProto.java | 143 ++ .../cloud/tasks/v2beta2/TaskStatus.java | 487 +++-- .../tasks/v2beta2/TaskStatusOrBuilder.java | 40 +- .../tasks/v2beta2/UpdateQueueRequest.java | 458 +++-- .../v2beta2/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta2/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta2/queue.proto | 0 .../google/cloud/tasks/v2beta2/target.proto | 0 .../google/cloud/tasks/v2beta2/task.proto | 0 .../tasks/v2beta3/AppEngineHttpQueue.java | 352 ++-- .../v2beta3/AppEngineHttpQueueOrBuilder.java | 26 +- .../tasks/v2beta3/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2beta3/AppEngineRouting.java | 543 ++--- .../v2beta3/AppEngineRoutingOrBuilder.java | 54 +- .../google/cloud/tasks/v2beta3/Attempt.java | 616 ++++-- .../cloud/tasks/v2beta3/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2beta3/CloudTasksProto.java | 388 ++++ .../tasks/v2beta3/CreateQueueRequest.java | 466 +++-- .../v2beta3/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta3/CreateTaskRequest.java | 517 +++-- .../v2beta3/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta3/DeleteQueueRequest.java | 339 +-- .../v2beta3/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta3/DeleteTaskRequest.java | 336 +-- .../v2beta3/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/GetQueueRequest.java | 453 ++-- .../v2beta3/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta3/GetTaskRequest.java | 385 ++-- .../v2beta3/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta3/HttpMethod.java | 117 +- .../cloud/tasks/v2beta3/HttpRequest.java | 919 +++++---- .../tasks/v2beta3/HttpRequestOrBuilder.java | 86 +- .../tasks/v2beta3/ListQueuesRequest.java | 652 +++--- .../v2beta3/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta3/ListQueuesResponse.java | 459 +++-- .../v2beta3/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/ListTasksRequest.java | 501 +++-- .../v2beta3/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta3/ListTasksResponse.java | 456 +++-- .../v2beta3/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/LocationName.java | 0 .../cloud/tasks/v2beta3/OAuthToken.java | 380 ++-- .../tasks/v2beta3/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/tasks/v2beta3/OidcToken.java | 377 ++-- .../tasks/v2beta3/OidcTokenOrBuilder.java | 36 +- .../tasks/v2beta3/PauseQueueRequest.java | 336 +-- .../v2beta3/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/PullMessage.java | 337 +-- .../tasks/v2beta3/PullMessageOrBuilder.java | 30 +- .../tasks/v2beta3/PurgeQueueRequest.java | 336 +-- .../v2beta3/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++++++----- .../google/cloud/tasks/v2beta3/QueueName.java | 0 .../cloud/tasks/v2beta3/QueueOrBuilder.java | 135 +- .../cloud/tasks/v2beta3/QueueProto.java | 188 ++ .../cloud/tasks/v2beta3/QueueStats.java | 552 +++-- .../tasks/v2beta3/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta3/RateLimits.java | 333 +-- .../tasks/v2beta3/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta3/ResumeQueueRequest.java | 339 +-- .../v2beta3/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/RetryConfig.java | 583 ++++-- .../tasks/v2beta3/RetryConfigOrBuilder.java | 48 +- .../cloud/tasks/v2beta3/RunTaskRequest.java | 385 ++-- .../v2beta3/RunTaskRequestOrBuilder.java | 41 +- .../v2beta3/StackdriverLoggingConfig.java | 278 +-- .../StackdriverLoggingConfigOrBuilder.java | 21 +- .../cloud/tasks/v2beta3/TargetProto.java | 201 ++ .../com/google/cloud/tasks/v2beta3/Task.java | 1360 +++++++----- .../google/cloud/tasks/v2beta3/TaskName.java | 0 .../cloud/tasks/v2beta3/TaskOrBuilder.java | 103 +- .../google/cloud/tasks/v2beta3/TaskProto.java | 136 ++ .../tasks/v2beta3/UpdateQueueRequest.java | 458 +++-- .../v2beta3/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta3/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta3/queue.proto | 0 .../google/cloud/tasks/v2beta3/target.proto | 0 .../google/cloud/tasks/v2beta3/task.proto | 0 276 files changed, 37516 insertions(+), 22548 deletions(-) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2/grpc-google-cloud-tasks-v2 => grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2 => grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3 => grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%) delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%) diff --git a/README.md b/README.md index a37364d5..950ffbdb 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-tasks - 2.1.11 + 2.2.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.1.11' +implementation 'com.google.cloud:google-cloud-tasks:2.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.1.11" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.2.0" ``` ## Authentication diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java index 61ef0096..faa80fe8 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1177,7 +1177,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1212,7 +1212,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1244,7 +1244,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1269,6 +1269,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1278,7 +1282,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1314,7 +1318,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1357,7 +1361,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1397,7 +1401,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1423,6 +1427,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1435,7 +1443,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1572,6 +1580,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1890,7 +1903,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1949,7 +1962,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2005,7 +2018,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2037,7 +2050,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2385,7 +2398,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2432,7 +2448,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index f9df6d64..433cfa77 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index 3b96cadf..53e34f71 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java index 7d1310a2..b0a36eed 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java @@ -53,7 +53,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 611226d9..39ba53e5 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -67,13 +67,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1190,7 +1190,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1225,7 +1225,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1257,7 +1257,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1282,6 +1282,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1291,7 +1295,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1327,7 +1331,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1370,7 +1374,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1410,7 +1414,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1436,6 +1440,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1448,7 +1456,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1585,6 +1593,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1903,9 +1916,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1964,9 +1977,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2022,9 +2035,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2056,9 +2069,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3082,7 +3095,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3129,7 +3145,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 43abe6a2..3f9c9be6 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index 164dabdd..d01966cb 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -85,9 +85,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index a8b16134..1218f4ab 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -59,7 +59,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index ba42d7cd..c9107c4e 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -65,13 +65,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1188,7 +1188,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1223,7 +1223,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1255,7 +1255,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1280,6 +1280,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1289,7 +1293,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1325,7 +1329,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1368,7 +1372,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1408,7 +1412,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1434,6 +1438,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1446,7 +1454,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1583,6 +1591,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1901,7 +1914,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1960,7 +1973,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2016,7 +2029,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2048,7 +2061,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2400,7 +2413,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2447,7 +2463,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 8f3c8302..4b670b0a 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -49,9 +48,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index 65ea119f..d7342118 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -80,9 +80,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index 00217250..3538397e 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -54,7 +54,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index e774c26c..7ce92264 100644 --- a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,733 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListQueuesRequest,
+            com.google.cloud.tasks.v2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +776,16 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +801,16 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +824,16 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +841,15 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +859,15 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +882,16 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +902,16 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -723,12 +923,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +942,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -754,34 +963,43 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1007,15 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1038,167 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1212,18 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1239,18 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1264,18 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1283,16 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1302,16 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1326,18 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1348,18 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1371,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1392,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1156,37 +1415,46 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1462,16 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1494,8 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1503,16 @@ public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1523,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1565,15 @@ public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQue
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1589,15 @@ public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.Cre
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1611,15 @@ public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.Upd
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1627,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQue
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1645,15 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.Purg
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1668,15 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.Paus
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1693,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1712,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1723,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1435,34 +1742,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1786,15 @@ public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.Creat
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1817,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTask
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask( + com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1887,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1911,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1933,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1949,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1967,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +1990,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2009,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2029,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2047,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1720,37 +2067,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2119,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2143,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2167,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2185,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2283,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2327,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
similarity index 58%
rename from owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
index 2dea9a7e..4471b15a 100644
--- a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta2;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,700 +36,928 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListTasksRequest,
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-              .build();
+          CloudTasksGrpc.getLeaseTasksMethod =
+              getLeaseTasksMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+                      .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+        getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-              .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod =
+              getAcknowledgeTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+                      .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-              .build();
+          CloudTasksGrpc.getRenewLeaseMethod =
+              getRenewLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+                      .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-              .build();
+          CloudTasksGrpc.getCancelLeaseMethod =
+              getCancelLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+                      .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -726,12 +971,16 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -747,12 +996,16 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -766,12 +1019,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -779,12 +1036,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -794,12 +1054,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -814,12 +1077,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -830,12 +1097,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -847,12 +1118,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -862,12 +1137,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -878,22 +1158,29 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -902,12 +1189,15 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -915,12 +1205,15 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -943,12 +1236,16 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -963,12 +1260,16 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeTaskMethod(), responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -976,12 +1277,15 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -990,12 +1294,16 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelLeaseMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1020,199 +1328,193 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1226,13 +1528,18 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1248,13 +1555,18 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1268,13 +1580,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1282,13 +1599,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1298,13 +1618,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1319,13 +1642,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1336,13 +1664,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1354,13 +1687,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1370,13 +1708,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1387,24 +1731,31 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1413,13 +1764,16 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1427,13 +1781,16 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1456,13 +1813,17 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1477,13 +1838,18 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1491,13 +1857,16 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1506,13 +1875,18 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1537,7 +1911,8 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1545,14 +1920,16 @@ public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1563,27 +1940,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1597,12 +1982,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1618,12 +2006,15 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1637,12 +2028,15 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1650,12 +2044,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1665,12 +2062,15 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1685,12 +2085,15 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1707,6 +2110,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1724,6 +2129,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1733,12 +2140,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1749,22 +2159,28 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1773,12 +2189,15 @@ public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,12 +2205,15 @@ public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1814,12 +2236,15 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.Delet
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1834,12 +2259,15 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.c
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1847,12 +2275,15 @@ public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1861,12 +2292,15 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2b
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1891,54 +2325,63 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1952,13 +2395,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1974,13 +2419,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1994,13 +2441,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2008,13 +2457,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2024,13 +2475,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2045,13 +2498,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2062,13 +2517,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2080,13 +2537,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2096,13 +2555,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2113,24 +2575,29 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2139,13 +2606,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTask(
-        com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2160,6 +2629,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2182,13 +2653,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
-        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2203,13 +2677,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
-        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2217,13 +2693,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture renewLease(
-        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2232,13 +2710,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture cancelLease(
-        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2263,8 +2743,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2291,11 +2771,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2309,83 +2789,107 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.leaseTasks(
+              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask(
+              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease(
+              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease(
+              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2404,8 +2908,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2447,29 +2952,31 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getLeaseTasksMethod())
-              .addMethod(getAcknowledgeTaskMethod())
-              .addMethod(getRenewLeaseMethod())
-              .addMethod(getCancelLeaseMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getLeaseTasksMethod())
+                      .addMethod(getAcknowledgeTaskMethod())
+                      .addMethod(getRenewLeaseMethod())
+                      .addMethod(getCancelLeaseMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
similarity index 57%
rename from owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
index 86628889..f661a208 100644
--- a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta3;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,755 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListTasksRequest,
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +798,16 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +823,16 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +846,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +863,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +881,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +904,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +924,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -723,12 +945,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +964,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -754,34 +985,44 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1030,15 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1061,168 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1236,18 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1263,18 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1288,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1307,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1326,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1350,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1372,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1395,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1416,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1156,37 +1439,47 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1487,16 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1519,8 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1528,16 @@ public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1548,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1590,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1614,15 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1636,15 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1652,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1670,15 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1693,15 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1718,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1737,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1748,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1435,34 +1767,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1811,15 @@ public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1842,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.Delet
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta3.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1912,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1936,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1958,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1974,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1992,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +2015,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2034,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2054,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2072,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1720,37 +2092,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2144,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2168,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2192,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2210,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2308,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2352,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index ff95f089..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,349 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
-      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
-      "tations.proto\032\027google/api/client.proto\032\037" +
-      "google/api/field_behavior.proto\032\031google/" +
-      "api/resource.proto\032!google/cloud/tasks/v" +
-      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
-      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
-      "\032google/iam/v1/policy.proto\032\033google/prot" +
-      "obuf/empty.proto\032 google/protobuf/field_" +
-      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
-      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
-      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
-      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
-      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
-      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
-      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
-      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
-      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
-      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
-      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
-      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
-      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
-      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
-      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
-      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
-      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
-      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
-      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
-      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
-      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
-      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
-      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
-      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
-      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
-      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
-      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
-      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
-      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
-      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
-      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
-      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
-      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
-      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
-      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
-      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
-      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
-      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
-      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
-      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
-      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
-      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
-      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
-      ".google.cloud.tasks.v2.ListQueuesRespons" +
-      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
-      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
-      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
-      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
-      "name=projects/*/locations/*/queues/*}\332A\004" +
-      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
-      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
-      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
-      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
-      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
-      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
-      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
-      "e=projects/*/locations/*/queues/*}:\005queu" +
-      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
-      "google.cloud.tasks.v2.DeleteQueueRequest" +
-      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
-      "ame=projects/*/locations/*/queues/*}\332A\004n" +
-      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
-      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
-      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
-      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
-      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
-      "useQueueRequest\032\034.google.cloud.tasks.v2." +
-      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
-      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
-      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
-      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
-      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
-      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
-      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
-      "/{resource=projects/*/locations/*/queues" +
-      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
-      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
-      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
-      "{resource=projects/*/locations/*/queues/" +
-      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
-      "\022TestIamPermissions\022(.google.iam.v1.Test" +
-      "IamPermissionsRequest\032).google.iam.v1.Te" +
-      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
-      "esource=projects/*/locations/*/queues/*}" +
-      ":testIamPermissions:\001*\332A\024resource,permis" +
-      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
-      ".v2.ListTasksRequest\032(.google.cloud.task" +
-      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
-      "ent=projects/*/locations/*/queues/*}/tas" +
-      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
-      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
-      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
-      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
-      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
-      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
-      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
-      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
-      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
-      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
-      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
-      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
-      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
-      "v2/{name=projects/*/locations/*/queues/*" +
-      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
-      "oogleapis.com\322A.https://www.googleapis.c" +
-      "om/auth/cloud-platformBr\n\031com.google.clo" +
-      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
-      "olang.org/genproto/googleapis/cloud/task" +
-      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-          com.google.iam.v1.IamPolicyProto.getDescriptor(),
-          com.google.iam.v1.PolicyProto.getDescriptor(),
-          com.google.protobuf.EmptyProto.getDescriptor(),
-          com.google.protobuf.FieldMaskProto.getDescriptor(),
-        });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-        new java.lang.String[] { "Queues", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-        new java.lang.String[] { "Parent", "Queue", });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-        new java.lang.String[] { "Queue", "UpdateMask", });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-        new java.lang.String[] { "Tasks", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-        new java.lang.String[] { "Parent", "Task", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c9b6525f..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
+++ /dev/null
@@ -1,31 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 29a262ab..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 7612fed1..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index 8258f7dd..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 9b02b696..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index dac47c22..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" + - "gle.cloud.tasks.v2\032\031google/api/resource." + - "proto\032\"google/cloud/tasks/v2/target.prot" + - "o\032\036google/protobuf/duration.proto\032\037googl" + - "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" + - "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" + - "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" + - "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" + - "loud.tasks.v2.RateLimits\0228\n\014retry_config" + - "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" + - "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" + - "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022S\n\032stackdriver_log" + - "ging_config\030\t \001(\0132/.google.cloud.tasks.v" + - "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" + - "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" + - "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" + - "eapis.com/Queue\0226projects/{project}/loca" + - "tions/{location}/queues/{queue}\"j\n\nRateL" + - "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" + - "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" + - "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" + - "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" + - "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" + - "backoff\030\003 \001(\0132\031.google.protobuf.Duration" + - "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." + - "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" + - "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " + - "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b3d492e7..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 3e829b7e..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" + - "ogle.cloud.tasks.v2\032\037google/api/field_be" + - "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + - "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + - "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + - "/.google.cloud.tasks.v2.HttpRequest.Head" + - "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + - "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + - "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + - "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + - "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + - "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + - "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + - "google.cloud.tasks.v2.AppEngineRouting\022\024" + - "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + - "google.cloud.tasks.v2.AppEngineHttpReque" + - "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + - "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + - "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + - "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + - "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + - "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + - "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + - "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + - "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + - "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index 7bbc90b9..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,102 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + - "le.cloud.tasks.v2\032\031google/api/resource.p" + - "roto\032\"google/cloud/tasks/v2/target.proto" + - "\032\036google/protobuf/duration.proto\032\037google" + - "/protobuf/timestamp.proto\032\027google/rpc/st" + - "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + - "_engine_http_request\030\002 \001(\0132+.google.clou" + - "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + - "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + - "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + - "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + - ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + - "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + - "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + - "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + - "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + - ".googleapis.com/Task\022Cprojects/{project}" + - "/locations/{location}/queues/{queue}/tas" + - "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + - "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + - ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + - "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + - "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + - "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index 8ad64891..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,462 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta2/queue.proto\032%google/clo" + - "ud/tasks/v2beta2/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\036google/protobuf/duration.proto\032" + - "\033google/protobuf/empty.proto\032 google/pro" + - "tobuf/field_mask.proto\032\037google/protobuf/" + - "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + - "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + - "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + - "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + - "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + - "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + - "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + - "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + - "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + - "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + - "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + - "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + - "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + - "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + - "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + - "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + - "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + - "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + - "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + - "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + - "loudtasks.googleapis.com/Task\022<\n\rrespons" + - "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + - "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + - "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + - "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + - "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + - "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + - "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + - "\0162%.google.cloud.tasks.v2beta2.Task.View" + - "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + - "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + - "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + - "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + - "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + - "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + - "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + - "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + - "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + - "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + - "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + - " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + - "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + - "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + - "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + - "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + - "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + - "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + - "sks.googleapis.com/Task\0226\n\rschedule_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + - "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + - "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + - ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + - "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + - "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + - "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + - "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + - "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + - "tasks.googleapis.com/Task\022<\n\rresponse_vi" + - "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + - "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + - "google.cloud.tasks.v2beta2.ListQueuesReq" + - "uest\032..google.cloud.tasks.v2beta2.ListQu" + - "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + - "rojects/*/locations/*}/queues\332A\006parent\022\232" + - "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + - ".GetQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + - "CreateQueue\022..google.cloud.tasks.v2beta2" + - ".CreateQueueRequest\032!.google.cloud.tasks" + - ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + - "=projects/*/locations/*}/queues:\005queue\332A" + - "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + - "loud.tasks.v2beta2.UpdateQueueRequest\032!." + - "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + - "25/v2beta2/{queue.name=projects/*/locati" + - "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + - "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + - "v2beta2.DeleteQueueRequest\032\026.google.prot" + - "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + - "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + - "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + - "urgeQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + - "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + - ".v2beta2.PauseQueueRequest\032!.google.clou" + - "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + - "{name=projects/*/locations/*/queues/*}:p" + - "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + - "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + - ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + - ";\"6/v2beta2/{name=projects/*/locations/*" + - "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + - "licy\022\".google.iam.v1.GetIamPolicyRequest" + - "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + - "2/{resource=projects/*/locations/*/queue" + - "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + - "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + - "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + - "beta2/{resource=projects/*/locations/*/q" + - "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + - "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + - "1.TestIamPermissionsRequest\032).google.iam" + - ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + - "/v2beta2/{resource=projects/*/locations/" + - "*/queues/*}:testIamPermissions:\001*\332A\024reso" + - "urce,permissions\022\262\001\n\tListTasks\022,.google." + - "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + - "oogle.cloud.tasks.v2beta2.ListTasksRespo" + - "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + - "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + - "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + - "etTaskRequest\032 .google.cloud.tasks.v2bet" + - "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + - "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + - "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + - "ta2.CreateTaskRequest\032 .google.cloud.tas" + - "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + - "t=projects/*/locations/*/queues/*}/tasks" + - ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + - "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + - "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + - "2/{name=projects/*/locations/*/queues/*/" + - "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + - "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + - "google.cloud.tasks.v2beta2.LeaseTasksRes" + - "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + - "/*/locations/*/queues/*}/tasks:lease:\001*\332" + - "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + - "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + - "edgeTaskRequest\032\026.google.protobuf.Empty\"" + - "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + - "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + - "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + - "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + - "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + - "\344\223\002G\"B/v2beta2/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + - "me,schedule_time,lease_duration\022\304\001\n\013Canc" + - "elLease\022..google.cloud.tasks.v2beta2.Can" + - "celLeaseRequest\032 .google.cloud.tasks.v2b" + - "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + - "ts/*/locations/*/queues/*/tasks/*}:cance" + - "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + - "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + - "equest\032 .google.cloud.tasks.v2beta2.Task" + - "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + - "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + - "M\312A\031cloudtasks.googleapis.com\322A.https://" + - "www.googleapis.com/auth/cloud-platformB|" + - "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + - "asksProtoP\001Z?google.golang.org/genproto/" + - "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + - "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { "Tasks", }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 4551caab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 2bc96dd8..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a1261f9a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 27ec888a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index cef23931..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 26d91fab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,140 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + - "\022\032google.cloud.tasks.v2beta2\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + - "2/.google.cloud.tasks.v2beta2.AppEngineH" + - "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + - "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + - "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + - "google.cloud.tasks.v2beta2.RetryConfig\0226" + - "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + - "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + - "2\031.google.protobuf.Duration\0220\n\rtombstone" + - "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + - "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + - "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + - "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + - "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + - "/Queue\0226projects/{project}/locations/{lo" + - "cation}/queues/{queue}B\r\n\013target_type\"k\n" + - "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + - "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + - "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + - "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + - "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + - " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + - "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + - ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + - "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + - "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + - "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + - "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + - "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + - "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + - "ueProtoP\001Z?google.golang.org/genproto/go" + - "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index a5db637f..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 02a91a15..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,125 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + - "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + - "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + - "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + - "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + - "ing_override\030\001 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + - "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + - "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + - "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\022\024\n\014relative_url" + - "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + - "asks.v2beta2.AppEngineHttpRequest.Header" + - "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + - "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + - "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + - "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + - "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + - "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + - "eta2B\013TargetProtoP\001Z?google.golang.org/g" + - "enproto/googleapis/cloud/tasks/v2beta2;t" + - "asksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index 8b3416a2..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + - "\032google.cloud.tasks.v2beta2\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a2/target.proto\032\037google/protobuf/timesta" + - "mp.proto\032\027google/rpc/status.proto\032\034googl" + - "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + - "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + - "0.google.cloud.tasks.v2beta2.AppEngineHt" + - "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + - "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + - "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + - "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + - "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + - ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + - "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + - "apis.com/Task\022Cprojects/{project}/locati" + - "ons/{location}/queues/{queue}/tasks/{tas" + - "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + - "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + - "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + - "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + - "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + - ").google.cloud.tasks.v2beta2.AttemptStat" + - "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + - "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + - "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + - ".google.rpc.StatusBn\n\036com.google.cloud.t" + - "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index 13ed882f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,359 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta3\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta3/queue.proto\032%google/clo" + - "ud/tasks/v2beta3/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\033google/protobuf/empty.proto\032 go" + - "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" + - "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" + - "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" + - "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" + - " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" + - "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" + - "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" + - "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" + - "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" + - "udtasks.googleapis.com/Queue\0222\n\tread_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" + - "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" + - "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" + - "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" + - "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" + - "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" + - "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" + - "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" + - "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" + - "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" + - "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" + - "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" + - ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" + - "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" + - "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" + - " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" + - "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" + - "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" + - "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" + - "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" + - "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" + - " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" + - "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" + - "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" + - "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" + - "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" + - "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" + - "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" + - "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " + - "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" + - "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" + - "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" + - "response_view\030\002 \001(\0162%.google.cloud.tasks" + - ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" + - "stQueues\022-.google.cloud.tasks.v2beta3.Li" + - "stQueuesRequest\032..google.cloud.tasks.v2b" + - "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" + - "3/{parent=projects/*/locations/*}/queues" + - "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" + - "sks.v2beta3.GetQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" + - "/{name=projects/*/locations/*/queues/*}\332" + - "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" + - "sks.v2beta3.CreateQueueRequest\032!.google." + - "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" + - "ta3/{parent=projects/*/locations/*}/queu" + - "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" + - "\022..google.cloud.tasks.v2beta3.UpdateQueu" + - "eRequest\032!.google.cloud.tasks.v2beta3.Qu" + - "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" + - "ts/*/locations/*/queues/*}:\005queue\332A\021queu" + - "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" + - "loud.tasks.v2beta3.DeleteQueueRequest\032\026." + - "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" + - "{name=projects/*/locations/*/queues/*}\332A" + - "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" + - "s.v2beta3.PurgeQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" + - "/{name=projects/*/locations/*/queues/*}:" + - "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." + - "cloud.tasks.v2beta3.PauseQueueRequest\032!." + - "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" + - "\"5/v2beta3/{name=projects/*/locations/*/" + - "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" + - "e\022..google.cloud.tasks.v2beta3.ResumeQue" + - "ueRequest\032!.google.cloud.tasks.v2beta3.Q" + - "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" + - "locations/*/queues/*}:resume:\001*\332A\004name\022\241" + - "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" + - "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" + - "\002E\"@/v2beta3/{resource=projects/*/locati" + - "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" + - "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" + - "amPolicyRequest\032\025.google.iam.v1.Policy\"]" + - "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" + - "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" + - "source,policy\022\323\001\n\022TestIamPermissions\022(.g" + - "oogle.iam.v1.TestIamPermissionsRequest\032)" + - ".google.iam.v1.TestIamPermissionsRespons" + - "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" + - "/locations/*/queues/*}:testIamPermission" + - "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" + - "s\022,.google.cloud.tasks.v2beta3.ListTasks" + - "Request\032-.google.cloud.tasks.v2beta3.Lis" + - "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" + - "=projects/*/locations/*/queues/*}/tasks\332" + - "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" + - "s.v2beta3.GetTaskRequest\032 .google.cloud." + - "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" + - "me=projects/*/locations/*/queues/*/tasks" + - "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" + - ".tasks.v2beta3.CreateTaskRequest\032 .googl" + - "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" + - "eta3/{parent=projects/*/locations/*/queu" + - "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" + - "ask\022-.google.cloud.tasks.v2beta3.DeleteT" + - "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" + - "\0029*7/v2beta3/{name=projects/*/locations/" + - "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" + - ".google.cloud.tasks.v2beta3.RunTaskReque" + - "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" + - "\344\223\002@\";/v2beta3/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" + - "cloudtasks.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB|\n\036co" + - "m.google.cloud.tasks.v2beta3B\017CloudTasks" + - "ProtoP\001Z?google.golang.org/genproto/goog" + - "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" + - "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index bf2e07c9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index ba3331fa..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a8a5bac9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index e41738e8..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index f0dac04f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,154 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta3_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + - "\022\032google.cloud.tasks.v2beta3\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + - "..google.cloud.tasks.v2beta3.AppEngineHt" + - "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + - "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + - "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + - "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + - "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + - "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + - "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + - "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + - "buf.Duration\022X\n\032stackdriver_logging_conf" + - "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + - "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + - "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + - "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + - "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + - "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + - "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + - "googleapis.com/Queue\0226projects/{project}" + - "/locations/{location}/queues/{queue}B\014\n\n" + - "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + - "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + - "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + - "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + - "max_retry_duration\030\002 \001(\0132\031.google.protob" + - "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + - "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + - "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + - "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + - "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + - "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + - "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + - "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + - "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + - "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + - "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b0f21f71..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index a196a359..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,170 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" + - "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + - "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + - "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + - "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + - "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + - "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + - ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + - "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + - "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + - "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + - "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + - "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + - "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + - "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + - "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + - "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + - "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + - ".v2beta3.AppEngineHttpRequest.HeadersEnt" + - "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + - "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + - "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + - "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + - "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + - "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + - "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + - "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + - "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + - "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + - "google.golang.org/genproto/googleapis/cl" + - "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index cb10c09a..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + - "\032google.cloud.tasks.v2beta3\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a3/target.proto\032\036google/protobuf/duratio" + - "n.proto\032\037google/protobuf/timestamp.proto" + - "\032\027google/rpc/status.proto\032\034google/api/an" + - "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + - "\n\027app_engine_http_request\030\003 \001(\01320.google" + - ".cloud.tasks.v2beta3.AppEngineHttpReques" + - "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + - ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + - "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + - "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + - "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + - ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + - "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + - "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + - "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + - "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + - "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + - "jects/{project}/locations/{location}/que" + - "ues/{queue}/tasks/{task}B\016\n\014payload_type" + - "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + - "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + - "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + - "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + - "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + - "proto/googleapis/cloud/tasks/v2beta3;tas" + - "ksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java index 6f52ba89..bb0cf20e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -58,15 +75,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -75,16 +93,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -104,56 +121,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,41 +184,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -230,17 +260,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -250,6 +285,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -257,6 +293,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -266,13 +304,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -291,6 +334,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -300,6 +345,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -308,14 +354,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -325,16 +372,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -343,24 +389,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -369,6 +414,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -407,22 +454,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -462,11 +509,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,16 +554,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -555,12 +603,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -570,6 +617,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -577,6 +626,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -585,6 +635,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -596,8 +647,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -607,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -626,29 +672,26 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -658,25 +701,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,97 +747,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -852,43 +899,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -896,16 +943,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,9 +972,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -947,7 +993,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -967,38 +1014,39 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1017,8 +1065,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1050,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1068,12 +1118,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1088,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1112,15 +1169,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1135,6 +1196,7 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1142,12 +1204,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1162,10 +1226,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1173,8 +1238,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1184,12 +1254,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1199,16 +1272,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1233,6 +1311,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1255,6 +1335,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1269,7 +1351,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1281,6 +1365,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1303,6 +1389,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1314,11 +1402,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1333,11 +1423,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1349,14 +1442,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1364,6 +1460,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1373,13 +1471,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1388,6 +1486,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1397,15 +1497,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1413,6 +1512,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1422,20 +1523,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1445,15 +1548,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1463,37 +1569,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1505,6 +1610,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1543,22 +1650,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1598,11 +1705,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1642,16 +1750,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1691,12 +1800,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1704,11 +1812,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1747,23 +1856,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1802,19 +1909,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1853,16 +1961,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1870,6 +1977,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1877,6 +1985,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1884,19 +1994,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1904,17 +2017,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1924,12 +2038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -1938,16 +2052,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1962,6 +2076,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index f388450e..e2387d20 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -22,10 +40,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,11 +61,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -54,10 +78,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -67,10 +94,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -84,6 +114,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -93,10 +125,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -106,12 +141,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -152,6 +189,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -190,15 +229,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -237,9 +274,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -280,11 +318,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -323,11 +363,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -335,6 +375,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 8600381d..2a3556d6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -26,15 +43,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -44,16 +62,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +89,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,29 +131,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -151,6 +176,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -159,14 +185,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -185,16 +212,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -205,6 +231,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -223,6 +251,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -231,14 +260,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -257,16 +287,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -277,6 +306,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -292,6 +323,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -300,14 +332,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,16 +356,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -343,6 +375,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -356,6 +390,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -364,14 +399,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,16 +421,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -403,6 +438,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +450,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -457,21 +492,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = + (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -496,97 +528,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -609,21 +648,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -631,16 +672,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,9 +696,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -677,7 +717,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -690,38 +731,39 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -777,6 +819,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -795,13 +839,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -810,6 +854,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -828,15 +874,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -844,6 +889,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -862,20 +909,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -894,15 +943,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -921,16 +973,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -938,6 +990,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -956,13 +1010,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -971,6 +1025,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -989,15 +1045,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1005,6 +1060,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1023,20 +1080,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1055,15 +1114,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1082,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1099,6 +1161,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1114,13 +1178,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1129,6 +1193,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1144,15 +1210,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1160,6 +1225,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1175,20 +1242,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1204,15 +1273,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1228,16 +1300,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1245,6 +1317,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1258,13 +1332,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1273,6 +1347,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1286,15 +1362,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1302,6 +1377,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1315,20 +1392,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1342,15 +1421,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1364,23 +1446,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1390,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1404,16 +1486,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,6 +1510,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 2ff33a52..9399556f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 17ae3099..95c7a78e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -542,16 +606,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -633,38 +696,39 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +780,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +844,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +853,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +864,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +877,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +891,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +912,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +922,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +940,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +956,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +974,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1038,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1047,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1058,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1071,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1085,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1106,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1116,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1134,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1150,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1168,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1232,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1241,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1252,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1265,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1279,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1300,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1310,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1328,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1344,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1362,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1374,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1390,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1427,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1437,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1448,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1462,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1474,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1496,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1507,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1526,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1543,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1568,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1404,16 +1582,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 9dab7f1d..3b1276d7 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..afa82be4
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,378 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
+          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
+          + "tations.proto\032\027google/api/client.proto\032\037"
+          + "google/api/field_behavior.proto\032\031google/"
+          + "api/resource.proto\032!google/cloud/tasks/v"
+          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
+          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
+          + "\032google/iam/v1/policy.proto\032\033google/prot"
+          + "obuf/empty.proto\032 google/protobuf/field_"
+          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
+          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
+          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
+          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
+          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
+          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
+          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
+          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
+          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
+          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
+          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
+          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
+          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
+          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
+          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
+          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
+          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
+          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
+          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
+          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
+          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
+          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
+          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
+          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
+          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
+          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
+          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
+          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
+          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
+          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
+          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
+          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
+          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
+          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
+          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
+          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
+          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
+          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
+          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
+          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
+          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
+          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
+          + ".google.cloud.tasks.v2.ListQueuesRespons"
+          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
+          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
+          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
+          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
+          + "name=projects/*/locations/*/queues/*}\332A\004"
+          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
+          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
+          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
+          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
+          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
+          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
+          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
+          + "e=projects/*/locations/*/queues/*}:\005queu"
+          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
+          + "google.cloud.tasks.v2.DeleteQueueRequest"
+          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
+          + "ame=projects/*/locations/*/queues/*}\332A\004n"
+          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
+          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
+          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
+          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
+          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
+          + "useQueueRequest\032\034.google.cloud.tasks.v2."
+          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
+          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
+          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
+          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
+          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
+          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
+          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
+          + "/{resource=projects/*/locations/*/queues"
+          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
+          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
+          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
+          + "{resource=projects/*/locations/*/queues/"
+          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
+          + "\022TestIamPermissions\022(.google.iam.v1.Test"
+          + "IamPermissionsRequest\032).google.iam.v1.Te"
+          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
+          + "esource=projects/*/locations/*/queues/*}"
+          + ":testIamPermissions:\001*\332A\024resource,permis"
+          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
+          + ".v2.ListTasksRequest\032(.google.cloud.task"
+          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
+          + "ent=projects/*/locations/*/queues/*}/tas"
+          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
+          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
+          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
+          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
+          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
+          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
+          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
+          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
+          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
+          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
+          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
+          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
+          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
+          + "v2/{name=projects/*/locations/*/queues/*"
+          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
+          + "oogleapis.com\322A.https://www.googleapis.c"
+          + "om/auth/cloud-platformBr\n\031com.google.clo"
+          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
+          + "olang.org/genproto/googleapis/cloud/task"
+          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 34472349..3e89e7dc 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +106,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +141,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +153,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +170,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +192,15 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +208,15 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -189,6 +224,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -202,6 +239,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +251,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -234,8 +271,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -245,19 +281,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other =
+        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,118 +316,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -400,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +489,8 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = + new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +505,39 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,6 +584,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +594,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +612,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +622,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +640,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +650,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +677,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +700,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +720,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -685,12 +761,15 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +785,17 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +806,21 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -748,12 +832,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +854,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -842,16 +940,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +964,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index e3735d95..b858724d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,33 +52,43 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 377596da..10c558c1 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,41 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +113,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +158,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +195,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -198,6 +229,7 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +237,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -237,6 +271,7 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ @java.lang.Override @@ -244,6 +279,8 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -285,6 +322,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -299,12 +338,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -319,15 +362,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +409,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +422,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = + (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +460,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -536,16 +588,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +635,8 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = + new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +652,39 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -681,20 +734,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +760,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +786,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +860,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -821,12 +899,15 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -859,6 +940,7 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -869,6 +951,8 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -916,6 +1000,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -949,8 +1035,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(
-        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -961,6 +1046,8 @@ public Builder setTask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -997,8 +1084,7 @@ public Builder setTask(
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ =
-            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1010,6 +1096,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1055,6 +1143,8 @@ public Builder clearTask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,11 +1179,13 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-      
+
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1131,11 +1223,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ?
-            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1170,14 +1263,17 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
+            com.google.cloud.tasks.v2.Task,
+            com.google.cloud.tasks.v2.Task.Builder,
+            com.google.cloud.tasks.v2.TaskOrBuilder>
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(),
-                getParentForChildren(),
-                isClean());
+        taskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Task,
+                com.google.cloud.tasks.v2.Task.Builder,
+                com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(), getParentForChildren(), isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1185,6 +1281,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
+     *
+     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1199,12 +1297,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1219,16 +1321,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1243,15 +1348,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1266,6 +1375,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1383,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1293,17 +1405,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1426,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1327,16 +1440,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1464,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 56bc4ce8..6ec3193b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -64,10 +91,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -100,10 +130,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -140,6 +173,8 @@ public interface CreateTaskRequestOrBuilder extends
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -154,10 +189,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -172,6 +210,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 2ffa4e95..40511a70 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c38f781e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index 5dad49b9..a62eb1e2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,19 +488,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -575,16 +632,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..0e7ab341 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index d0e5bb3b..2e4dccd2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = + (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = + new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..4c78cd4a --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 765d0a75..7e12b47b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,14 @@ 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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +302,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -386,16 +430,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +471,8 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = + new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +483,39 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +562,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +587,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +612,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +683,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -632,12 +699,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -652,16 +723,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -676,15 +750,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,6 +777,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +785,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -726,17 +807,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -760,16 +842,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +866,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index abab1ec9..2be6f178 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index a993ae79..951743a2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 9bda9f38..84b5b41e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,80 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +175,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class,
+            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +235,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +271,7 @@ public int getNumber() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -244,14 +280,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +300,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +319,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +378,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +406,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +449,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +482,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +519,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +533,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +543,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +553,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +565,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +573,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +585,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +612,15 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +632,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +640,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +653,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +681,13 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +699,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -669,30 +730,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +763,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.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +823,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +947,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class,
+              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -929,16 +991,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1016,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1037,8 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result =
+          new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1068,39 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1116,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1164,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1183,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1196,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1211,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1224,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1239,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1252,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1279,18 @@ public Builder setUrl(
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1302,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1319,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1385,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1434,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1462,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1505,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1538,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1576,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1588,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1620,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1661,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1701,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1718,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1726,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1736,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1760,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, + com.google.cloud.tasks.v2.OAuthToken.Builder, + com.google.cloud.tasks.v2.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1788,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1796,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1808,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1826,8 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1853,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1753,8 +1866,7 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(
-        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1765,6 +1877,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1892,13 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1914,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1944,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1961,8 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1986,8 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2000,38 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OAuthToken,
+            com.google.cloud.tasks.v2.OAuthToken.Builder,
+            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OAuthToken,
+                com.google.cloud.tasks.v2.OAuthToken.Builder,
+                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2043,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2051,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2064,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2082,8 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2110,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2124,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2135,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2151,13 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2173,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2204,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2222,8 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2248,8 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2263,32 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OidcToken,
+                com.google.cloud.tasks.v2.OidcToken.Builder,
+                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2298,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2150,16 +2312,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2336,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 2c4c0073..08196f38 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 3c80d743..9855ecb3 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -176,6 +207,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -184,14 +216,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -205,16 +238,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -225,6 +257,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -235,6 +269,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -245,6 +280,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -256,6 +293,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -264,14 +302,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -283,16 +322,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -301,6 +339,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -342,8 +380,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -356,21 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = + (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -395,118 +429,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -514,16 +557,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -560,7 +602,8 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = + new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -573,38 +616,39 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -659,19 +703,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -680,21 +728,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -702,57 +753,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -760,6 +824,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -773,13 +839,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -788,6 +854,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -801,15 +869,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -817,6 +884,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -830,20 +899,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -857,15 +928,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -879,23 +953,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -906,6 +982,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -913,6 +990,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -923,16 +1002,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -943,10 +1025,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -954,6 +1037,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -965,13 +1050,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -980,6 +1065,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -991,15 +1078,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1007,6 +1093,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1018,20 +1106,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1043,15 +1133,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1063,23 +1156,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +1182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1103,16 +1196,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,6 +1220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index f57a7c9d..e9d4dd0b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,8 +145,8 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 98bdc543..7adf33da 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +112,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +144,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +153,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +171,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +184,8 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +193,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +212,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +240,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = + (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,118 +331,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -419,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +506,8 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = + new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +527,39 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -544,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -584,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +663,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +679,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +695,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,14 +717,15 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -680,6 +736,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +758,15 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +780,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,14 +799,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -757,6 +818,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +830,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +838,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +857,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +876,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +921,8 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +930,47 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +978,8 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +990,13 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1005,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1044,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1070,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1092,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1044,16 +1132,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index a1063d15..c1eb25f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 83b5f61e..595074bb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = + (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = + new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -641,19 +691,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +716,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +741,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +812,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -756,12 +828,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -776,16 +852,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -800,15 +879,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -823,6 +906,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +914,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -850,17 +936,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +960,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +968,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +980,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1003,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1015,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1043,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1056,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1071,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1084,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1111,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1134,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1068,16 +1174,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1198,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index fc372464..16d5eabb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 6249890a..8bcc41f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +112,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +144,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +153,12 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List - getTasksOrBuilderList() { + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +170,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +183,8 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +192,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +210,7 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +219,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +283,7 @@ 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_); @@ -265,17 +296,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = + (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +328,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -417,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +503,8 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = + new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +524,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -542,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -582,21 +624,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +660,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +676,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +692,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,14 +714,15 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -678,6 +733,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +755,15 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +777,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,14 +796,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -755,6 +815,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +827,7 @@ 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); @@ -774,6 +835,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +854,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +873,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +918,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +927,46 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +974,8 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +985,13 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1000,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1011,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1037,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1062,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1083,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1037,16 +1123,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index 1a7b2758..f5568056 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index a34434b6..1d13e2be 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class,
+            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class,
+              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -403,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -456,38 +488,39 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +568,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +579,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +594,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +605,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +620,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +631,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +656,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +677,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +694,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +703,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +718,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +727,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +742,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +751,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +774,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +793,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -780,16 +833,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +857,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index b5bbd9b4..045cc073 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 94722f69..982de06e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class,
+            com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class,
+              com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -405,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -458,38 +490,39 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +581,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +596,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +607,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +622,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +633,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +658,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +679,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +696,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +719,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +742,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -777,16 +830,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index af8fcaf6..fb4dbd64 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 48f8d6af..756d588f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = + (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = + new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..bd81aed6 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index b5af3f22..ec7b1df4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..c701bf8c --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 68767a57..7bbe29d9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,90 +73,107 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+              name_ = s;
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 26:
+            {
+              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
-            }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 74: {
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -147,36 +181,40 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -185,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -199,6 +239,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -209,6 +251,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -230,6 +274,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -238,6 +284,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -252,6 +300,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -262,6 +312,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -280,7 +332,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -305,50 +356,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -368,6 +420,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -388,6 +442,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -396,14 +451,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -424,16 +480,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -444,6 +499,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -457,6 +514,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -464,6 +522,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -477,13 +537,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -499,13 +564,16 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -530,6 +598,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -537,6 +606,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -561,13 +632,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -601,6 +677,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -614,6 +692,7 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -621,6 +700,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -634,13 +715,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -663,6 +749,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -673,12 +761,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -689,17 +781,22 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -712,6 +809,7 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -719,6 +817,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -731,6 +831,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ @java.lang.Override @@ -738,6 +839,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -759,6 +862,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -766,6 +871,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -773,6 +879,8 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -780,13 +888,18 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -796,11 +909,13 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -812,8 +927,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -848,28 +962,26 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getStackdriverLoggingConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -879,40 +991,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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits()
-          .equals(other.getRateLimits())) return false;
+      if (!getRateLimits().equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig()
-          .equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime()
-          .equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig()
-          .equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -954,97 +1060,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1053,19 +1165,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1075,16 +1188,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1126,9 +1238,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1183,38 +1295,39 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1276,6 +1389,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1296,13 +1411,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; @@ -1311,6 +1426,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1331,15 +1448,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1347,6 +1463,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1367,20 +1485,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1401,15 +1521,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1430,16 +1553,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; @@ -1447,8 +1570,13 @@ public Builder setNameBytes( private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingOverrideBuilder_; /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1462,12 +1590,15 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1481,16 +1612,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1519,6 +1655,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1545,6 +1683,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1563,7 +1703,9 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1575,6 +1717,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1601,6 +1745,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1616,11 +1762,13 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1635,15 +1783,19 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1659,14 +1811,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1674,8 +1829,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1700,12 +1860,15 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1730,16 +1893,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1779,6 +1947,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1804,8 +1974,7 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(
-        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1816,6 +1985,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1845,7 +2016,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -1857,6 +2030,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1894,6 +2069,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1920,11 +2097,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1954,11 +2133,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1985,14 +2167,17 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RateLimits,
+                com.google.cloud.tasks.v2.RateLimits.Builder,
+                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2000,8 +2185,13 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2015,12 +2205,15 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2034,16 +2227,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2072,6 +2270,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2086,8 +2286,7 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(
-        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2098,6 +2297,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2116,7 +2317,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2128,6 +2331,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2154,6 +2359,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2169,11 +2376,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2192,11 +2401,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2212,14 +2424,17 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RetryConfig,
+                com.google.cloud.tasks.v2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2227,6 +2442,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2237,12 +2454,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2253,16 +2474,19 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2273,15 +2497,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2292,6 +2520,7 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2299,12 +2528,14 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2315,10 +2546,11 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2326,8 +2558,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2340,12 +2577,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2358,6 +2598,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2368,6 +2609,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2395,6 +2638,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2408,8 +2653,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2420,6 +2664,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2437,7 +2683,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2449,6 +2695,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2474,6 +2722,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2488,11 +2738,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2510,11 +2762,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2529,14 +2782,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2544,8 +2800,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2553,12 +2814,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2566,16 +2830,21 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2584,7 +2853,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2598,6 +2868,8 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriver
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2618,6 +2890,8 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2626,11 +2900,15 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
+                      stackdriverLoggingConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2642,6 +2920,8 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriv
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2662,6 +2942,8 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2670,12 +2952,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
-      
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
+        getStackdriverLoggingConfigBuilder() {
+
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2684,15 +2969,19 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriver
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+        getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null ?
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null
+            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
+            : stackdriverLoggingConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2702,21 +2991,24 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdrive
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(),
-                getParentForChildren(),
-                isClean());
+        stackdriverLoggingConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
+
     @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);
     }
 
@@ -2726,12 +3018,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -2740,16 +3032,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Queue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Queue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Queue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Queue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2764,6 +3056,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index 178b4959..b88abb66 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder extends
+public interface QueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -71,10 +94,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -88,10 +114,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -109,6 +138,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -133,10 +164,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -161,10 +195,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -193,6 +230,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -206,10 +245,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -223,10 +265,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -244,6 +289,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -254,10 +301,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -268,11 +318,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -285,10 +338,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -301,10 +357,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -321,6 +380,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -328,10 +389,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -339,10 +403,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -351,5 +418,6 @@ public interface QueueOrBuilder extends
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..db5e00c6
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+
+  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_tasks_v2_Queue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo"
+          + "gle.cloud.tasks.v2\032\031google/api/resource."
+          + "proto\032\"google/cloud/tasks/v2/target.prot"
+          + "o\032\036google/protobuf/duration.proto\032\037googl"
+          + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004"
+          + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid"
+          + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin"
+          + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c"
+          + "loud.tasks.v2.RateLimits\0228\n\014retry_config"
+          + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf"
+          + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v"
+          + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog"
+          + "le.protobuf.Timestamp\022S\n\032stackdriver_log"
+          + "ging_config\030\t \001(\0132/.google.cloud.tasks.v"
+          + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S"
+          + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE"
+          + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl"
+          + "eapis.com/Queue\0226projects/{project}/loca"
+          + "tions/{location}/queues/{queue}\"j\n\nRateL"
+          + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001"
+          + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre"
+          + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m"
+          + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030"
+          + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_"
+          + "backoff\030\003 \001(\0132\031.google.protobuf.Duration"
+          + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf."
+          + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack"
+          + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 "
+          + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP"
+          + "rotoP\001Z:google.golang.org/genproto/googl"
+          + "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_Queue_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "AppEngineRoutingOverride",
+              "RateLimits",
+              "RetryConfig",
+              "State",
+              "PurgeTime",
+              "StackdriverLoggingConfig",
+            });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+            new java.lang.String[] {
+              "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches",
+            });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+            new java.lang.String[] {
+              "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings",
+            });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+            new java.lang.String[] {
+              "SamplingRatio",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index 1cdb7fca..ecc9472c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class,
+            com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -119,6 +139,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -129,6 +150,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,7 +268,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -252,12 +276,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +291,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +304,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +411,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class,
+              com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -404,16 +435,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -460,38 +490,39 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +569,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -551,6 +584,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -558,6 +592,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -569,16 +605,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -590,17 +629,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -633,6 +675,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -640,6 +683,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -672,16 +717,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +762,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +790,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +798,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +814,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +841,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -818,16 +876,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +900,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 5e4df2aa..838dcb63 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -19,11 +37,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 62f9f735..619044c3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..0b0b032e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 7e5e827d..27cfb35c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class,
+            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,27 @@ 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.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +575,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +679,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class,
+              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -649,16 +703,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +741,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +762,8 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result =
+          new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +789,39 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +874,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +892,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +900,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +916,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +943,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +955,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +979,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1005,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1052,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1072,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1083,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1107,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1121,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1153,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1174,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1203,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1230,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1248,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1171,12 +1270,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1192,16 +1294,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1232,6 +1339,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1248,8 +1357,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1368,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1280,7 +1390,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1402,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1320,6 +1432,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1337,11 +1451,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1362,11 +1478,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1384,14 +1503,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1521,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1416,12 +1543,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1437,16 +1567,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1477,6 +1612,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1493,8 +1630,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1641,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1525,7 +1663,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1675,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1565,6 +1705,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1582,11 +1724,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1607,11 +1751,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1629,21 +1776,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1821,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1829,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1856,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1894,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1915,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1770,16 +1929,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1953,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index 08f2f02e..adf90087 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 0755fef1..27d0ddda 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,14 @@ 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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +303,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -366,21 +408,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -388,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +473,8 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +485,39 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +564,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +589,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +614,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +685,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -634,12 +701,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -654,16 +725,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -678,15 +752,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,6 +779,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +787,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -728,17 +809,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -762,16 +844,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index 6685e46f..bf13da8d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 9e7b6ced..112d7577 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +304,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +328,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +346,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +367,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +378,39 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +442,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +453,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +465,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +473,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +483,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +504,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -496,16 +539,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +563,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index 90dc354b..af110ade 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..38185289 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,177 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index a34f293f..62fb0dd0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,128 +71,145 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + name_ = s; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = + ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 2; + break; } - messageTypeCase_ = 2; - break; - } - case 26: { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + case 26: + { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 3; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - messageTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 56: + { + dispatchCount_ = input.readInt32(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 64: + { + responseCount_ = input.readInt32(); + break; } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 74: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } + case 88: + { + int rawValue = input.readEnum(); - break; - } - case 56: { - - dispatchCount_ = input.readInt32(); - break; - } - case 64: { - - responseCount_ = input.readInt32(); - break; - } - case 74: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + view_ = rawValue; + break; } - - break; - } - case 88: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,27 +217,30 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -215,9 +252,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -226,6 +264,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -240,6 +280,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -254,6 +296,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -262,6 +306,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -276,6 +322,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -287,7 +335,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -312,49 +359,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -373,13 +420,16 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
+
   public enum MessageTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
+
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -395,26 +445,31 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return APP_ENGINE_HTTP_REQUEST;
-        case 3: return HTTP_REQUEST;
-        case 0: return MESSAGETYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 3:
+          return HTTP_REQUEST;
+        case 0:
+          return MESSAGETYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase
-  getMessageTypeCase() {
-    return MessageTypeCase.forNumber(
-        messageTypeCase_);
+  public MessageTypeCase getMessageTypeCase() {
+    return MessageTypeCase.forNumber(messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -436,6 +491,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -444,14 +500,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -473,16 +530,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,12 +548,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -505,22 +564,27 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -529,21 +593,25 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -551,22 +619,27 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -577,7 +650,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -585,12 +658,15 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -598,19 +674,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -626,12 +709,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -639,12 +725,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -652,6 +741,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -667,6 +758,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -697,6 +790,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -704,6 +798,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -734,13 +830,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -780,6 +881,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -787,6 +890,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -797,11 +901,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -812,6 +919,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -819,6 +928,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -826,6 +936,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -833,13 +945,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -856,11 +973,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -868,18 +988,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -894,33 +1021,42 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -932,8 +1068,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -980,44 +1115,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1027,54 +1156,44 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1135,116 +1254,123 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1254,16 +1380,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1311,9 +1436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1385,38 +1510,39 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2.Task) other); } else { super.mergeFrom(other); return this; @@ -1454,17 +1580,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1494,12 +1623,12 @@ public Builder mergeFrom( } return this; } + private int messageTypeCase_ = 0; private java.lang.Object messageType_; - public MessageTypeCase - getMessageTypeCase() { - return MessageTypeCase.forNumber( - messageTypeCase_); + + public MessageTypeCase getMessageTypeCase() { + return MessageTypeCase.forNumber(messageTypeCase_); } public Builder clearMessageType() { @@ -1509,9 +1638,10 @@ public Builder clearMessageType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1533,13 +1663,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1548,6 +1678,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1569,15 +1701,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1585,6 +1716,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1606,20 +1739,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1641,15 +1776,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1671,30 +1809,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1702,12 +1846,15 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1725,6 +1872,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1746,6 +1895,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1765,6 +1916,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1774,10 +1927,14 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2 &&
-            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 2
+            && messageType_
+                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1793,6 +1950,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1817,6 +1976,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1828,6 +1989,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1836,7 +1999,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1847,6 +2011,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1855,33 +2021,45 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1889,12 +2067,15 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override @@ -1912,6 +2093,8 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1933,6 +2116,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1940,8 +2125,7 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(
-        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -1952,6 +2136,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1961,10 +2147,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3 &&
-            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 3
+            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1980,6 +2169,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2004,6 +2195,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2015,6 +2208,8 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2034,6 +2229,8 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2042,56 +2239,75 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.HttpRequest,
+                com.google.cloud.tasks.v2.HttpRequest.Builder,
+                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2113,6 +2329,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2120,8 +2338,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2132,6 +2349,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2143,7 +2362,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2155,6 +2376,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2174,6 +2397,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2182,11 +2407,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2198,11 +2425,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2211,14 +2441,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2226,36 +2459,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2277,6 +2523,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2284,8 +2532,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2296,6 +2543,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2307,7 +2556,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;
         }
@@ -2319,6 +2568,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2338,6 +2589,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2346,11 +2599,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2362,11 +2617,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2375,14 +2633,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2390,8 +2651,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2422,12 +2688,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2458,16 +2727,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2513,6 +2787,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2544,8 +2820,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2556,6 +2831,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2591,7 +2868,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2603,6 +2882,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2646,6 +2927,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2678,11 +2961,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2718,11 +3003,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2755,21 +3043,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2777,6 +3070,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -2784,6 +3078,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2791,16 +3087,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2808,22 +3107,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -2831,30 +3134,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -2862,8 +3171,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2871,12 +3185,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2884,16 +3201,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2916,6 +3238,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2924,8 +3248,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -2936,6 +3259,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2948,7 +3273,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -2960,6 +3287,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2980,6 +3309,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2989,11 +3320,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3006,11 +3339,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3020,14 +3356,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Attempt,
+                com.google.cloud.tasks.v2.Attempt.Builder,
+                com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3035,34 +3374,47 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3083,14 +3435,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3101,6 +3454,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3111,7 +3466,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3123,6 +3480,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3141,6 +3500,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3148,11 +3509,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3163,11 +3526,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3175,14 +3541,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3190,55 +3559,69 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3246,29 +3629,32 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3278,12 +3664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3292,16 +3678,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3316,6 +3702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index b785e0af..007aaaac 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -120,26 +157,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -150,26 +195,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -180,6 +233,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -210,10 +265,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -244,10 +302,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -282,6 +343,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -289,21 +352,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -311,10 +380,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -322,10 +394,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -337,24 +412,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -364,22 +447,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..ed8a2c9b --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "MessageType", + }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index 68da5cbe..efa8f447 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +112,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -124,6 +148,7 @@ private UpdateQueueRequest(
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +156,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -140,6 +167,7 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -147,6 +175,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -165,12 +195,15 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +211,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +227,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +271,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +284,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -289,118 +324,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -408,16 +452,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +521,39 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -554,8 +599,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -564,13 +614,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -579,7 +633,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -590,6 +646,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -598,7 +656,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +673,8 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -622,10 +683,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +697,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -644,13 +707,14 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -662,6 +726,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -670,7 +736,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +751,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -692,14 +761,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -708,17 +780,19 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -727,17 +801,21 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +823,49 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +887,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +896,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +907,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +920,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +932,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +953,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +963,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +981,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +997,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1024,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -932,16 +1038,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1062,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index d3adfb72..769807c0 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -17,10 +35,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -30,10 +51,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -47,26 +71,34 @@ public interface UpdateQueueRequestOrBuilder extends
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index abcfe358..ea776bea 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,32 +71,35 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -87,35 +107,42 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -124,30 +151,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,6 +187,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -166,7 +197,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -174,6 +207,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -182,14 +217,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -198,7 +239,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -206,6 +248,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,8 +280,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -249,19 +290,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = + (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,96 +326,104 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -383,21 +431,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -405,16 +455,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -451,7 +500,8 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -466,38 +516,39 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -532,7 +584,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -544,19 +597,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -565,21 +622,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -587,57 +647,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -645,8 +718,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -655,13 +733,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -670,17 +752,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -689,7 +777,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -705,6 +794,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -713,10 +804,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -727,6 +818,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -735,13 +828,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -753,6 +849,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -761,7 +859,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -775,6 +874,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -783,14 +884,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -799,17 +903,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -818,24 +926,28 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } + @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); } @@ -845,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -859,16 +971,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,6 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index aa7083e2..5836a48c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder extends +public interface AcknowledgeTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,7 +99,8 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index 37163c60..bda8fe19 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -61,15 +78,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -78,16 +96,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -107,56 +124,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUrl_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUrl_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -164,41 +187,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -227,17 +257,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -247,6 +282,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -254,6 +290,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -263,13 +301,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -288,6 +331,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -297,6 +342,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ @java.lang.Override @@ -305,14 +351,15 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -322,16 +369,15 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -340,24 +386,23 @@ public java.lang.String getRelativeUrl() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -366,6 +411,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -404,22 +451,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -459,11 +506,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -503,16 +551,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -552,12 +600,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -567,6 +614,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -576,6 +625,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -584,6 +634,7 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,9 +646,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -606,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -624,30 +671,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -657,25 +702,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl() - .equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getPayload() - .equals(other.getPayload())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getPayload().equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,96 +749,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -854,43 +903,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -898,16 +947,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -928,9 +976,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -949,7 +997,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -969,38 +1018,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1008,7 +1058,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1019,8 +1070,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1043,7 +1093,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1052,10 +1103,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1067,12 +1121,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1084,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1105,15 +1166,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1125,6 +1190,7 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1132,12 +1198,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1149,10 +1217,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1160,8 +1229,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, + com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1171,12 +1245,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1186,16 +1263,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1220,6 +1302,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1242,6 +1326,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1256,7 +1342,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1268,6 +1356,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1290,6 +1380,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1301,11 +1393,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,11 +1414,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,14 +1433,17 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1351,6 +1451,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
+     *
+     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1360,13 +1462,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; + * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1375,6 +1477,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1384,15 +1488,14 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1400,6 +1503,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1409,20 +1514,22 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl( - java.lang.String value) { + public Builder setRelativeUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1432,15 +1539,18 @@ public Builder setRelativeUrl(
      * 
* * string relative_url = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1450,37 +1560,36 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1492,6 +1601,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1530,22 +1641,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1585,11 +1696,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1629,16 +1741,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1678,12 +1791,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1691,11 +1803,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1734,23 +1847,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1789,19 +1900,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1840,16 +1952,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1859,6 +1970,7 @@ public Builder putAllHeaders(
      * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -1866,6 +1978,8 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1875,19 +1989,22 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1897,17 +2014,18 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -1917,12 +2035,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -1931,16 +2049,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,6 +2073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 0eee0ff6..4a27f8c2 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString - getRelativeUrlBytes(); + com.google.protobuf.ByteString getRelativeUrlBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -331,6 +371,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 43646f79..3633a62d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpTarget() {
-  }
+
+  private AppEngineHttpTarget() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpTarget(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
+        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index 6ac107fd..e4f6a8d5 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder extends
+public interface AppEngineHttpTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index 75151c07..ad2acdb0 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -387,6 +421,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -395,14 +430,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -452,16 +488,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -470,6 +505,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -481,8 +517,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -524,21 +559,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = + (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -563,97 +595,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -671,21 +710,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -693,16 +734,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -718,9 +758,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -739,7 +779,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -752,38 +793,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -791,7 +833,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -839,6 +882,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -857,13 +902,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -872,6 +917,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -890,15 +937,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -906,6 +952,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -924,20 +972,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -956,15 +1006,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -983,16 +1036,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1000,6 +1053,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1018,13 +1073,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1033,6 +1088,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1051,15 +1108,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1067,6 +1123,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1085,20 +1143,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1117,15 +1177,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1207,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,6 +1224,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1176,13 +1241,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1191,6 +1256,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1206,15 +1273,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1222,6 +1288,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1237,20 +1305,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1266,15 +1336,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1290,16 +1363,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1307,6 +1380,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1356,13 +1431,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1371,6 +1446,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1420,15 +1497,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1436,6 +1512,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1485,20 +1563,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1548,15 +1628,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1606,23 +1689,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1632,12 +1715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1646,16 +1729,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1670,6 +1753,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index 3a191733..bc74a98e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -189,10 +222,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -242,8 +278,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index a2e69197..28cd82db 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttemptStatus() { - } + + private AttemptStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private AttemptStatus( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,32 +424,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other =
+        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +480,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -542,16 +608,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -604,7 +669,8 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = + new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +699,39 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); } else { super.mergeFrom(other); return this; @@ -716,36 +783,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +847,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +856,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +867,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +880,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +894,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +915,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +925,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +943,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +959,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +977,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1041,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1050,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1061,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1074,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1088,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1109,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1119,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1137,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1153,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1171,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1235,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1244,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1255,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1268,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1282,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1303,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1313,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1331,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1347,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1365,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1217,12 +1377,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1230,16 +1393,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1262,6 +1430,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1270,8 +1440,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1451,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1294,7 +1465,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1477,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1326,6 +1499,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1335,11 +1510,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1352,11 +1529,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1366,21 +1546,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1571,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1404,16 +1585,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttemptStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AttemptStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttemptStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AttemptStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1609,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 067732e6..04cba740 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
@@ -1,33 +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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder extends
+public interface AttemptStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -105,10 +147,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -116,10 +161,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 8f7ffdf5..4f0d227b 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,38 +72,42 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +115,42 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -131,30 +159,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -165,6 +195,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -173,7 +205,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -181,6 +215,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -189,14 +225,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,7 +247,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -215,6 +258,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -229,12 +274,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -249,15 +298,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -293,12 +345,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -308,19 +358,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = + (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -348,96 +397,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -445,21 +501,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -467,16 +525,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -494,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -515,7 +572,8 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -531,38 +589,39 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -600,7 +660,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -612,19 +673,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -633,21 +698,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -655,57 +723,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -713,8 +794,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -723,13 +809,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -738,17 +828,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -757,7 +853,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -773,6 +870,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -781,10 +880,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -795,6 +894,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -803,13 +904,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -821,6 +925,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -829,7 +935,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -843,6 +950,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -851,14 +960,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -867,17 +979,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -886,17 +1002,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -904,6 +1024,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -918,12 +1040,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -938,16 +1064,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -962,15 +1091,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -985,6 +1118,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -992,12 +1126,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1012,17 +1148,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1032,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1046,16 +1183,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index c38b4840..7e482e5c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder extends +public interface CancelLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,11 +99,14 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -83,10 +121,13 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -101,6 +142,7 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..e0f1f9cc --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,496 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { + "Queues", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { + "Parent", "Queue", + }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { + "Queue", "UpdateMask", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "ResponseView", "PageSize", "PageToken", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { + "Parent", "Task", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", + }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", + }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "LeaseDuration", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 7a6c7007..2fff1143 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index f06e93f5..9676f059 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5486174c..5b08ffe3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index d08c4552..efb3f667 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index a7ff0f78..be30b05b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..92e8ff23 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index 470736a3..d8cdf272 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..f57510e9 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 3c31bbcb..098da970 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = + (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = + new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index d0acb43e..8a94e8ad 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 47fe15e9..555bd07a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = + (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = + new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 24915aa1..627e5389 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index abca6176..d06ae3b1 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -64,6 +92,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -72,6 +102,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -112,7 +152,6 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,55 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,4 +240,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index 6aa2dbff..baf42571 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - maxTasks_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); + parent_ = s; + break; } - leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); + case 16: + { + maxTasks_ = input.readInt32(); + break; } + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); + } + leaseDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -187,6 +220,7 @@ public java.lang.String getParent() {
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -197,6 +231,8 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -215,7 +251,9 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -223,6 +261,8 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -241,14 +281,20 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -267,7 +313,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -277,6 +324,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -291,12 +340,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -311,17 +364,22 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -347,6 +405,7 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -355,14 +414,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -388,16 +448,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -406,6 +465,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +477,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -447,16 +506,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -469,25 +525,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = + (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getMaxTasks() - != other.getMaxTasks()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getMaxTasks() != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -516,118 +569,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -635,16 +697,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +727,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -687,7 +748,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = + new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -705,38 +767,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -744,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -793,19 +857,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -814,21 +882,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -836,64 +907,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_ ; + private int maxTasks_; /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -905,6 +991,7 @@ public Builder setParentBytes(
      * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -912,6 +999,8 @@ public int getMaxTasks() { return maxTasks_; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -923,16 +1012,19 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; + * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -944,10 +1036,11 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; + * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -955,8 +1048,13 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -975,13 +1073,17 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1000,17 +1102,23 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1029,7 +1137,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,6 +1154,8 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1063,10 +1174,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1077,6 +1188,8 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1095,13 +1208,16 @@ public Builder setLeaseDuration(
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1113,6 +1229,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1131,7 +1249,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1145,6 +1264,8 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1163,14 +1284,17 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1189,17 +1313,21 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1218,17 +1346,21 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1236,6 +1368,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1250,12 +1384,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1270,16 +1408,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1294,15 +1435,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1317,6 +1462,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1324,12 +1470,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1344,10 +1492,11 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1355,6 +1504,8 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1380,13 +1531,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1395,6 +1546,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1420,15 +1573,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1436,6 +1588,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1461,20 +1615,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1500,15 +1656,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1534,23 +1693,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1560,12 +1719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1574,16 +1733,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1598,6 +1757,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index e8ee7da0..8d97536d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder extends +public interface LeaseTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -41,11 +68,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ int getMaxTasks(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -64,11 +94,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -87,11 +121,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -110,11 +148,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -129,10 +170,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -147,11 +191,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -177,10 +224,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -206,8 +256,8 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index 785a15f5..db622add 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,24 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +96,7 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -87,22 +105,27 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The leased tasks.
    * 
@@ -114,6 +137,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -121,11 +146,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -137,6 +164,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The leased tasks.
    * 
@@ -148,6 +177,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The leased tasks.
    * 
@@ -155,12 +186,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -187,8 +217,7 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +227,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList() - .equals(other.getTasksList())) return false; + if (!getTasksList().equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +257,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -346,17 +384,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -391,7 +429,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = + new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +449,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -468,9 +509,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -495,7 +537,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +547,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The leased tasks.
      * 
@@ -533,6 +583,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -547,6 +599,8 @@ public int getTasksCount() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -561,14 +615,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +637,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -600,6 +657,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -620,14 +679,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,14 +701,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -659,6 +720,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -677,6 +740,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -687,8 +752,7 @@ 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); @@ -696,6 +760,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -713,6 +779,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -730,39 +798,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +843,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The leased tasks.
      * 
@@ -777,49 +852,54 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; } + @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); } @@ -829,12 +909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -843,16 +923,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index 9fd3c606..be8e88b3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder extends +public interface LeaseTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The leased tasks.
    * 
@@ -25,6 +44,8 @@ public interface LeaseTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The leased tasks.
    * 
@@ -33,21 +54,23 @@ public interface LeaseTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index ca1d881d..e54a748b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index f3767022..167f4ec8 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index c34490bd..b939f1fb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 248518f9..98afbafd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index bb5156d1..7c714d8e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 32: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = + (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = + new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index a9b7b18e..29a8834e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 1ab20232..02a9e4ef 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = + (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = + new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 8df40b84..65d2e1d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index 7c934fac..d0889429 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a65e03f3 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 3ad4c05d..68114f46 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -29,16 +47,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,24 +74,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -82,34 +100,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -120,6 +143,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -139,6 +164,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -147,14 +173,15 @@ 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; } } /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -174,16 +201,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -192,6 +218,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -221,8 +247,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -235,17 +260,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = + (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,97 +290,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -366,21 +397,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class,
+              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -388,16 +421,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +462,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result =
+          new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -441,38 +474,39 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,11 +553,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -531,33 +568,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -565,6 +608,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -584,13 +629,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -599,6 +644,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -618,15 +665,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -634,6 +680,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -653,20 +701,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -686,15 +736,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -714,23 +767,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -740,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -754,16 +807,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 9a08cc45..3e9a9796 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -37,10 +58,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -60,8 +84,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index c431c6ad..ac577696 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PullTarget() { - } + + private PullTarget() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PullTarget( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = + (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,118 +159,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** + * + * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = + new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); } else { super.mergeFrom(other); return this; @@ -374,9 +403,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -400,16 +429,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +453,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..86bed8df --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +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/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index 568db342..ffb1a8e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..395d587e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 5c513533..31f4d38a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,131 +73,155 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              name_ = s;
+              break;
             }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 3;
+              break;
             }
-            targetTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 4) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-            }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 4) {
+                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 4;
+              break;
             }
-            targetTypeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 130:
+            {
+              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
-            }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 130: {
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -188,36 +229,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class,
+            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -226,6 +272,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -240,6 +288,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -252,6 +302,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -275,6 +327,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -283,6 +337,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,6 +353,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +367,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -329,7 +389,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -354,50 +413,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -416,13 +476,16 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
+
   public enum TargetTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
+
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -438,26 +501,31 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_TARGET;
-        case 4: return PULL_TARGET;
-        case 0: return TARGETTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_TARGET;
+        case 4:
+          return PULL_TARGET;
+        case 0:
+          return TARGETTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase
-  getTargetTypeCase() {
-    return TargetTypeCase.forNumber(
-        targetTypeCase_);
+  public TargetTypeCase getTargetTypeCase() {
+    return TargetTypeCase.forNumber(targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -478,6 +546,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -486,14 +555,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -514,16 +584,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -533,12 +602,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -546,22 +618,27 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -570,21 +647,25 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+      getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -592,22 +673,27 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -618,7 +704,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -626,6 +712,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -643,6 +731,7 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -650,6 +739,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -667,13 +758,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -700,6 +796,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -713,6 +811,7 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -720,6 +819,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -733,13 +834,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -762,6 +868,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -772,12 +880,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -788,17 +900,22 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -811,6 +928,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -818,6 +936,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -830,6 +950,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ @java.lang.Override @@ -837,6 +958,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -858,6 +981,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -872,6 +997,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -879,6 +1005,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -893,6 +1021,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ @java.lang.Override @@ -900,6 +1029,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -923,6 +1054,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -935,6 +1068,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -942,6 +1076,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -954,13 +1090,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -982,13 +1123,18 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -996,13 +1142,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1010,13 +1161,17 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1024,6 +1179,7 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1035,8 +1191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1080,40 +1235,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1123,55 +1273,46 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget() - .equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget() - .equals(other.getPullTarget())) return false; + if (!getPullTarget().equals(other.getPullTarget())) return false; break; case 0: default: @@ -1232,97 +1373,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1331,21 +1478,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class,
+              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1353,16 +1502,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1412,9 +1560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1489,38 +1637,39 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1555,17 +1704,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET: {
-          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-          break;
-        }
-        case PULL_TARGET: {
-          mergePullTarget(other.getPullTarget());
-          break;
-        }
-        case TARGETTYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_TARGET:
+          {
+            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+            break;
+          }
+        case PULL_TARGET:
+          {
+            mergePullTarget(other.getPullTarget());
+            break;
+          }
+        case TARGETTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1595,12 +1747,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-    public TargetTypeCase
-        getTargetTypeCase() {
-      return TargetTypeCase.forNumber(
-          targetTypeCase_);
+
+    public TargetTypeCase getTargetTypeCase() {
+      return TargetTypeCase.forNumber(targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1610,9 +1762,10 @@ public Builder clearTargetType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1633,13 +1786,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1648,6 +1801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1668,15 +1823,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1684,6 +1838,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1704,20 +1860,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1738,15 +1896,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1767,30 +1928,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> + appEngineHttpTargetBuilder_; /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1798,12 +1965,15 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1821,6 +1991,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1828,7 +2000,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1842,6 +2015,8 @@ public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHt
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1861,6 +2036,8 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1868,12 +2045,17 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 3
+            && targetType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -1889,6 +2071,8 @@ public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1913,6 +2097,8 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1920,10 +2106,13 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
+        getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1932,7 +2121,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHt
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+        getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -1943,6 +2133,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1951,33 +2143,45 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        pullTargetBuilder_;
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -1985,12 +2189,15 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override @@ -2008,6 +2215,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2029,6 +2238,8 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2048,6 +2259,8 @@ public Builder setPullTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2057,10 +2270,13 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 4
+            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2076,6 +2292,8 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2100,6 +2318,8 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2111,6 +2331,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2130,6 +2352,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2138,28 +2362,39 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullTarget,
+                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2177,12 +2412,15 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2200,16 +2438,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2242,6 +2485,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2272,6 +2517,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2294,7 +2541,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2306,6 +2555,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2336,6 +2587,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2355,11 +2608,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2382,11 +2637,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2406,14 +2664,17 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RateLimits,
+                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2421,8 +2682,13 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2436,12 +2702,15 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2455,16 +2724,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2493,6 +2767,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2519,6 +2795,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,7 +2815,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2549,6 +2829,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2575,6 +2857,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2590,11 +2874,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2613,11 +2899,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2633,14 +2922,17 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RetryConfig,
+                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2648,6 +2940,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2658,12 +2952,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2674,16 +2972,19 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2694,15 +2995,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2713,6 +3018,7 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2720,12 +3026,14 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2736,10 +3044,11 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2747,8 +3056,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2761,12 +3075,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2779,6 +3096,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2789,6 +3107,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2816,6 +3136,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2829,8 +3151,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2841,6 +3162,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2858,7 +3181,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2870,6 +3193,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2895,6 +3220,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2909,11 +3236,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2931,11 +3260,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2950,14 +3280,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2965,8 +3298,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -2981,12 +3319,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3001,6 +3342,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3011,6 +3353,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3040,6 +3384,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3055,8 +3401,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3067,6 +3412,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3086,7 +3433,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3098,6 +3445,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3125,6 +3474,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,11 +3492,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3165,11 +3518,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3186,14 +3540,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3201,8 +3558,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3215,12 +3577,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3233,16 +3598,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3270,6 +3640,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3283,8 +3655,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3295,6 +3666,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3312,7 +3685,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3324,6 +3699,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3349,6 +3726,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3363,11 +3742,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3385,11 +3766,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3404,14 +3788,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3419,45 +3806,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
+            com.google.cloud.tasks.v2beta2.QueueStats,
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
+            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
+        statsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3473,16 +3879,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3493,19 +3902,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3517,13 +3932,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3537,61 +3956,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3601,12 +4036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -3615,16 +4050,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3639,6 +4074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 11cda3ea..15bb0343 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,32 +73,40 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -88,26 +117,34 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -118,6 +155,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -135,10 +174,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -156,10 +198,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -181,6 +226,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -194,10 +241,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -211,10 +261,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -232,6 +285,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -242,10 +297,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -256,11 +314,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -273,10 +334,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -289,10 +353,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -309,6 +376,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -323,10 +392,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -341,10 +413,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -363,6 +438,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -375,10 +452,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -391,10 +471,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -411,35 +494,49 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..39c576fa --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,178 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta2_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpTarget", + "PullTarget", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "Stats", + "TargetType", + }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { + "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", + }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", + "UnlimitedAttempts", + "MaxRetryDuration", + "MinBackoff", + "MaxBackoff", + "MaxDoublings", + "NumAttempts", + }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index f6138f49..851774bb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = + (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = + new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index 877422f2..d65aa3fd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index 2bb7a61a..ba22e1ca 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxTasksDispatchedPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentTasks_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxTasksDispatchedPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentTasks_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -123,6 +143,7 @@ private RateLimits(
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -133,6 +154,8 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -164,6 +187,7 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -174,6 +198,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -191,6 +217,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -199,6 +226,7 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -231,16 +258,14 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -250,20 +275,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = + (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() - != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -276,8 +299,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -287,97 +312,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -388,21 +420,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class,
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -410,16 +444,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -433,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -454,7 +487,8 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result =
+          new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -466,38 +500,39 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,8 +579,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_ ;
+    private double maxTasksDispatchedPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -561,6 +598,7 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -568,6 +606,8 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -583,16 +623,19 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -608,17 +651,20 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -650,6 +696,7 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -657,6 +704,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -688,16 +737,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -729,17 +781,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_ ; + private int maxConcurrentTasks_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -757,6 +812,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -764,6 +820,8 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -781,16 +839,19 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -808,17 +869,18 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -828,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -842,16 +904,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 1e80375a..373ee8d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -23,11 +41,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -59,11 +80,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -81,6 +105,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 86c724b4..91ce7c71 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,51 +72,57 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (leaseDuration_ != null) {
-              subBuilder = leaseDuration_.toBuilder();
-            }
-            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(leaseDuration_);
-              leaseDuration_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (leaseDuration_ != null) {
+                subBuilder = leaseDuration_.toBuilder();
+              }
+              leaseDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(leaseDuration_);
+                leaseDuration_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,35 +130,42 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -144,30 +174,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -178,6 +210,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -186,7 +220,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -194,6 +230,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -202,14 +240,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -218,7 +262,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -228,13 +273,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -242,27 +291,36 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -272,6 +330,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -286,12 +346,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -306,15 +370,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,8 +394,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -353,16 +420,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -372,24 +436,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = + (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -420,97 +482,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -518,21 +587,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -540,16 +611,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +643,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -594,7 +664,8 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -615,38 +686,39 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -654,7 +726,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -699,19 +772,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -720,21 +797,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -742,57 +822,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -800,8 +893,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -810,13 +908,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -825,17 +927,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -844,7 +952,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -860,6 +969,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -868,10 +979,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -882,6 +993,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -890,13 +1003,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -908,6 +1024,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -916,7 +1034,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -930,6 +1049,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -938,14 +1059,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -954,17 +1078,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -973,17 +1101,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -991,45 +1123,61 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,16 +1193,18 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1065,19 +1215,24 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1089,13 +1244,16 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1109,54 +1267,67 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1164,6 +1335,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1178,12 +1351,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1198,16 +1375,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1222,15 +1402,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1245,6 +1429,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1252,12 +1437,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1272,17 +1459,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1292,12 +1480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1306,16 +1494,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1330,6 +1518,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 0fb7d3e1..800dfd88 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder extends +public interface RenewLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,44 +99,58 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -116,10 +165,13 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -134,6 +186,7 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 1c905c3a..66717318 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..7e18051a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index c8e6cb16..9a966fb3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,67 +69,75 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            numAttempts_ = input.readInt32();
-            numAttemptsCase_ = 1;
-            break;
-          }
-          case 16: {
-            numAttempts_ = input.readBool();
-            numAttemptsCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              numAttempts_ = input.readInt32();
+              numAttemptsCase_ = 1;
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 16:
+            {
+              numAttempts_ = input.readBool();
+              numAttemptsCase_ = 2;
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          case 48:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-
-            break;
-          }
-          case 48: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,35 +145,40 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
+
   public enum NumAttemptsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
+
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -165,25 +194,30 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1: return MAX_ATTEMPTS;
-        case 2: return UNLIMITED_ATTEMPTS;
-        case 0: return NUMATTEMPTS_NOT_SET;
-        default: return null;
+        case 1:
+          return MAX_ATTEMPTS;
+        case 2:
+          return UNLIMITED_ATTEMPTS;
+        case 0:
+          return NUMATTEMPTS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase
-  getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(
-        numAttemptsCase_);
+  public NumAttemptsCase getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -192,6 +226,7 @@ public int getNumber() {
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -199,6 +234,8 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -207,6 +244,7 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -219,11 +257,14 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -231,11 +272,14 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ @java.lang.Override @@ -249,6 +293,8 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -267,6 +313,7 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -274,6 +321,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -292,13 +341,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -326,6 +380,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -342,6 +398,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -349,6 +406,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -365,6 +424,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ @java.lang.Override @@ -372,6 +432,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -397,6 +459,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -413,6 +477,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -420,6 +485,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -436,6 +503,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ @java.lang.Override @@ -443,6 +511,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -468,6 +538,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -494,6 +566,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -502,6 +575,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,15 +587,12 @@ 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 (numAttemptsCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) numAttempts_)); + output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -545,30 +616,26 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -578,39 +645,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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = + (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() - != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -647,8 +709,7 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); break; case 0: default: @@ -658,97 +719,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -756,21 +824,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class,
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -778,16 +848,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -817,9 +886,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -838,7 +907,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result =
+          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -870,38 +940,39 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -923,17 +994,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS: {
-          setMaxAttempts(other.getMaxAttempts());
-          break;
-        }
-        case UNLIMITED_ATTEMPTS: {
-          setUnlimitedAttempts(other.getUnlimitedAttempts());
-          break;
-        }
-        case NUMATTEMPTS_NOT_SET: {
-          break;
-        }
+        case MAX_ATTEMPTS:
+          {
+            setMaxAttempts(other.getMaxAttempts());
+            break;
+          }
+        case UNLIMITED_ATTEMPTS:
+          {
+            setUnlimitedAttempts(other.getUnlimitedAttempts());
+            break;
+          }
+        case NUMATTEMPTS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -963,12 +1037,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-    public NumAttemptsCase
-        getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(
-          numAttemptsCase_);
+
+    public NumAttemptsCase getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -978,8 +1052,9 @@ public Builder clearNumAttempts() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -988,12 +1063,15 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1002,6 +1080,7 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1011,6 +1090,8 @@ public int getMaxAttempts() { return 0; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1019,6 +1100,7 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1029,6 +1111,8 @@ public Builder setMaxAttempts(int value) { return this; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1037,6 +1121,7 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1049,22 +1134,28 @@ public Builder clearMaxAttempts() { } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1074,11 +1165,14 @@ public boolean getUnlimitedAttempts() { return false; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1089,11 +1183,14 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1107,8 +1204,13 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1127,12 +1229,15 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1151,16 +1256,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1194,6 +1304,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1213,8 +1325,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1225,6 +1336,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1248,7 +1361,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1260,6 +1375,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1291,6 +1408,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1311,11 +1430,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1339,11 +1460,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1364,14 +1488,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1379,8 +1506,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1397,12 +1529,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1419,16 +1554,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1460,6 +1600,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1477,8 +1619,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1489,6 +1630,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1510,7 +1653,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1522,6 +1665,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1551,6 +1696,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1569,11 +1716,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1595,11 +1744,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1618,14 +1770,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1633,8 +1788,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1651,12 +1811,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1673,16 +1836,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1714,6 +1882,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1731,8 +1901,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1743,6 +1912,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1764,7 +1935,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1776,6 +1947,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1805,6 +1978,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1823,11 +1998,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1849,11 +2026,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1872,21 +2052,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1913,6 +2098,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -1920,6 +2106,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1946,16 +2134,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1982,17 +2173,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2002,12 +2194,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2016,16 +2208,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2040,6 +2232,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index ca066b67..f78d7ff0 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -16,10 +34,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -28,30 +49,39 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -70,10 +100,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -92,10 +125,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -118,6 +154,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -134,10 +172,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -154,10 +195,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -178,6 +222,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -194,10 +240,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -214,10 +263,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -238,6 +290,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -264,6 +318,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index f7120749..a8d244e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = + (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index fce8c1e0..8ce08688 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..2ec60f36 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index d746a483..b4b9a701 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,92 +71,110 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 34: + { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } + case 64: + { + int rawValue = input.readEnum(); - break; - } - case 58: { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); + view_ = rawValue; + break; } - status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 64: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,27 +182,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -179,9 +218,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -190,6 +230,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -205,6 +247,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -219,6 +263,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -227,6 +273,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -242,6 +290,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -253,7 +303,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -278,49 +327,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -339,13 +388,16 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -361,26 +413,31 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 4: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 4:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -402,6 +459,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -410,14 +468,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -439,16 +498,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -458,6 +516,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -467,6 +527,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -474,6 +535,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -483,16 +546,19 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -504,15 +570,18 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -520,6 +589,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -527,6 +597,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -534,16 +606,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -555,7 +630,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -563,6 +638,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -574,6 +651,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -581,6 +659,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -592,13 +672,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -619,12 +704,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -632,12 +720,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -645,6 +736,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -660,11 +753,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ @java.lang.Override @@ -672,18 +768,25 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } /** + * + * *
    * Output only. The task status.
    * 
@@ -698,33 +801,43 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -736,8 +849,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -772,28 +884,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -803,40 +913,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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -885,118 +989,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1004,16 +1116,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1045,9 +1156,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1107,38 +1218,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); } else { super.mergeFrom(other); return this; @@ -1164,17 +1276,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1204,12 +1319,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1219,9 +1334,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1243,13 +1359,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1258,6 +1374,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1279,15 +1397,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1295,6 +1412,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1316,20 +1435,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1351,15 +1472,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1381,24 +1505,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1408,6 +1537,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1415,6 +1545,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1424,6 +1556,7 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1441,6 +1574,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1451,7 +1586,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1465,6 +1601,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1487,6 +1625,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1497,12 +1637,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1518,6 +1663,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1545,6 +1692,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1555,10 +1704,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1570,7 +1722,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1581,6 +1734,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1592,27 +1747,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1620,6 +1786,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1627,6 +1794,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1634,6 +1803,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override @@ -1651,6 +1821,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1673,6 +1845,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1693,6 +1867,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1703,10 +1879,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 4
+            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1722,6 +1901,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1747,6 +1928,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1759,6 +1942,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1779,6 +1964,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1788,28 +1975,39 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullMessage,
+                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1821,12 +2019,15 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1838,16 +2039,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1874,6 +2080,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1886,8 +2094,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -1898,6 +2105,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1914,7 +2123,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -1926,6 +2137,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1950,6 +2163,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1963,11 +2178,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1984,11 +2201,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2002,14 +2222,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2017,36 +2240,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2068,6 +2304,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2075,8 +2313,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2087,6 +2324,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2098,7 +2337,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;
         }
@@ -2110,6 +2349,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2129,6 +2370,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2137,11 +2380,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2153,11 +2398,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2166,14 +2414,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2181,34 +2432,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
+            com.google.cloud.tasks.v2beta2.TaskStatus,
+            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
+            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } else { return statusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2229,14 +2493,15 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus( - com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2247,6 +2512,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2257,7 +2524,9 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) + .mergeFrom(value) + .buildPartial(); } else { status_ = value; } @@ -2269,6 +2538,8 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2287,6 +2558,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2294,11 +2567,13 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The task status.
      * 
@@ -2309,11 +2584,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2321,14 +2599,17 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -2336,55 +2617,69 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The view to set. * @return This builder for chaining. */ @@ -2392,29 +2687,32 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2424,12 +2722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2438,16 +2736,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2462,6 +2760,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index cce77766..9b356802 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -54,12 +75,14 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -69,10 +92,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -82,10 +108,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -99,6 +128,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -106,10 +137,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -117,10 +151,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -132,6 +169,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -143,10 +182,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -158,10 +200,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -177,26 +222,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -207,24 +260,32 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** + * + * *
    * Output only. The task status.
    * 
@@ -234,22 +295,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..a0c50640 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "Status", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { + "AttemptDispatchCount", + "AttemptResponseCount", + "FirstAttemptStatus", + "LastAttemptStatus", + }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index f8ed0ce2..361386df 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TaskStatus() { - } + + private TaskStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,49 +68,55 @@ private TaskStatus( case 0: done = true; break; - case 8: { - - attemptDispatchCount_ = input.readInt32(); - break; - } - case 16: { - - attemptResponseCount_ = input.readInt32(); - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); + case 8: + { + attemptDispatchCount_ = input.readInt32(); + break; } - firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); + case 16: + { + attemptResponseCount_ = input.readInt32(); + break; } + case 26: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); + } + firstAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); + } + lastAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,29 +124,33 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** + * + * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -132,6 +158,7 @@ private TaskStatus(
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -142,12 +169,15 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -158,6 +188,8 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -166,6 +198,7 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -173,6 +206,8 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -181,13 +216,18 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -205,12 +245,15 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -218,19 +261,26 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -244,6 +294,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -255,8 +306,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -279,20 +329,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -302,26 +348,23 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other =
+        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount()
-        != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount()
-        != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus()
-          .equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus()
-          .equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -351,118 +394,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
+   *
+   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -470,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -524,7 +575,8 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = + new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -545,38 +597,39 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); } else { super.mergeFrom(other); return this; @@ -626,8 +679,10 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_ ; + private int attemptDispatchCount_; /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -635,6 +690,7 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -642,6 +698,8 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -649,16 +707,19 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; + * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -666,23 +727,27 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; + * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_ ; + private int attemptResponseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -690,32 +755,38 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -723,8 +794,13 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, + com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> + firstAttemptStatusBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -733,12 +809,15 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -747,16 +826,21 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -780,6 +864,8 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -801,6 +887,8 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -814,7 +902,9 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -826,6 +916,8 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -847,6 +939,8 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -857,11 +951,13 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-      
+
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -875,11 +971,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
+        return firstAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : firstAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -890,14 +989,17 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(), getParentForChildren(), isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -905,36 +1007,49 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        lastAttemptStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -956,6 +1071,8 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -975,6 +1092,8 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -986,7 +1105,9 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -998,6 +1119,8 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1017,6 +1140,8 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1025,11 +1150,13 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-      
+
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1041,11 +1168,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
+        return lastAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : lastAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1054,21 +1184,24 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        lastAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(), getParentForChildren(), isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1078,12 +1211,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1092,16 +1225,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TaskStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TaskStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TaskStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TaskStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1116,6 +1249,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index 4a065e60..b0d40449 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder extends
+public interface TaskStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -15,22 +33,28 @@ public interface TaskStatusOrBuilder extends
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -39,10 +63,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -51,10 +78,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -67,26 +97,34 @@ public interface TaskStatusOrBuilder extends
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index eb8253bd..c862f9eb 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 8314ea6a..61d01622 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index f7b2a5bb..2443b42f 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpQueue() {
-  }
+
+  private AppEngineHttpQueue() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpQueue(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
+        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpQueue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpQueue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpQueue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpQueue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 0abf3214..1f9d6f5b 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder extends
+public interface AppEngineHttpQueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index e8370812..c4f1b564 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -59,15 +76,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -76,16 +94,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -105,56 +122,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -162,41 +185,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -208,12 +234,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -225,17 +255,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -245,6 +280,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -252,6 +288,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -261,13 +299,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -286,6 +329,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -295,6 +340,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -303,14 +349,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -320,16 +367,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -338,24 +384,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -364,6 +409,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -402,22 +449,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -457,11 +504,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -501,16 +549,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -550,12 +598,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -565,6 +612,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -572,6 +621,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -580,6 +630,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,9 +642,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -602,12 +653,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -620,30 +667,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -653,25 +698,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -703,96 +745,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -848,43 +897,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -892,16 +941,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -922,9 +970,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -943,7 +991,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -963,38 +1012,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1002,7 +1052,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1013,8 +1064,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1037,7 +1087,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1046,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1061,12 +1115,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1078,16 +1136,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1099,15 +1160,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1119,6 +1184,7 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1126,12 +1192,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1143,10 +1211,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1154,8 +1223,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, + com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1165,12 +1239,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1180,16 +1257,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1214,6 +1296,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1236,6 +1320,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1250,7 +1336,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1262,6 +1350,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1284,6 +1374,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1295,11 +1387,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1314,11 +1408,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1330,14 +1427,17 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1345,6 +1445,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1354,13 +1456,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1369,6 +1471,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1378,15 +1482,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1394,6 +1497,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1403,20 +1508,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1426,15 +1533,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1444,37 +1554,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1486,6 +1595,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1524,22 +1635,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1579,11 +1690,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1623,16 +1735,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1672,12 +1785,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1685,11 +1797,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1728,23 +1841,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1783,19 +1894,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1834,16 +1946,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1851,6 +1962,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1858,6 +1970,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1865,19 +1979,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1885,17 +2002,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1905,12 +2023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -1919,16 +2037,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1943,6 +2061,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index 8b399cf6..b7415b57 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -329,6 +369,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 5941632c..99d0cc4b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -351,6 +385,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -359,14 +394,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -380,16 +416,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -398,6 +433,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,8 +445,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -452,21 +487,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = + (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,97 +523,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -599,21 +638,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -621,16 +662,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -646,9 +686,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -667,7 +707,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -680,38 +721,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -719,7 +761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -767,6 +810,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -785,13 +830,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -800,6 +845,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -818,15 +865,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -834,6 +880,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -852,20 +900,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -884,15 +934,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -911,16 +964,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -928,6 +981,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -946,13 +1001,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -961,6 +1016,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -979,15 +1036,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -995,6 +1051,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1013,20 +1071,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,15 +1105,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1072,16 +1135,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1089,6 +1152,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1104,13 +1169,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1119,6 +1184,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1134,15 +1201,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1150,6 +1216,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1165,20 +1233,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1194,15 +1264,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1218,16 +1291,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1235,6 +1308,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1248,13 +1323,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1263,6 +1338,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1276,15 +1353,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1292,6 +1368,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1305,20 +1383,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,15 +1412,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1354,23 +1437,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1380,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1394,16 +1477,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1418,6 +1501,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index c7550993..b6a7c17e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 2a3aa36d..178ff60f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -542,16 +607,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -604,7 +668,8 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = + new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +698,39 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +782,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +846,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +855,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +866,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +879,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +893,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +914,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +924,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +942,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +958,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +976,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1040,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1049,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1060,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1073,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1087,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1108,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1118,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1136,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1152,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1170,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1234,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1243,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1254,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1267,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1281,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1302,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1312,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1330,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1346,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1364,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1376,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1392,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1429,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1439,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1450,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1464,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1476,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1498,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1509,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1528,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1545,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1570,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1404,16 +1584,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1608,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 0151d1c3..9b943d64 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..f9f9d0eb
--- /dev/null
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,388 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks."
+          + "proto\022\032google.cloud.tasks.v2beta3\032\034googl"
+          + "e/api/annotations.proto\032\027google/api/clie"
+          + "nt.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032&google/clo"
+          + "ud/tasks/v2beta3/queue.proto\032%google/clo"
+          + "ud/tasks/v2beta3/task.proto\032\036google/iam/"
+          + "v1/iam_policy.proto\032\032google/iam/v1/polic"
+          + "y.proto\032\033google/protobuf/empty.proto\032 go"
+          + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ"
+          + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl"
+          + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030"
+          + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004"
+          + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu"
+          + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221"
+          + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be"
+          + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge"
+          + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo"
+          + "udtasks.googleapis.com/Queue\0222\n\tread_mas"
+          + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001"
+          + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB"
+          + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue"
+          + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b"
+          + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n"
+          + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta"
+          + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog"
+          + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ"
+          + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go"
+          + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022"
+          + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google"
+          + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n"
+          + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis"
+          + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name"
+          + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co"
+          + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001"
+          + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/"
+          + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo"
+          + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030"
+          + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe"
+          + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas"
+          + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t"
+          + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
+          + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres"
+          + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2"
+          + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n"
+          + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google"
+          + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo"
+          + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v"
+          + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T"
+          + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 "
+          + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T"
+          + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A"
+          + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r"
+          + "response_view\030\002 \001(\0162%.google.cloud.tasks"
+          + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi"
+          + "stQueues\022-.google.cloud.tasks.v2beta3.Li"
+          + "stQueuesRequest\032..google.cloud.tasks.v2b"
+          + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta"
+          + "3/{parent=projects/*/locations/*}/queues"
+          + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta"
+          + "sks.v2beta3.GetQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}\332"
+          + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta"
+          + "sks.v2beta3.CreateQueueRequest\032!.google."
+          + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be"
+          + "ta3/{parent=projects/*/locations/*}/queu"
+          + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue"
+          + "\022..google.cloud.tasks.v2beta3.UpdateQueu"
+          + "eRequest\032!.google.cloud.tasks.v2beta3.Qu"
+          + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec"
+          + "ts/*/locations/*/queues/*}:\005queue\332A\021queu"
+          + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c"
+          + "loud.tasks.v2beta3.DeleteQueueRequest\032\026."
+          + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/"
+          + "{name=projects/*/locations/*/queues/*}\332A"
+          + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task"
+          + "s.v2beta3.PurgeQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}:"
+          + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google."
+          + "cloud.tasks.v2beta3.PauseQueueRequest\032!."
+          + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:"
+          + "\"5/v2beta3/{name=projects/*/locations/*/"
+          + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu"
+          + "e\022..google.cloud.tasks.v2beta3.ResumeQue"
+          + "ueRequest\032!.google.cloud.tasks.v2beta3.Q"
+          + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/"
+          + "locations/*/queues/*}:resume:\001*\332A\004name\022\241"
+          + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo"
+          + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223"
+          + "\002E\"@/v2beta3/{resource=projects/*/locati"
+          + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour"
+          + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI"
+          + "amPolicyRequest\032\025.google.iam.v1.Policy\"]"
+          + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo"
+          + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re"
+          + "source,policy\022\323\001\n\022TestIamPermissions\022(.g"
+          + "oogle.iam.v1.TestIamPermissionsRequest\032)"
+          + ".google.iam.v1.TestIamPermissionsRespons"
+          + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*"
+          + "/locations/*/queues/*}:testIamPermission"
+          + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask"
+          + "s\022,.google.cloud.tasks.v2beta3.ListTasks"
+          + "Request\032-.google.cloud.tasks.v2beta3.Lis"
+          + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent"
+          + "=projects/*/locations/*/queues/*}/tasks\332"
+          + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task"
+          + "s.v2beta3.GetTaskRequest\032 .google.cloud."
+          + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na"
+          + "me=projects/*/locations/*/queues/*/tasks"
+          + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud"
+          + ".tasks.v2beta3.CreateTaskRequest\032 .googl"
+          + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b"
+          + "eta3/{parent=projects/*/locations/*/queu"
+          + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT"
+          + "ask\022-.google.cloud.tasks.v2beta3.DeleteT"
+          + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223"
+          + "\0029*7/v2beta3/{name=projects/*/locations/"
+          + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*"
+          + ".google.cloud.tasks.v2beta3.RunTaskReque"
+          + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323"
+          + "\344\223\002@\";/v2beta3/{name=projects/*/location"
+          + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031"
+          + "cloudtasks.googleapis.com\322A.https://www."
+          + "googleapis.com/auth/cloud-platformB|\n\036co"
+          + "m.google.cloud.tasks.v2beta3B\017CloudTasks"
+          + "ProtoP\001Z?google.golang.org/genproto/goog"
+          + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS"
+          + "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 077c4486..91bd1d65 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index bdfd7d8a..ffa30b22 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 57aa86ab..07fe1038 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 73c305d4..3dca068b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 2e413529..1be3d865 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..1005fb1e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 637d4d5f..23d7d974 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..31df875a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 6deb7db0..22f86ccf 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = + (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = + new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index 334e474b..f8c79d47 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index af9e4c2e..4042daaa 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = + (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = + new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 5ffdb3d2..702b5ba7 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index 56c8b354..f6dd90bc 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 14c36862..55ca2408 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,82 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +177,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +237,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +273,7 @@ public int getNumber() {
    * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -244,14 +282,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +302,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +321,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +380,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +408,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +451,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +484,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +521,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +535,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +545,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +555,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +567,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +575,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +587,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +614,15 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +634,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +642,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +655,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +683,13 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +701,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -668,31 +732,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +767,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.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other =
+        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +828,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +953,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class,
+              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -929,16 +997,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1043,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result =
+          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1074,39 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1122,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1170,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1189,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1202,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1217,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1230,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1245,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1258,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1285,18 @@ public Builder setUrl(
      * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1308,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1325,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1391,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1440,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1468,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1511,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1544,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1582,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1594,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1626,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1667,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1707,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1724,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1732,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1742,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1766,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1794,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1802,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1814,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1832,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1859,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1765,6 +1884,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1899,14 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1922,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1952,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1969,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1994,8 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2008,38 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OAuthToken,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OAuthToken,
+                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2051,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2059,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2072,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2090,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2118,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2132,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2143,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2159,14 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2182,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2213,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2231,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2257,8 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2272,32 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OidcToken,
+                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2307,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2150,16 +2321,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2345,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index 991d24a9..a6be1e13 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -314,5 +363,6 @@ java.lang.String getHeadersOrThrow(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
+      getAuthorizationHeaderCase();
 }
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index 460c3866..c08ca2b9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 3ccd40a9..7d932d07 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index d9110937..fdbf3dd3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index a68c11f8..ac61989f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 8d36fc75..44cfe1ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = + (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = + new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index bfa87b6b..39f56488 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 287e34ea..09f702ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = + (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = + new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 397e65c5..8b9ed0ad 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f0cf2430..f4b3966c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = + (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class,
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +479,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result =
+          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -456,38 +491,39 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +571,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +582,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +597,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +608,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +623,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +634,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +659,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +680,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +697,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +706,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +721,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +730,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +745,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +754,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +777,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +796,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +822,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -780,16 +836,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +860,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 1cf564b9..6409320a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index b1147293..d8ef8572 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +415,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class,
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -405,16 +439,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result =
+          new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -458,38 +492,39 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +572,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +583,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +598,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +609,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +624,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +635,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +660,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +681,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +698,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +721,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +744,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +818,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -777,16 +832,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +856,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 79aa78a6..639b960f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index b5b6cc63..ddd155f1 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..d4fc3a55 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 90f288ff..845fa92d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -32,16 +50,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,24 +77,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,34 +103,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -123,6 +146,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -134,6 +159,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -142,14 +168,15 @@ 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; } } /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -161,16 +188,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -179,6 +205,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -208,8 +234,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -222,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = + (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,97 +277,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** + * + * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -356,21 +387,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class,
+              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -378,16 +411,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -420,7 +452,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result =
+          new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -431,38 +464,39 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,11 +543,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -521,33 +558,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -555,6 +598,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -566,13 +611,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -581,6 +626,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -592,15 +639,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -608,6 +654,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -619,20 +667,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -644,15 +694,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -664,23 +717,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -690,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -704,16 +757,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -728,6 +781,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index d6d53ffb..cfae720a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -29,10 +50,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -44,8 +68,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 7e739e04..78c3ead3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..5a994955 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 3156e1bf..45c41179 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -29,16 +47,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,136 +74,163 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-            if (queueTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              name_ = s;
+              break;
             }
-            queueType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-              queueType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+              if (queueTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              }
+              queueType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+                queueType_ = subBuilder.buildPartial();
+              }
+              queueTypeCase_ = 3;
+              break;
             }
-            queueTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 66:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -194,36 +238,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class,
+            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -232,6 +281,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -246,6 +297,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -256,6 +309,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -277,6 +332,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -285,6 +342,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -299,6 +358,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +370,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,7 +390,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -352,50 +414,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -413,15 +476,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -430,6 +496,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * A pull queue.
      * 
@@ -438,6 +506,8 @@ public enum Type */ PULL(1), /** + * + * *
      * A push queue.
      * 
@@ -449,6 +519,8 @@ public enum Type ; /** + * + * *
      * Default value.
      * 
@@ -457,6 +529,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A pull queue.
      * 
@@ -465,6 +539,8 @@ public enum Type */ public static final int PULL_VALUE = 1; /** + * + * *
      * A push queue.
      * 
@@ -473,7 +549,6 @@ public enum Type */ public static final int PUSH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -498,49 +573,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return PULL; - case 2: return PUSH; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return PULL; + case 2: + return PUSH; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -559,12 +634,15 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; + public enum QueueTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; + private QueueTypeCase(int value) { this.value = value; } @@ -580,25 +658,29 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: return APP_ENGINE_HTTP_QUEUE; - case 0: return QUEUETYPE_NOT_SET; - default: return null; + case 3: + return APP_ENGINE_HTTP_QUEUE; + case 0: + return QUEUETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueueTypeCase - getQueueTypeCase() { - return QueueTypeCase.forNumber( - queueTypeCase_); + public QueueTypeCase getQueueTypeCase() { + return QueueTypeCase.forNumber(queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -619,6 +701,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -627,14 +710,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -655,16 +739,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -674,6 +757,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -681,6 +766,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -688,6 +774,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -695,16 +783,19 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -714,9 +805,10 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+      getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -724,6 +816,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -748,6 +842,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -755,6 +850,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -779,13 +876,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -819,6 +921,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -832,6 +936,7 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -839,6 +944,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -852,13 +959,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -881,6 +993,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -891,12 +1005,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -907,17 +1025,22 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -930,6 +1053,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -937,6 +1061,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -949,6 +1075,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ @java.lang.Override @@ -956,6 +1083,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -977,6 +1106,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -991,6 +1122,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -998,6 +1130,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1012,6 +1146,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ @java.lang.Override @@ -1019,6 +1154,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1042,6 +1179,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1054,6 +1193,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1061,6 +1201,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1073,13 +1215,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1101,13 +1248,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1115,36 +1266,48 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1152,13 +1315,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1166,25 +1335,35 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -1192,13 +1371,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1206,13 +1390,17 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1220,6 +1408,7 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1231,8 +1420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1279,44 +1467,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getStackdriverLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1326,57 +1508,48 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig() - .equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue() - .equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1439,97 +1612,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1538,21 +1717,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class,
+              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1560,16 +1741,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1627,9 +1807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1703,38 +1883,39 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1775,13 +1956,15 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE: {
-          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-          break;
-        }
-        case QUEUETYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_QUEUE:
+          {
+            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+            break;
+          }
+        case QUEUETYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1811,12 +1994,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-    public QueueTypeCase
-        getQueueTypeCase() {
-      return QueueTypeCase.forNumber(
-          queueTypeCase_);
+
+    public QueueTypeCase getQueueTypeCase() {
+      return QueueTypeCase.forNumber(queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -1826,9 +2009,10 @@ public Builder clearQueueType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1849,13 +2033,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -1864,6 +2048,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1884,15 +2070,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1900,6 +2085,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1920,20 +2107,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1954,15 +2143,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1983,24 +2175,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> + appEngineHttpQueueBuilder_; /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2008,6 +2205,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2015,6 +2213,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2022,6 +2222,7 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2039,6 +2240,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2061,6 +2264,8 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2081,6 +2286,8 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2089,12 +2296,17 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3 &&
-            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-              .mergeFrom(value).buildPartial();
+        if (queueTypeCase_ == 3
+            && queueType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2110,6 +2322,8 @@ public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2135,6 +2349,8 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2143,10 +2359,13 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
+        getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2156,7 +2375,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHtt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+        getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2167,6 +2387,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
       }
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2176,28 +2398,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2222,12 +2455,15 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2252,16 +2488,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2301,6 +2542,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2338,6 +2581,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2367,7 +2612,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2379,6 +2626,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2416,6 +2665,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2442,11 +2693,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2476,11 +2729,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2507,14 +2763,17 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RateLimits,
+                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2522,8 +2781,13 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,12 +2801,15 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2556,16 +2823,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2594,6 +2866,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2620,6 +2894,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2638,7 +2914,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2650,6 +2928,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2676,6 +2956,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2691,11 +2973,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2714,11 +2998,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2734,14 +3021,17 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RetryConfig,
+                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2749,6 +3039,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2759,12 +3051,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2775,16 +3071,19 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2795,15 +3094,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2814,6 +3117,7 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2821,12 +3125,14 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2837,10 +3143,11 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2848,8 +3155,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2862,12 +3174,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2880,6 +3195,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2890,6 +3206,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2917,6 +3235,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2930,8 +3250,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2942,6 +3261,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2959,7 +3280,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2971,6 +3292,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2996,6 +3319,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3010,11 +3335,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3032,11 +3359,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3051,14 +3379,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3066,8 +3397,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3082,12 +3418,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3102,6 +3441,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3112,6 +3452,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,6 +3483,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3156,8 +3500,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3168,6 +3511,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3187,7 +3532,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3199,6 +3544,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3226,6 +3573,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3242,11 +3591,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3266,11 +3617,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3287,14 +3639,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3302,8 +3657,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3316,12 +3676,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3334,16 +3697,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3371,6 +3739,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3384,8 +3754,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3396,6 +3765,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3413,7 +3784,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3425,6 +3798,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3450,6 +3825,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3464,11 +3841,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3486,11 +3865,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3505,14 +3887,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3520,47 +3905,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3574,13 +3976,16 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stackd return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3594,19 +3999,26 @@ public Builder setStackdriverLoggingConfig( return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( + stackdriverLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -3618,13 +4030,16 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stac return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -3638,54 +4053,69 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder + getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null ? - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), - getParentForChildren(), - isClean()); + stackdriverLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), getParentForChildren(), isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -3693,6 +4123,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack private int type_ = 0; /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3700,13 +4132,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3714,17 +4152,22 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @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; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3732,16 +4175,22 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3749,7 +4198,10 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -3757,12 +4209,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3770,11 +4224,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -3782,45 +4239,64 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -3836,16 +4312,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3856,19 +4335,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3880,13 +4365,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3900,61 +4389,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3964,12 +4469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -3978,16 +4483,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4002,6 +4507,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index f85deb76..cc0ff52c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -65,10 +88,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -76,10 +102,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -91,6 +120,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -115,10 +146,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -143,10 +177,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -175,6 +212,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -188,10 +227,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -205,10 +247,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -226,6 +271,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -236,10 +283,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -250,11 +300,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -267,10 +320,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -283,10 +339,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -303,6 +362,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -317,10 +378,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -335,10 +399,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -357,6 +424,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -369,10 +438,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -385,10 +457,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -405,39 +480,53 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -445,11 +534,16 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -457,41 +551,58 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..6e32a784 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,188 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta3_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpQueue", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "StackdriverLoggingConfig", + "Type", + "Stats", + "QueueType", + }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { + "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", + }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", + }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { + "SamplingRatio", + }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 6897da96..978a5c1e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = + (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = + new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 8a467ec6..2ae27c91 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index ef9eedb4..dad67fef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -120,6 +140,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -130,6 +151,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,20 +268,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = + (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +292,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +413,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class,
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -404,16 +437,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -448,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result =
+          new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -460,38 +493,39 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +572,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -552,6 +588,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -559,6 +596,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -571,16 +610,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -593,17 +635,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -635,6 +680,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -642,6 +688,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -673,16 +721,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +765,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +793,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +801,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +817,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +844,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -818,16 +879,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index bcb32f76..98144881 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -20,11 +38,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 6a69efc9..7b20829a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9a447341 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index c721a7bb..dda88aec 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = + (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +576,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +681,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class,
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -649,16 +705,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +764,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result =
+          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +791,39 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +876,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +894,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +902,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +918,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +945,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +957,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +981,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1007,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1054,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1074,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1085,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1109,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1123,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1155,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1176,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1205,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1232,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1250,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1171,12 +1272,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1192,16 +1296,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1232,6 +1341,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1248,8 +1359,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1370,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1280,7 +1392,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1404,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1320,6 +1434,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1337,11 +1453,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1362,11 +1480,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1384,14 +1505,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1523,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1416,12 +1545,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1437,16 +1569,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1477,6 +1614,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1493,8 +1632,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1643,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1525,7 +1665,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1677,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1565,6 +1707,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1582,11 +1726,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1607,11 +1753,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1629,21 +1778,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1823,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1831,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1858,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1896,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1770,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1955,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 16a45225..29a36745 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7077ce..8e7d1959 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = + (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 019bc5fa..1bb6a94d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d34e7cc2..d80fab89 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,114 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +305,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +329,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +368,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +379,39 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +419,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +443,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +454,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +466,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +474,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +484,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +505,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -496,16 +540,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +564,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index 2a730069..ed2107ed 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..b76a8c8c --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,201 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 24c1dc31..03927a4e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,142 +71,168 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - dispatchCount_ = input.readInt32(); - break; - } - case 56: { - - responseCount_ = input.readInt32(); - break; - } - case 66: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); + break; } - - break; - } - case 74: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); + case 48: + { + dispatchCount_ = input.readInt32(); + break; } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + case 56: + { + responseCount_ = input.readInt32(); + break; } + case 66: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } - break; - } - case 80: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - case 90: { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } - payloadTypeCase_ = 11; - break; - } - case 98: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 80: + { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 11; + break; } + case 98: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 106: + { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 13; + break; } - payloadTypeCase_ = 13; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -197,27 +240,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -229,9 +276,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -240,6 +288,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -254,6 +304,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -268,6 +320,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -276,6 +330,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,6 +346,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -301,7 +359,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -326,49 +383,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -387,14 +444,17 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -410,27 +470,33 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 11: return HTTP_REQUEST;
-        case 13: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 11:
+          return HTTP_REQUEST;
+        case 13:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -452,6 +518,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -460,14 +527,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -489,16 +557,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -508,12 +575,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -521,22 +591,27 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -545,21 +620,25 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -567,22 +646,27 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -593,13 +677,15 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -611,6 +697,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -618,6 +705,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -629,16 +718,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -654,7 +746,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -662,6 +754,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -669,6 +763,7 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -676,6 +771,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -683,13 +780,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -706,12 +808,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -719,12 +824,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -732,6 +840,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -747,6 +857,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -777,6 +889,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -784,6 +897,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -814,13 +929,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -860,6 +980,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -867,6 +989,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -877,11 +1000,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -892,6 +1018,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -899,6 +1027,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -906,6 +1035,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -913,13 +1044,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -936,11 +1072,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -948,18 +1087,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -974,33 +1120,43 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1012,8 +1168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1063,48 +1218,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1114,58 +1264,47 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -1230,118 +1369,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1349,16 +1496,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1406,9 +1552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1487,38 +1633,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); } else { super.mergeFrom(other); return this; @@ -1556,21 +1703,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1600,12 +1751,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1615,9 +1766,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1639,13 +1791,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1654,6 +1806,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1675,15 +1829,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1691,6 +1844,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1712,20 +1867,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1747,15 +1904,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1777,30 +1937,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1808,12 +1974,15 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1831,6 +2000,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1838,7 +2009,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1852,6 +2024,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1871,6 +2045,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1878,12 +2054,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1899,6 +2080,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1923,6 +2106,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1930,10 +2115,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1942,7 +2130,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1953,6 +2142,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1961,33 +2152,45 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1995,12 +2198,15 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override @@ -2018,6 +2224,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2039,6 +2247,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2058,6 +2268,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2067,10 +2279,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 11
+            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2086,6 +2301,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2110,6 +2327,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2121,6 +2340,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2140,6 +2361,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2148,27 +2371,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.HttpRequest,
+                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2180,6 +2414,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2187,6 +2422,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2198,6 +2435,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override @@ -2215,6 +2453,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2241,6 +2481,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2265,6 +2507,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2279,10 +2523,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 13
+            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2298,6 +2545,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2327,6 +2576,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2343,6 +2594,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2367,6 +2620,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2380,28 +2635,39 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.PullMessage,
+                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2409,12 +2675,15 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2422,16 +2691,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2454,6 +2728,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2462,8 +2738,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2474,6 +2749,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2486,7 +2763,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2498,6 +2777,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2518,6 +2799,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2527,11 +2810,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2544,11 +2829,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2558,14 +2846,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2573,36 +2864,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2624,6 +2928,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2631,8 +2937,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2643,6 +2948,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2654,7 +2961,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;
         }
@@ -2666,6 +2973,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2685,6 +2994,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2693,11 +3004,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2709,11 +3022,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2722,14 +3038,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2737,8 +3056,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2769,12 +3093,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2805,16 +3132,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2860,6 +3192,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2891,8 +3225,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2903,6 +3236,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2938,7 +3273,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2950,6 +3287,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2993,6 +3332,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3025,11 +3366,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3065,11 +3408,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3102,21 +3448,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3124,6 +3475,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -3131,6 +3483,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3138,16 +3492,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3155,22 +3512,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -3178,30 +3539,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3209,8 +3576,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3218,12 +3590,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3231,16 +3606,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3263,6 +3643,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3271,8 +3653,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3283,6 +3664,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3295,7 +3678,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3307,6 +3692,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3327,6 +3714,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3336,11 +3725,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3353,11 +3744,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3367,14 +3761,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.Attempt,
+                com.google.cloud.tasks.v2beta3.Attempt.Builder,
+                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3382,34 +3779,47 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3430,14 +3840,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3448,6 +3859,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3458,7 +3871,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3470,6 +3885,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3488,6 +3905,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3495,11 +3914,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3510,11 +3931,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3522,14 +3946,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3537,55 +3964,69 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3593,29 +4034,32 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3625,12 +4069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -3639,16 +4083,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3663,6 +4107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 9eec5440..674d4ee6 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -120,6 +157,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -131,10 +170,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -146,10 +188,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -165,6 +210,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -172,10 +219,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -183,10 +233,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -198,26 +251,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -228,6 +289,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -258,10 +321,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -292,10 +358,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -330,6 +399,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -337,21 +408,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -359,10 +436,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -370,10 +450,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -385,24 +468,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -412,22 +503,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..e57410e2 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 635a81c9..0721b5ef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 33a0c511..3e6869a9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto

From 5e07d7d534a472e3f010200c978005c611f6d9cd Mon Sep 17 00:00:00 2001
From: Owl Bot 
Date: Thu, 23 Jun 2022 01:57:41 +0000
Subject: [PATCH 5/7] feat: Enable REST transport for most of Java and Go
 clients

PiperOrigin-RevId: 456641589

Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9
---
 .../cloud/tasks/v2/CloudTasksClient.java      |   67 +-
 .../cloud/tasks/v2/CloudTasksSettings.java    |   30 +-
 .../google/cloud/tasks/v2/gapic_metadata.json |    0
 .../google/cloud/tasks/v2/package-info.java   |    0
 .../cloud/tasks/v2/stub/CloudTasksStub.java   |    0
 .../tasks/v2/stub/CloudTasksStubSettings.java |   59 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../tasks/v2/stub/GrpcCloudTasksStub.java     |    1 +
 .../HttpJsonCloudTasksCallableFactory.java    |  105 +
 .../tasks/v2/stub/HttpJsonCloudTasksStub.java |  982 ++++++++
 .../v2/CloudTasksClientHttpJsonTest.java      | 1602 ++++++++++++++
 .../cloud/tasks/v2/CloudTasksClientTest.java  |    0
 .../google/cloud/tasks/v2/MockCloudTasks.java |    0
 .../cloud/tasks/v2/MockCloudTasksImpl.java    |    0
 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 +++++-------
 .../cloud/tasks/v2/AppEngineHttpRequest.java  |  756 +++----
 .../v2/AppEngineHttpRequestOrBuilder.java     |   75 +-
 .../cloud/tasks/v2/AppEngineRouting.java      |  540 ++---
 .../tasks/v2/AppEngineRoutingOrBuilder.java   |   54 +-
 .../com/google/cloud/tasks/v2/Attempt.java    |  616 ++----
 .../cloud/tasks/v2/AttemptOrBuilder.java      |   50 +-
 .../cloud/tasks/v2/CloudTasksProto.java       |  349 +++
 .../cloud/tasks/v2/CreateQueueRequest.java    |  444 ++--
 .../tasks/v2/CreateQueueRequestOrBuilder.java |   43 +-
 .../cloud/tasks/v2/CreateTaskRequest.java     |  473 ++--
 .../tasks/v2/CreateTaskRequestOrBuilder.java  |   49 +-
 .../cloud/tasks/v2/DeleteQueueRequest.java    |  329 ++-
 .../tasks/v2/DeleteQueueRequestOrBuilder.java |   31 +
 .../cloud/tasks/v2/DeleteTaskRequest.java     |  329 ++-
 .../tasks/v2/DeleteTaskRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2/GetQueueRequest.java       |  329 ++-
 .../tasks/v2/GetQueueRequestOrBuilder.java    |   31 +
 .../google/cloud/tasks/v2/GetTaskRequest.java |  382 ++--
 .../tasks/v2/GetTaskRequestOrBuilder.java     |   41 +-
 .../com/google/cloud/tasks/v2/HttpMethod.java |  117 +-
 .../google/cloud/tasks/v2/HttpRequest.java    |  910 ++++----
 .../cloud/tasks/v2/HttpRequestOrBuilder.java  |   83 +-
 .../cloud/tasks/v2/ListQueuesRequest.java     |  523 ++---
 .../tasks/v2/ListQueuesRequestOrBuilder.java  |   56 +-
 .../cloud/tasks/v2/ListQueuesResponse.java    |  454 ++--
 .../tasks/v2/ListQueuesResponseOrBuilder.java |   46 +-
 .../cloud/tasks/v2/ListTasksRequest.java      |  498 ++---
 .../tasks/v2/ListTasksRequestOrBuilder.java   |   53 +-
 .../cloud/tasks/v2/ListTasksResponse.java     |  454 ++--
 .../tasks/v2/ListTasksResponseOrBuilder.java  |   46 +-
 .../google/cloud/tasks/v2/LocationName.java   |    0
 .../com/google/cloud/tasks/v2/OAuthToken.java |  373 ++--
 .../cloud/tasks/v2/OAuthTokenOrBuilder.java   |   36 +-
 .../com/google/cloud/tasks/v2/OidcToken.java  |  373 ++--
 .../cloud/tasks/v2/OidcTokenOrBuilder.java    |   36 +-
 .../cloud/tasks/v2/PauseQueueRequest.java     |  329 ++-
 .../tasks/v2/PauseQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2/PurgeQueueRequest.java     |  329 ++-
 .../tasks/v2/PurgeQueueRequestOrBuilder.java  |   31 +
 .../java/com/google/cloud/tasks/v2/Queue.java |  934 +++-----
 .../com/google/cloud/tasks/v2/QueueName.java  |    0
 .../google/cloud/tasks/v2/QueueOrBuilder.java |   76 +-
 .../com/google/cloud/tasks/v2/QueueProto.java |  122 +
 .../com/google/cloud/tasks/v2/RateLimits.java |  326 ++-
 .../cloud/tasks/v2/RateLimitsOrBuilder.java   |   27 +-
 .../cloud/tasks/v2/ResumeQueueRequest.java    |  329 ++-
 .../tasks/v2/ResumeQueueRequestOrBuilder.java |   31 +
 .../google/cloud/tasks/v2/RetryConfig.java    |  579 ++---
 .../cloud/tasks/v2/RetryConfigOrBuilder.java  |   48 +-
 .../google/cloud/tasks/v2/RunTaskRequest.java |  382 ++--
 .../tasks/v2/RunTaskRequestOrBuilder.java     |   41 +-
 .../tasks/v2/StackdriverLoggingConfig.java    |  275 +--
 .../v2/StackdriverLoggingConfigOrBuilder.java |   21 +-
 .../google/cloud/tasks/v2/TargetProto.java    |  148 ++
 .../java/com/google/cloud/tasks/v2/Task.java  | 1234 ++++-------
 .../com/google/cloud/tasks/v2/TaskName.java   |    0
 .../google/cloud/tasks/v2/TaskOrBuilder.java  |   95 +-
 .../com/google/cloud/tasks/v2/TaskProto.java  |  102 +
 .../cloud/tasks/v2/UpdateQueueRequest.java    |  436 ++--
 .../tasks/v2/UpdateQueueRequestOrBuilder.java |   34 +-
 .../google/cloud/tasks/v2/cloudtasks.proto    |    0
 .../proto/google/cloud/tasks/v2/queue.proto   |    0
 .../proto/google/cloud/tasks/v2/target.proto  |    0
 .../proto/google/cloud/tasks/v2/task.proto    |    0
 .../cloud/tasks/v2beta2/CloudTasksClient.java |   83 +-
 .../tasks/v2beta2/CloudTasksSettings.java     |   30 +-
 .../cloud/tasks/v2beta2/gapic_metadata.json   |    0
 .../cloud/tasks/v2beta2/package-info.java     |    0
 .../tasks/v2beta2/stub/CloudTasksStub.java    |    0
 .../v2beta2/stub/CloudTasksStubSettings.java  |   59 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../v2beta2/stub/GrpcCloudTasksStub.java      |    1 +
 .../HttpJsonCloudTasksCallableFactory.java    |  105 +
 .../v2beta2/stub/HttpJsonCloudTasksStub.java  | 1191 ++++++++++
 .../v2beta2/CloudTasksClientHttpJsonTest.java | 1966 +++++++++++++++++
 .../tasks/v2beta2/CloudTasksClientTest.java   |    0
 .../cloud/tasks/v2beta2/MockCloudTasks.java   |    0
 .../tasks/v2beta2/MockCloudTasksImpl.java     |    0
 .../cloud/tasks/v2beta2/CloudTasksGrpc.java   | 1823 ++++++---------
 .../tasks/v2beta2/AcknowledgeTaskRequest.java |  478 ++--
 .../AcknowledgeTaskRequestOrBuilder.java      |   52 +-
 .../tasks/v2beta2/AppEngineHttpRequest.java   |  772 +++----
 .../AppEngineHttpRequestOrBuilder.java        |   75 +-
 .../tasks/v2beta2/AppEngineHttpTarget.java    |  352 ++-
 .../v2beta2/AppEngineHttpTargetOrBuilder.java |   26 +-
 .../cloud/tasks/v2beta2/AppEngineRouting.java |  543 ++---
 .../v2beta2/AppEngineRoutingOrBuilder.java    |   54 +-
 .../cloud/tasks/v2beta2/AttemptStatus.java    |  623 ++----
 .../tasks/v2beta2/AttemptStatusOrBuilder.java |   50 +-
 .../tasks/v2beta2/CancelLeaseRequest.java     |  531 ++---
 .../v2beta2/CancelLeaseRequestOrBuilder.java  |   58 +-
 .../cloud/tasks/v2beta2/CloudTasksProto.java  |  462 ++++
 .../tasks/v2beta2/CreateQueueRequest.java     |  466 ++--
 .../v2beta2/CreateQueueRequestOrBuilder.java  |   52 +-
 .../tasks/v2beta2/CreateTaskRequest.java      |  517 ++---
 .../v2beta2/CreateTaskRequestOrBuilder.java   |   58 +-
 .../tasks/v2beta2/DeleteQueueRequest.java     |  339 ++-
 .../v2beta2/DeleteQueueRequestOrBuilder.java  |   31 +
 .../tasks/v2beta2/DeleteTaskRequest.java      |  336 ++-
 .../v2beta2/DeleteTaskRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta2/GetQueueRequest.java  |  453 ++--
 .../v2beta2/GetQueueRequestOrBuilder.java     |   52 +-
 .../cloud/tasks/v2beta2/GetTaskRequest.java   |  385 ++--
 .../v2beta2/GetTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta2/HttpMethod.java       |  103 +-
 .../tasks/v2beta2/LeaseTasksRequest.java      |  639 ++----
 .../v2beta2/LeaseTasksRequestOrBuilder.java   |   70 +-
 .../tasks/v2beta2/LeaseTasksResponse.java     |  380 ++--
 .../v2beta2/LeaseTasksResponseOrBuilder.java  |   37 +-
 .../tasks/v2beta2/ListQueuesRequest.java      |  652 +++---
 .../v2beta2/ListQueuesRequestOrBuilder.java   |   73 +-
 .../tasks/v2beta2/ListQueuesResponse.java     |  459 ++--
 .../v2beta2/ListQueuesResponseOrBuilder.java  |   46 +-
 .../cloud/tasks/v2beta2/ListTasksRequest.java |  501 ++---
 .../v2beta2/ListTasksRequestOrBuilder.java    |   53 +-
 .../tasks/v2beta2/ListTasksResponse.java      |  456 ++--
 .../v2beta2/ListTasksResponseOrBuilder.java   |   46 +-
 .../cloud/tasks/v2beta2/LocationName.java     |    0
 .../tasks/v2beta2/PauseQueueRequest.java      |  336 ++-
 .../v2beta2/PauseQueueRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta2/PullMessage.java      |  337 ++-
 .../tasks/v2beta2/PullMessageOrBuilder.java   |   30 +-
 .../cloud/tasks/v2beta2/PullTarget.java       |  225 +-
 .../tasks/v2beta2/PullTargetOrBuilder.java    |    9 +
 .../tasks/v2beta2/PurgeQueueRequest.java      |  336 ++-
 .../v2beta2/PurgeQueueRequestOrBuilder.java   |   31 +
 .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++-------
 .../google/cloud/tasks/v2beta2/QueueName.java |    0
 .../cloud/tasks/v2beta2/QueueOrBuilder.java   |  109 +-
 .../cloud/tasks/v2beta2/QueueProto.java       |  140 ++
 .../cloud/tasks/v2beta2/QueueStats.java       |  552 ++---
 .../tasks/v2beta2/QueueStatsOrBuilder.java    |   53 +-
 .../cloud/tasks/v2beta2/RateLimits.java       |  334 ++-
 .../tasks/v2beta2/RateLimitsOrBuilder.java    |   27 +-
 .../tasks/v2beta2/RenewLeaseRequest.java      |  664 ++----
 .../v2beta2/RenewLeaseRequestOrBuilder.java   |   75 +-
 .../tasks/v2beta2/ResumeQueueRequest.java     |  339 ++-
 .../v2beta2/ResumeQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2beta2/RetryConfig.java      |  690 +++---
 .../tasks/v2beta2/RetryConfigOrBuilder.java   |   57 +-
 .../cloud/tasks/v2beta2/RunTaskRequest.java   |  385 ++--
 .../v2beta2/RunTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta2/TargetProto.java      |  125 ++
 .../com/google/cloud/tasks/v2beta2/Task.java  |  986 +++------
 .../google/cloud/tasks/v2beta2/TaskName.java  |    0
 .../cloud/tasks/v2beta2/TaskOrBuilder.java    |   73 +-
 .../google/cloud/tasks/v2beta2/TaskProto.java |  116 +
 .../cloud/tasks/v2beta2/TaskStatus.java       |  487 ++--
 .../tasks/v2beta2/TaskStatusOrBuilder.java    |   40 +-
 .../tasks/v2beta2/UpdateQueueRequest.java     |  458 ++--
 .../v2beta2/UpdateQueueRequestOrBuilder.java  |   43 +-
 .../cloud/tasks/v2beta2/cloudtasks.proto      |    0
 .../google/cloud/tasks/v2beta2/queue.proto    |    0
 .../google/cloud/tasks/v2beta2/target.proto   |    0
 .../google/cloud/tasks/v2beta2/task.proto     |    0
 .../cloud/tasks/v2beta3/CloudTasksClient.java |   67 +-
 .../tasks/v2beta3/CloudTasksSettings.java     |   30 +-
 .../cloud/tasks/v2beta3/gapic_metadata.json   |    0
 .../cloud/tasks/v2beta3/package-info.java     |    0
 .../tasks/v2beta3/stub/CloudTasksStub.java    |    0
 .../v2beta3/stub/CloudTasksStubSettings.java  |   59 +-
 .../stub/GrpcCloudTasksCallableFactory.java   |    0
 .../v2beta3/stub/GrpcCloudTasksStub.java      |    1 +
 .../HttpJsonCloudTasksCallableFactory.java    |  105 +
 .../v2beta3/stub/HttpJsonCloudTasksStub.java  |  984 +++++++++
 .../v2beta3/CloudTasksClientHttpJsonTest.java | 1628 ++++++++++++++
 .../tasks/v2beta3/CloudTasksClientTest.java   |    0
 .../cloud/tasks/v2beta3/MockCloudTasks.java   |    0
 .../tasks/v2beta3/MockCloudTasksImpl.java     |    0
 .../cloud/tasks/v2beta3/CloudTasksGrpc.java   | 1473 +++++-------
 .../tasks/v2beta3/AppEngineHttpQueue.java     |  352 ++-
 .../v2beta3/AppEngineHttpQueueOrBuilder.java  |   26 +-
 .../tasks/v2beta3/AppEngineHttpRequest.java   |  772 +++----
 .../AppEngineHttpRequestOrBuilder.java        |   75 +-
 .../cloud/tasks/v2beta3/AppEngineRouting.java |  543 ++---
 .../v2beta3/AppEngineRoutingOrBuilder.java    |   54 +-
 .../google/cloud/tasks/v2beta3/Attempt.java   |  616 ++----
 .../cloud/tasks/v2beta3/AttemptOrBuilder.java |   50 +-
 .../cloud/tasks/v2beta3/CloudTasksProto.java  |  359 +++
 .../tasks/v2beta3/CreateQueueRequest.java     |  466 ++--
 .../v2beta3/CreateQueueRequestOrBuilder.java  |   52 +-
 .../tasks/v2beta3/CreateTaskRequest.java      |  517 ++---
 .../v2beta3/CreateTaskRequestOrBuilder.java   |   58 +-
 .../tasks/v2beta3/DeleteQueueRequest.java     |  339 ++-
 .../v2beta3/DeleteQueueRequestOrBuilder.java  |   31 +
 .../tasks/v2beta3/DeleteTaskRequest.java      |  336 ++-
 .../v2beta3/DeleteTaskRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta3/GetQueueRequest.java  |  453 ++--
 .../v2beta3/GetQueueRequestOrBuilder.java     |   52 +-
 .../cloud/tasks/v2beta3/GetTaskRequest.java   |  385 ++--
 .../v2beta3/GetTaskRequestOrBuilder.java      |   41 +-
 .../cloud/tasks/v2beta3/HttpMethod.java       |  117 +-
 .../cloud/tasks/v2beta3/HttpRequest.java      |  919 ++++----
 .../tasks/v2beta3/HttpRequestOrBuilder.java   |   86 +-
 .../tasks/v2beta3/ListQueuesRequest.java      |  652 +++---
 .../v2beta3/ListQueuesRequestOrBuilder.java   |   73 +-
 .../tasks/v2beta3/ListQueuesResponse.java     |  459 ++--
 .../v2beta3/ListQueuesResponseOrBuilder.java  |   46 +-
 .../cloud/tasks/v2beta3/ListTasksRequest.java |  501 ++---
 .../v2beta3/ListTasksRequestOrBuilder.java    |   53 +-
 .../tasks/v2beta3/ListTasksResponse.java      |  456 ++--
 .../v2beta3/ListTasksResponseOrBuilder.java   |   46 +-
 .../cloud/tasks/v2beta3/LocationName.java     |    0
 .../cloud/tasks/v2beta3/OAuthToken.java       |  380 ++--
 .../tasks/v2beta3/OAuthTokenOrBuilder.java    |   36 +-
 .../google/cloud/tasks/v2beta3/OidcToken.java |  377 ++--
 .../tasks/v2beta3/OidcTokenOrBuilder.java     |   36 +-
 .../tasks/v2beta3/PauseQueueRequest.java      |  336 ++-
 .../v2beta3/PauseQueueRequestOrBuilder.java   |   31 +
 .../cloud/tasks/v2beta3/PullMessage.java      |  337 ++-
 .../tasks/v2beta3/PullMessageOrBuilder.java   |   30 +-
 .../tasks/v2beta3/PurgeQueueRequest.java      |  336 ++-
 .../v2beta3/PurgeQueueRequestOrBuilder.java   |   31 +
 .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++--------
 .../google/cloud/tasks/v2beta3/QueueName.java |    0
 .../cloud/tasks/v2beta3/QueueOrBuilder.java   |  135 +-
 .../cloud/tasks/v2beta3/QueueProto.java       |  154 ++
 .../cloud/tasks/v2beta3/QueueStats.java       |  552 ++---
 .../tasks/v2beta3/QueueStatsOrBuilder.java    |   53 +-
 .../cloud/tasks/v2beta3/RateLimits.java       |  333 ++-
 .../tasks/v2beta3/RateLimitsOrBuilder.java    |   27 +-
 .../tasks/v2beta3/ResumeQueueRequest.java     |  339 ++-
 .../v2beta3/ResumeQueueRequestOrBuilder.java  |   31 +
 .../cloud/tasks/v2beta3/RetryConfig.java      |  583 ++---
 .../tasks/v2beta3/RetryConfigOrBuilder.java   |   48 +-
 .../cloud/tasks/v2beta3/RunTaskRequest.java   |  385 ++--
 .../v2beta3/RunTaskRequestOrBuilder.java      |   41 +-
 .../v2beta3/StackdriverLoggingConfig.java     |  278 +--
 .../StackdriverLoggingConfigOrBuilder.java    |   21 +-
 .../cloud/tasks/v2beta3/TargetProto.java      |  170 ++
 .../com/google/cloud/tasks/v2beta3/Task.java  | 1360 ++++--------
 .../google/cloud/tasks/v2beta3/TaskName.java  |    0
 .../cloud/tasks/v2beta3/TaskOrBuilder.java    |  103 +-
 .../google/cloud/tasks/v2beta3/TaskProto.java |  108 +
 .../tasks/v2beta3/UpdateQueueRequest.java     |  458 ++--
 .../v2beta3/UpdateQueueRequestOrBuilder.java  |   43 +-
 .../cloud/tasks/v2beta3/cloudtasks.proto      |    0
 .../google/cloud/tasks/v2beta3/queue.proto    |    0
 .../google/cloud/tasks/v2beta3/target.proto   |    0
 .../google/cloud/tasks/v2beta3/task.proto     |    0
 .../cloud/tasks/v2/CloudTasksProto.java       |  378 ----
 .../tasks/v2/DeleteQueueRequestOrBuilder.java |   56 -
 .../tasks/v2/DeleteTaskRequestOrBuilder.java  |   56 -
 .../tasks/v2/GetQueueRequestOrBuilder.java    |   56 -
 .../tasks/v2/PauseQueueRequestOrBuilder.java  |   56 -
 .../tasks/v2/PurgeQueueRequestOrBuilder.java  |   56 -
 .../com/google/cloud/tasks/v2/QueueProto.java |  146 --
 .../tasks/v2/ResumeQueueRequestOrBuilder.java |   56 -
 .../google/cloud/tasks/v2/TargetProto.java    |  177 --
 .../com/google/cloud/tasks/v2/TaskProto.java  |  129 --
 .../cloud/tasks/v2beta2/CloudTasksProto.java  |  496 -----
 .../v2beta2/DeleteQueueRequestOrBuilder.java  |   56 -
 .../v2beta2/DeleteTaskRequestOrBuilder.java   |   56 -
 .../v2beta2/PauseQueueRequestOrBuilder.java   |   56 -
 .../tasks/v2beta2/PullTargetOrBuilder.java    |   24 -
 .../v2beta2/PurgeQueueRequestOrBuilder.java   |   56 -
 .../cloud/tasks/v2beta2/QueueProto.java       |  178 --
 .../v2beta2/ResumeQueueRequestOrBuilder.java  |   56 -
 .../cloud/tasks/v2beta2/TargetProto.java      |  145 --
 .../google/cloud/tasks/v2beta2/TaskProto.java |  143 --
 .../cloud/tasks/v2beta3/CloudTasksProto.java  |  388 ----
 .../v2beta3/DeleteQueueRequestOrBuilder.java  |   56 -
 .../v2beta3/DeleteTaskRequestOrBuilder.java   |   56 -
 .../v2beta3/PauseQueueRequestOrBuilder.java   |   56 -
 .../v2beta3/PurgeQueueRequestOrBuilder.java   |   56 -
 .../cloud/tasks/v2beta3/QueueProto.java       |  188 --
 .../v2beta3/ResumeQueueRequestOrBuilder.java  |   56 -
 .../cloud/tasks/v2beta3/TargetProto.java      |  201 --
 .../google/cloud/tasks/v2beta3/TaskProto.java |  136 --
 284 files changed, 31468 insertions(+), 37528 deletions(-)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (92%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (93%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%)
 create mode 100644 owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java
 create mode 100644 owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java
 create mode 100644 owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2 => owl-bot-staging/v2/grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%)
 create mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%)
 rename {proto-google-cloud-tasks-v2 => owl-bot-staging/v2/proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (93%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (93%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%)
 create mode 100644 owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java
 create mode 100644 owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java
 create mode 100644 owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta2/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%)
 create mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%)
 rename {proto-google-cloud-tasks-v2beta2 => owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (92%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (93%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%)
 create mode 100644 owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java
 create mode 100644 owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java
 create mode 100644 owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%)
 rename {google-cloud-tasks => owl-bot-staging/v2beta3/google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%)
 rename {grpc-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%)
 create mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%)
 rename {proto-google-cloud-tasks-v2beta3 => owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%)
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java
 delete mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java

diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
index faa80fe8..f4597d41 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
+++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java
@@ -64,13 +64,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -105,6 +105,20 @@ * CloudTasksClient cloudTasksClient = CloudTasksClient.create(cloudTasksSettings); * }
* + *

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") @@ -1177,7 +1191,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1212,7 +1226,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1244,7 +1258,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1269,10 +1283,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1282,7 +1292,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1318,7 +1328,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1361,7 +1371,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1401,7 +1411,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1427,10 +1437,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1443,7 +1449,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1580,11 +1586,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1903,7 +1904,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1962,7 +1963,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2018,7 +2019,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2050,7 +2051,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2398,10 +2399,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2448,10 +2446,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 92% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index 433cfa77..45fc5a78 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java @@ -24,10 +24,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2.stub.CloudTasksStubSettings; @@ -48,9 +50,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -184,11 +186,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return CloudTasksStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return CloudTasksStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return CloudTasksStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return CloudTasksStubSettings.defaultTransportChannelProvider(); } @@ -198,11 +207,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return CloudTasksStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -240,6 +255,11 @@ private static Builder createDefault() { return new Builder(CloudTasksStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(CloudTasksStubSettings.newHttpJsonBuilder()); + } + public CloudTasksStubSettings.Builder getStubSettingsBuilder() { return ((CloudTasksStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 93% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index 53e34f71..4f71f2eb 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -80,9 +83,9 @@ *

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

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

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

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonCloudTasksCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java new file mode 100644 index 00000000..79109ceb --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java @@ -0,0 +1,982 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2.stub; + +import static com.google.cloud.tasks.v2.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.tasks.v2.CreateQueueRequest; +import com.google.cloud.tasks.v2.CreateTaskRequest; +import com.google.cloud.tasks.v2.DeleteQueueRequest; +import com.google.cloud.tasks.v2.DeleteTaskRequest; +import com.google.cloud.tasks.v2.GetQueueRequest; +import com.google.cloud.tasks.v2.GetTaskRequest; +import com.google.cloud.tasks.v2.ListQueuesRequest; +import com.google.cloud.tasks.v2.ListQueuesResponse; +import com.google.cloud.tasks.v2.ListTasksRequest; +import com.google.cloud.tasks.v2.ListTasksResponse; +import com.google.cloud.tasks.v2.PauseQueueRequest; +import com.google.cloud.tasks.v2.PurgeQueueRequest; +import com.google.cloud.tasks.v2.Queue; +import com.google.cloud.tasks.v2.ResumeQueueRequest; +import com.google.cloud.tasks.v2.RunTaskRequest; +import com.google.cloud.tasks.v2.Task; +import com.google.cloud.tasks.v2.UpdateQueueRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the CloudTasks service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonCloudTasksStub extends CloudTasksStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listQueuesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/ListQueues") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListQueuesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/GetQueue") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/CreateQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/UpdateQueue") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{queue.name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "queue.name", request.getQueue().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/DeleteQueue") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor purgeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/PurgeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*}:purge", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor pauseQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/PauseQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*}:pause", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor resumeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/ResumeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*}:resume", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/GetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listTasksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/ListTasks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam( + fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListTasksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/GetTask") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/CreateTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/DeleteTask") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor runTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2.CloudTasks/RunTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listQueuesCallable; + private final UnaryCallable listQueuesPagedCallable; + private final UnaryCallable getQueueCallable; + private final UnaryCallable createQueueCallable; + private final UnaryCallable updateQueueCallable; + private final UnaryCallable deleteQueueCallable; + private final UnaryCallable purgeQueueCallable; + private final UnaryCallable pauseQueueCallable; + private final UnaryCallable resumeQueueCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable listTasksCallable; + private final UnaryCallable listTasksPagedCallable; + private final UnaryCallable getTaskCallable; + private final UnaryCallable createTaskCallable; + private final UnaryCallable deleteTaskCallable; + private final UnaryCallable runTaskCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonCloudTasksStub create(CloudTasksStubSettings settings) + throws IOException { + return new HttpJsonCloudTasksStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonCloudTasksStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonCloudTasksStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonCloudTasksCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub( + CloudTasksStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings listQueuesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listQueuesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings purgeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(purgeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pauseQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pauseQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings resumeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resumeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listTasksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listTasksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings runTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(runTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listQueuesCallable = + callableFactory.createUnaryCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.listQueuesPagedCallable = + callableFactory.createPagedCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.getQueueCallable = + callableFactory.createUnaryCallable( + getQueueTransportSettings, settings.getQueueSettings(), clientContext); + this.createQueueCallable = + callableFactory.createUnaryCallable( + createQueueTransportSettings, settings.createQueueSettings(), clientContext); + this.updateQueueCallable = + callableFactory.createUnaryCallable( + updateQueueTransportSettings, settings.updateQueueSettings(), clientContext); + this.deleteQueueCallable = + callableFactory.createUnaryCallable( + deleteQueueTransportSettings, settings.deleteQueueSettings(), clientContext); + this.purgeQueueCallable = + callableFactory.createUnaryCallable( + purgeQueueTransportSettings, settings.purgeQueueSettings(), clientContext); + this.pauseQueueCallable = + callableFactory.createUnaryCallable( + pauseQueueTransportSettings, settings.pauseQueueSettings(), clientContext); + this.resumeQueueCallable = + callableFactory.createUnaryCallable( + resumeQueueTransportSettings, settings.resumeQueueSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.listTasksCallable = + callableFactory.createUnaryCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.listTasksPagedCallable = + callableFactory.createPagedCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.getTaskCallable = + callableFactory.createUnaryCallable( + getTaskTransportSettings, settings.getTaskSettings(), clientContext); + this.createTaskCallable = + callableFactory.createUnaryCallable( + createTaskTransportSettings, settings.createTaskSettings(), clientContext); + this.deleteTaskCallable = + callableFactory.createUnaryCallable( + deleteTaskTransportSettings, settings.deleteTaskSettings(), clientContext); + this.runTaskCallable = + callableFactory.createUnaryCallable( + runTaskTransportSettings, settings.runTaskSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listQueuesMethodDescriptor); + methodDescriptors.add(getQueueMethodDescriptor); + methodDescriptors.add(createQueueMethodDescriptor); + methodDescriptors.add(updateQueueMethodDescriptor); + methodDescriptors.add(deleteQueueMethodDescriptor); + methodDescriptors.add(purgeQueueMethodDescriptor); + methodDescriptors.add(pauseQueueMethodDescriptor); + methodDescriptors.add(resumeQueueMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(listTasksMethodDescriptor); + methodDescriptors.add(getTaskMethodDescriptor); + methodDescriptors.add(createTaskMethodDescriptor); + methodDescriptors.add(deleteTaskMethodDescriptor); + methodDescriptors.add(runTaskMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listQueuesCallable() { + return listQueuesCallable; + } + + @Override + public UnaryCallable listQueuesPagedCallable() { + return listQueuesPagedCallable; + } + + @Override + public UnaryCallable getQueueCallable() { + return getQueueCallable; + } + + @Override + public UnaryCallable createQueueCallable() { + return createQueueCallable; + } + + @Override + public UnaryCallable updateQueueCallable() { + return updateQueueCallable; + } + + @Override + public UnaryCallable deleteQueueCallable() { + return deleteQueueCallable; + } + + @Override + public UnaryCallable purgeQueueCallable() { + return purgeQueueCallable; + } + + @Override + public UnaryCallable pauseQueueCallable() { + return pauseQueueCallable; + } + + @Override + public UnaryCallable resumeQueueCallable() { + return resumeQueueCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable listTasksCallable() { + return listTasksCallable; + } + + @Override + public UnaryCallable listTasksPagedCallable() { + return listTasksPagedCallable; + } + + @Override + public UnaryCallable getTaskCallable() { + return getTaskCallable; + } + + @Override + public UnaryCallable createTaskCallable() { + return createTaskCallable; + } + + @Override + public UnaryCallable deleteTaskCallable() { + return deleteTaskCallable; + } + + @Override + public UnaryCallable runTaskCallable() { + return runTaskCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java new file mode 100644 index 00000000..d9613017 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java @@ -0,0 +1,1602 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2; + +import static com.google.cloud.tasks.v2.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.tasks.v2.stub.HttpJsonCloudTasksStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class CloudTasksClientHttpJsonTest { + private static MockHttpService mockService; + private static CloudTasksClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonCloudTasksStub.getMethodDescriptors(), CloudTasksSettings.getDefaultEndpoint()); + CloudTasksSettings settings = + CloudTasksSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + CloudTasksSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = CloudTasksClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listQueuesTest() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listQueuesTest2() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Queue actualResponse = client.updateQueue(queue, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateQueue(queue, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setAppEngineRoutingOverride(AppEngineRouting.newBuilder().build()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest2() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index 7ce92264..e774c26c 100644 --- a/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,733 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListQueuesRequest,
-            com.google.cloud.tasks.v2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -776,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -801,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -824,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -841,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -859,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -882,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -902,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -923,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -942,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -963,43 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1007,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1038,167 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, + com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1212,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1239,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1264,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1283,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1302,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1326,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1348,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1371,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1392,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1415,46 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1462,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1494,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1503,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1523,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1565,15 +1283,12 @@ public com.google.cloud.tasks.v2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue( - com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1589,15 +1304,12 @@ public com.google.cloud.tasks.v2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue( - com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1611,15 +1323,12 @@ public com.google.cloud.tasks.v2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1627,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue( - com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1645,15 +1351,12 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue( - com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1668,15 +1371,12 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue( - com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1693,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1712,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1723,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1742,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,15 +1470,12 @@ public com.google.cloud.tasks.v2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1817,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask( - com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1887,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1911,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1933,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1949,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1967,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1990,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2009,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -2029,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2047,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -2067,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2119,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2143,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2167,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2185,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2283,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2327,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
similarity index 82%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
index bb0cf20e..6f52ba89 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -75,16 +58,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -93,15 +75,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -121,62 +104,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -184,44 +161,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -260,22 +230,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -285,7 +250,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -293,8 +257,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -304,18 +266,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -334,8 +291,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -345,7 +300,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -354,15 +308,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -372,15 +325,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -389,23 +343,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -414,8 +369,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -454,22 +407,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -509,12 +462,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -554,16 +506,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -603,11 +555,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -617,8 +570,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -626,7 +577,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -635,7 +585,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -647,7 +596,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 (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -657,8 +607,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -672,26 +626,29 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -701,22 +658,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -747,104 +707,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -899,43 +852,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -943,15 +896,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -972,9 +926,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -993,8 +947,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1014,39 +967,38 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1065,7 +1017,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1097,13 +1050,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1118,16 +1068,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1088,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1169,19 +1112,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1196,7 +1135,6 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1204,14 +1142,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1226,11 +1162,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1238,13 +1173,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1254,15 +1184,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1272,21 +1199,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1311,8 +1233,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1335,8 +1255,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1351,9 +1269,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1365,8 +1281,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1389,8 +1303,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1402,13 +1314,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1423,14 +1333,11 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1442,17 +1349,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1460,8 +1364,6 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1471,13 +1373,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1486,8 +1388,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1497,14 +1397,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1512,8 +1413,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1523,22 +1422,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1548,18 +1445,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1569,36 +1463,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1610,8 +1505,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1650,22 +1543,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1705,12 +1598,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1750,17 +1642,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1800,11 +1691,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1812,12 +1704,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1856,21 +1747,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1909,20 +1802,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1961,15 +1853,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1977,7 +1870,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1985,8 +1877,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1994,22 +1884,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2017,18 +1904,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2038,12 +1924,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -2052,16 +1938,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2076,4 +1962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index e2387d20..f388450e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,13 +22,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -61,14 +40,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -78,13 +54,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -94,13 +67,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -114,8 +84,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -125,13 +93,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -141,14 +106,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -189,8 +152,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -229,13 +190,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,10 +237,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -318,13 +280,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -363,11 +323,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -375,7 +335,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 2a3556d6..8600381d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -43,16 +26,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -62,15 +44,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -89,41 +72,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,33 +110,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -176,7 +151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -185,15 +159,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -212,15 +185,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -231,8 +205,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -251,7 +223,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -260,15 +231,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -287,15 +257,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -306,8 +277,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,7 +292,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -332,15 +300,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -356,15 +323,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -375,8 +343,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -390,7 +356,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -399,15 +364,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -421,15 +385,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -438,7 +403,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -492,18 +457,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.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = - (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -528,104 +496,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -648,23 +609,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -672,15 +631,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -696,9 +656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -717,8 +677,7 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -731,39 +690,38 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +777,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -839,13 +795,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -854,8 +810,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -874,14 +828,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -889,8 +844,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -909,22 +862,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -943,18 +894,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -973,16 +921,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -990,8 +938,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1010,13 +956,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1025,8 +971,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,14 +989,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1060,8 +1005,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1080,22 +1023,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1114,18 +1055,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1082,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,8 +1099,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1178,13 +1114,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1193,8 +1129,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1210,14 +1144,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1225,8 +1160,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1242,22 +1175,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,18 +1204,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1300,16 +1228,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1317,8 +1245,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,13 +1258,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1347,8 +1273,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1362,14 +1286,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1377,8 +1302,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1392,22 +1315,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1421,18 +1342,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1446,23 +1364,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1390,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1486,16 +1404,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 9399556f..2ff33a52 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 95c7a78e..17ae3099 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,126 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, - com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -606,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -696,39 +633,38 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); } else { super.mergeFrom(other); return this; @@ -780,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -844,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -853,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -864,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -877,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -891,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -912,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -922,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -940,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -956,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -974,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1038,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1047,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1058,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1071,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1085,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1106,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1116,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1134,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1150,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1168,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1232,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1241,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1252,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1265,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1279,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1300,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1310,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1328,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1344,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1362,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1374,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1390,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1427,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1437,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1448,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1462,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1474,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1496,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1507,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1526,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1543,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1568,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1582,16 +1404,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1606,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 3b1276d7..9dab7f1d 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..ff95f089
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,349 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
+      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
+      "tations.proto\032\027google/api/client.proto\032\037" +
+      "google/api/field_behavior.proto\032\031google/" +
+      "api/resource.proto\032!google/cloud/tasks/v" +
+      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
+      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
+      "\032google/iam/v1/policy.proto\032\033google/prot" +
+      "obuf/empty.proto\032 google/protobuf/field_" +
+      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
+      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
+      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
+      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
+      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
+      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
+      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
+      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
+      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
+      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
+      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
+      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
+      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
+      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
+      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
+      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
+      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
+      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
+      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
+      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
+      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
+      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
+      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
+      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
+      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
+      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
+      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
+      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
+      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
+      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
+      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
+      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
+      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
+      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
+      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
+      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
+      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
+      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
+      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
+      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
+      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
+      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
+      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
+      ".google.cloud.tasks.v2.ListQueuesRespons" +
+      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
+      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
+      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
+      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
+      "name=projects/*/locations/*/queues/*}\332A\004" +
+      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
+      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
+      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
+      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
+      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
+      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
+      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
+      "e=projects/*/locations/*/queues/*}:\005queu" +
+      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
+      "google.cloud.tasks.v2.DeleteQueueRequest" +
+      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
+      "ame=projects/*/locations/*/queues/*}\332A\004n" +
+      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
+      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
+      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
+      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
+      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
+      "useQueueRequest\032\034.google.cloud.tasks.v2." +
+      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
+      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
+      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
+      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
+      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
+      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
+      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
+      "/{resource=projects/*/locations/*/queues" +
+      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
+      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
+      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
+      "{resource=projects/*/locations/*/queues/" +
+      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
+      "\022TestIamPermissions\022(.google.iam.v1.Test" +
+      "IamPermissionsRequest\032).google.iam.v1.Te" +
+      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
+      "esource=projects/*/locations/*/queues/*}" +
+      ":testIamPermissions:\001*\332A\024resource,permis" +
+      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
+      ".v2.ListTasksRequest\032(.google.cloud.task" +
+      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
+      "ent=projects/*/locations/*/queues/*}/tas" +
+      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
+      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
+      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
+      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
+      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
+      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
+      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
+      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
+      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
+      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
+      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
+      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
+      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
+      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
+      "v2/{name=projects/*/locations/*/queues/*" +
+      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
+      "oogleapis.com\322A.https://www.googleapis.c" +
+      "om/auth/cloud-platformBr\n\031com.google.clo" +
+      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
+      "olang.org/genproto/googleapis/cloud/task" +
+      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 3e89e7dc..34472349 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -141,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -153,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -170,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -192,15 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -208,15 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -224,8 +189,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -239,7 +202,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -251,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_);
     }
@@ -271,7 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -281,18 +245,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.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other =
-        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -316,127 +281,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, - com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -444,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -489,8 +446,7 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = - new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -505,39 +461,38 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -584,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -594,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -622,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -640,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -650,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -677,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -700,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -720,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -761,15 +685,12 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -785,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -806,21 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -832,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -854,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -926,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -940,16 +842,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -964,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index b858724d..e3735d95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,43 +29,33 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 10c558c1..377596da 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,41 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -158,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -195,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -229,7 +198,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ @java.lang.Override @@ -237,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -271,7 +237,6 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ @java.lang.Override @@ -279,8 +244,6 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -322,8 +285,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -338,16 +299,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -362,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +339,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_); } @@ -409,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,18 +378,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.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = - (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -460,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, - com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -588,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -635,8 +584,7 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = - new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -652,39 +600,38 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -734,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -760,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -786,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -860,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -899,15 +821,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -940,7 +859,6 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -951,8 +869,6 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1000,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1035,7 +949,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(
+        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -1046,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1084,7 +997,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ =
+            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1096,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1143,8 +1055,6 @@ public Builder clearTask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1179,13 +1089,11 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-
+      
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1223,12 +1131,11 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ?
+            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1263,17 +1170,14 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task,
-            com.google.cloud.tasks.v2.Task.Builder,
-            com.google.cloud.tasks.v2.TaskOrBuilder>
+        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Task,
-                com.google.cloud.tasks.v2.Task.Builder,
-                com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(), getParentForChildren(), isClean());
+        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(),
+                getParentForChildren(),
+                isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1281,8 +1185,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
-     *
-     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1297,16 +1199,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1321,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1348,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1375,7 +1266,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1383,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1405,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1426,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1440,16 +1327,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1464,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 6ec3193b..56bc4ce8 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -91,13 +64,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,13 +100,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -173,8 +140,6 @@ public interface CreateTaskRequestOrBuilder
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -189,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -210,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 40511a70..2ffa4e95 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c9b6525f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index a62eb1e2..5dad49b9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -632,16 +575,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..29a262ab --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index 2e4dccd2..d0e5bb3b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = - (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, - com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = - new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..7612fed1 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 7e12b47b..765d0a75 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,14 +237,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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, - com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -430,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -471,8 +428,7 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = - new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -483,39 +439,38 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -562,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -587,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -612,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -683,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -723,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -750,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -777,7 +699,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -785,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -807,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -828,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -842,16 +760,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index 2be6f178..abab1ec9 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index 951743a2..a993ae79 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 84b5b41e..9bda9f38 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.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/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,80 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -175,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class,
-            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -235,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -271,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -280,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -300,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -319,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto - .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -378,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -406,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -482,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -519,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -533,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -543,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -553,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -565,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -573,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -585,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -612,15 +555,13 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -632,7 +573,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -640,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -653,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -681,13 +616,12 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -699,15 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -730,30 +669,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -763,24 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -823,103 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -947,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class,
-              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -991,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1016,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1037,8 +976,7 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result =
-          new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1068,39 +1006,38 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1116,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1164,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1183,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1196,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1211,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1224,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1239,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1252,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1279,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1302,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1319,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = - com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1385,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1434,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1462,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1505,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1538,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1576,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1588,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1620,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1661,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1701,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1718,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1726,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1736,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1760,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, - com.google.cloud.tasks.v2.OAuthToken.Builder, - com.google.cloud.tasks.v2.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1788,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1796,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1808,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1826,8 +1717,6 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1853,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1866,7 +1753,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(
+        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1877,8 +1765,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1892,13 +1778,10 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builde
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1914,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1944,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1961,8 +1840,6 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1986,8 +1863,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2000,38 +1875,27 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken,
-            com.google.cloud.tasks.v2.OAuthToken.Builder,
-            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OAuthToken,
-                com.google.cloud.tasks.v2.OAuthToken.Builder,
-                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2043,7 +1907,6 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2051,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2064,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2082,8 +1942,6 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2110,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2124,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2135,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2151,13 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderF
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2173,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2204,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2222,8 +2070,6 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2248,8 +2094,6 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2263,32 +2107,26 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken,
-            com.google.cloud.tasks.v2.OidcToken.Builder,
-            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.OidcToken,
-                com.google.cloud.tasks.v2.OidcToken.Builder,
-                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2298,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2312,16 +2150,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2336,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 08196f38..2c4c0073 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.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/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 9855ecb3..3c80d743 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -207,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -216,15 +184,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -238,15 +205,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -257,8 +225,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -269,7 +235,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -280,8 +245,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -293,7 +256,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -302,15 +264,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -322,15 +283,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -339,7 +301,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +312,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_); } @@ -380,7 +342,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -393,18 +356,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.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = - (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,127 +395,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, - com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -557,15 +514,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -602,8 +560,7 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = - new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -616,39 +573,38 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -703,23 +659,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -728,24 +680,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -753,70 +702,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -824,8 +760,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -839,13 +773,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -854,8 +788,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -869,14 +801,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -884,8 +817,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -899,22 +830,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -928,18 +857,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -953,25 +879,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -982,7 +906,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -990,8 +913,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1002,19 +923,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1025,11 +943,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1037,8 +954,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1050,13 +965,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1065,8 +980,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1078,14 +991,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1093,8 +1007,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1106,22 +1018,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,18 +1043,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1156,23 +1063,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1196,16 +1103,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,4 +1127,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index e9d4dd0b..f57a7c9d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,8 +107,8 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 7adf33da..98bdc543 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -112,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -144,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -153,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -171,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -184,8 +155,6 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -193,15 +162,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +180,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -240,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -257,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -286,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = - (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, - com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -459,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -506,8 +466,7 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = - new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +486,38 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -586,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -627,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -663,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -679,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -695,15 +641,14 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,15 +662,14 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -736,8 +680,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -758,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -799,15 +739,14 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -818,8 +757,6 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder buil return this; } /** - * - * *
      * The list of queues.
      * 
@@ -830,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -838,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -857,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -876,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +850,6 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { } } /** - * - * *
      * The list of queues.
      * 
@@ -930,47 +857,42 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -978,8 +900,6 @@ public java.util.List getQueuesBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -990,13 +910,13 @@ public java.util.List getQueuesBuilderL
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1005,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1044,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1070,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1092,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1132,16 +1044,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index c1eb25f0..a1063d15 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 595074bb..83b5f61e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = - (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, - com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = - new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -691,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -716,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -741,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -812,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -828,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -852,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -879,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -906,7 +823,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -914,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -936,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -960,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -968,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -980,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1003,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1015,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1043,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1056,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1071,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1084,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1111,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1134,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1160,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1174,16 +1068,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index 16d5eabb..fc372464 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 8bcc41f0..6249890a 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -112,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -144,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -153,12 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -170,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -183,8 +155,6 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -192,15 +162,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -210,7 +179,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -237,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +233,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)); } @@ -283,7 +251,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_); @@ -296,16 +265,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.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = - (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, - com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -456,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -503,8 +464,7 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = - new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +484,38 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -583,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -624,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -660,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -676,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -692,15 +639,14 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,15 +660,14 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -733,8 +678,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -755,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -796,15 +737,14 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -815,8 +755,6 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builde return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -827,7 +765,8 @@ 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); @@ -835,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -854,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -873,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +848,6 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { } } /** - * - * *
      * The list of tasks.
      * 
@@ -927,46 +855,42 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, - com.google.cloud.tasks.v2.Task.Builder, - com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -974,8 +898,6 @@ public java.util.List getTasksBuilderLis private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,13 +907,13 @@ public java.util.List getTasksBuilderLis
      * 
* * 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; @@ -1000,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1011,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1037,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1062,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1083,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1123,16 +1037,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index f5568056..1a7b2758 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index 1d13e2be..a34434b6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class,
-            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -412,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class,
-              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -436,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -488,39 +456,38 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -579,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -594,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -605,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -620,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -631,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -656,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -677,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -694,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -718,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -727,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -742,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -751,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -774,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -793,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -833,16 +780,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index 045cc073..b5bbd9b4 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 982de06e..94722f69 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto
-        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class,
-            com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -414,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class,
-              com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -438,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto
-          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +458,38 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -581,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -596,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -607,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -622,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -633,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -658,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -679,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -696,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -719,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -742,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -830,16 +777,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index fb4dbd64..af8fcaf6 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 756d588f..48f8d6af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = - (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, - com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = - new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..8258f7dd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index ec7b1df4..b5af3f22 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9b02b696 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 7bbe29d9..68767a57 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,107 +56,90 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
+            }
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 74: {
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -181,40 +147,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -223,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -239,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -251,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -274,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -284,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -300,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -312,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,6 +280,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -356,51 +305,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -420,8 +368,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -442,7 +388,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -451,15 +396,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -480,15 +424,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 { @@ -499,8 +444,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -514,7 +457,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -522,8 +464,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -537,18 +477,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -564,16 +499,13 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -598,7 +530,6 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -606,8 +537,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -632,18 +561,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -677,8 +601,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -692,7 +614,6 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -700,8 +621,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -715,18 +634,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -749,8 +663,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -761,16 +673,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -781,22 +689,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -809,7 +712,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -817,8 +719,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -831,7 +731,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ @java.lang.Override @@ -839,8 +738,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -862,8 +759,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -871,7 +766,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -879,8 +773,6 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -888,18 +780,13 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -909,13 +796,11 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -927,7 +812,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_);
     }
@@ -962,26 +848,28 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              9, getStackdriverLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -991,34 +879,40 @@ 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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits().equals(other.getRateLimits())) return false;
+      if (!getRateLimits()
+          .equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig()
+          .equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime()
+          .equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig()
+          .equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1060,103 +954,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1165,20 +1053,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1188,15 +1075,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1238,9 +1126,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1295,39 +1183,38 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1389,8 +1276,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1411,13 +1296,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; @@ -1426,8 +1311,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1448,14 +1331,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 { @@ -1463,8 +1347,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1485,22 +1367,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1521,18 +1401,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1553,16 +1430,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; @@ -1570,13 +1447,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, - com.google.cloud.tasks.v2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> - appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1590,15 +1462,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1612,21 +1481,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1655,8 +1519,6 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1683,8 +1545,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1703,9 +1563,7 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1717,8 +1575,6 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1745,8 +1601,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1762,13 +1616,11 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1783,19 +1635,15 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1811,17 +1659,14 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting,
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineRouting,
-                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1829,13 +1674,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1860,15 +1700,12 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1893,21 +1730,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1947,8 +1779,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1974,7 +1804,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(
+        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1985,8 +1816,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2016,9 +1845,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2030,8 +1857,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2069,8 +1894,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2097,13 +1920,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2133,14 +1954,11 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -2167,17 +1985,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits,
-            com.google.cloud.tasks.v2.RateLimits.Builder,
-            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RateLimits,
-                com.google.cloud.tasks.v2.RateLimits.Builder,
-                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2185,13 +2000,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2205,15 +2015,12 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2227,21 +2034,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2270,8 +2072,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2286,7 +2086,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(
+        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2297,8 +2098,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2317,9 +2116,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2331,8 +2128,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2359,8 +2154,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2376,13 +2169,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2401,14 +2192,11 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2424,17 +2212,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig,
-            com.google.cloud.tasks.v2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.RetryConfig,
-                com.google.cloud.tasks.v2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2442,8 +2227,6 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2454,16 +2237,12 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2474,19 +2253,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2497,19 +2273,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = - com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2520,7 +2292,6 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2528,14 +2299,12 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2546,11 +2315,10 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2558,13 +2326,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2577,15 +2340,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2598,7 +2358,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2609,8 +2368,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2638,8 +2395,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2653,7 +2408,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2664,8 +2420,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2683,7 +2437,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2695,8 +2449,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2722,8 +2474,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2738,13 +2488,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2762,12 +2510,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2782,17 +2529,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2800,13 +2544,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2814,15 +2553,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2830,21 +2566,16 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2853,8 +2584,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2868,8 +2598,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2890,8 +2618,6 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2900,15 +2626,11 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
-                      stackdriverLoggingConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2920,8 +2642,6 @@ public Builder mergeStackdriverLoggingConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2942,8 +2662,6 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2952,15 +2670,12 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
-        getStackdriverLoggingConfigBuilder() {
-
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
+      
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2969,19 +2684,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-        getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null
-            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
-            : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null ?
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2991,24 +2702,21 @@ public Builder clearStackdriverLoggingConfig() {
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
-                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
+        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(),
+                getParentForChildren(),
+                isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
-
     @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);
     }
 
@@ -3018,12 +2726,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -3032,16 +2740,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Queue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Queue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Queue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Queue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3056,4 +2764,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index b88abb66..178b4959 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder
-    extends
+public interface QueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -94,13 +71,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -114,13 +88,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -138,8 +109,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -164,13 +133,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -195,13 +161,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; - * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -230,8 +193,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -245,13 +206,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -265,13 +223,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; - * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -289,8 +244,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -301,13 +254,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -318,14 +268,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; - * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -338,13 +285,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -357,13 +301,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 6; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -380,8 +321,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -389,13 +328,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -403,13 +339,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; - * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -418,6 +351,5 @@ public interface QueueOrBuilder
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
-      getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..dac47c22
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+  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_tasks_v2_Queue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" +
+      "gle.cloud.tasks.v2\032\031google/api/resource." +
+      "proto\032\"google/cloud/tasks/v2/target.prot" +
+      "o\032\036google/protobuf/duration.proto\032\037googl" +
+      "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" +
+      "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" +
+      "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" +
+      "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" +
+      "loud.tasks.v2.RateLimits\0228\n\014retry_config" +
+      "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" +
+      "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" +
+      "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" +
+      "le.protobuf.Timestamp\022S\n\032stackdriver_log" +
+      "ging_config\030\t \001(\0132/.google.cloud.tasks.v" +
+      "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" +
+      "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" +
+      "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" +
+      "eapis.com/Queue\0226projects/{project}/loca" +
+      "tions/{location}/queues/{queue}\"j\n\nRateL" +
+      "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" +
+      "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" +
+      "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" +
+      "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" +
+      "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" +
+      "backoff\030\003 \001(\0132\031.google.protobuf.Duration" +
+      "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." +
+      "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" +
+      "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " +
+      "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" +
+      "rotoP\001Z:google.golang.org/genproto/googl" +
+      "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_Queue_descriptor,
+        new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+        new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+        new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+        new java.lang.String[] { "SamplingRatio", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index ecc9472c..1cdb7fca 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.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/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
- *
- *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class,
-            com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -139,7 +119,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -150,8 +129,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,7 +244,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -276,9 +252,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -291,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -304,103 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -411,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class,
-              com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -435,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -490,39 +460,38 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -584,7 +551,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -592,8 +558,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -605,19 +569,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -629,20 +590,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -675,7 +633,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -683,8 +640,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -717,19 +672,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -762,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -790,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -798,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -814,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -841,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -862,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -876,16 +818,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -900,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 838dcb63..5e4df2aa 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -37,14 +19,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 619044c3..62f9f735 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b3d492e7 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 27cfb35c..7e5e827d 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class,
-            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,27 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -575,103 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -679,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class,
-              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -703,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -741,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -762,8 +709,7 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result =
-          new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -789,39 +735,38 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -874,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -892,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -900,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -916,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -943,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -955,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -979,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1005,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1052,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1072,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1083,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1107,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1121,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1153,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1174,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1203,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1230,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1248,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1270,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1294,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1339,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1357,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1368,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1390,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1402,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1432,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1451,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1478,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1503,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1521,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1543,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1567,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1612,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1630,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1641,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1663,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1675,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1705,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1724,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1751,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1776,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1821,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1829,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1856,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1894,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1915,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1929,16 +1770,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1953,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index adf90087..08f2f02e 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 27d0ddda..0755fef1 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,14 +238,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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -408,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -432,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -473,8 +430,7 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -485,39 +441,38 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -589,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -614,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -685,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -725,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -752,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -779,7 +701,6 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -787,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -809,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -830,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -844,16 +762,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index bf13da8d..6685e46f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 112d7577..9e7b6ced 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto
-        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,113 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -304,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -328,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto
-          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -367,8 +337,7 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -378,39 +347,38 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -418,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -442,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -453,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -465,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -473,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -483,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -504,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -525,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -539,16 +496,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -563,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index af110ade..90dc354b 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.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/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..3e829b7e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index 62fb0dd0..a34f293f 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/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/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,145 +54,128 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = - ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 2; - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); - } - messageType_ = - input.readMessage( - com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); - } - messageTypeCase_ = 3; - break; + messageTypeCase_ = 2; + break; + } + case 26: { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + messageType_ = + input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + messageTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 56: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 64: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); } - case 82: - { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - - break; + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 88: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 56: { + + dispatchCount_ = input.readInt32(); + break; + } + case 64: { + + responseCount_ = input.readInt32(); + break; + } + case 74: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 88: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -217,30 +183,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -252,10 +215,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -264,8 +226,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -280,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -296,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -306,8 +262,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -322,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -335,6 +287,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -359,49 +312,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -420,16 +373,13 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
-
   public enum MessageTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
-
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -445,31 +395,26 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 3:
-          return HTTP_REQUEST;
-        case 0:
-          return MESSAGETYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return APP_ENGINE_HTTP_REQUEST;
+        case 3: return HTTP_REQUEST;
+        case 0: return MESSAGETYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase getMessageTypeCase() {
-    return MessageTypeCase.forNumber(messageTypeCase_);
+  public MessageTypeCase
+  getMessageTypeCase() {
+    return MessageTypeCase.forNumber(
+        messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -491,7 +436,6 @@ public MessageTypeCase getMessageTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -500,15 +444,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -530,15 +473,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 { @@ -548,15 +492,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -564,27 +505,22 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -593,25 +529,21 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -619,27 +551,22 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -650,7 +577,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -658,15 +585,12 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -674,26 +598,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -709,15 +626,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -725,15 +639,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -741,8 +652,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -758,8 +667,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -790,7 +697,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -798,8 +704,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -830,18 +734,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -881,8 +780,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -890,7 +787,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -901,14 +797,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -919,8 +812,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -928,7 +819,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -936,8 +826,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -945,18 +833,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -973,14 +856,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -988,25 +868,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1021,42 +894,33 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1068,7 +932,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_); } @@ -1115,38 +980,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1156,44 +1027,54 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1254,123 +1135,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1380,15 +1254,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1436,9 +1311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto - .internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1510,39 +1385,38 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2.Task)other); } else { super.mergeFrom(other); return this; @@ -1580,20 +1454,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1623,12 +1494,12 @@ public Builder mergeFrom( } return this; } - private int messageTypeCase_ = 0; private java.lang.Object messageType_; - - public MessageTypeCase getMessageTypeCase() { - return MessageTypeCase.forNumber(messageTypeCase_); + public MessageTypeCase + getMessageTypeCase() { + return MessageTypeCase.forNumber( + messageTypeCase_); } public Builder clearMessageType() { @@ -1638,10 +1509,9 @@ public Builder clearMessageType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1663,13 +1533,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1678,8 +1548,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1701,14 +1569,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 { @@ -1716,8 +1585,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1739,22 +1606,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1776,18 +1641,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1809,36 +1671,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1846,15 +1702,12 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1872,8 +1725,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1895,8 +1746,6 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1916,8 +1765,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1927,14 +1774,10 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2
-            && messageType_
-                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 2 &&
+            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1950,8 +1793,6 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1976,8 +1817,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1989,8 +1828,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1999,8 +1836,7 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2011,8 +1847,6 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -2021,45 +1855,33 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2067,15 +1889,12 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ @java.lang.Override @@ -2093,8 +1912,6 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2116,8 +1933,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2125,7 +1940,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(
+        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -2136,8 +1952,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2147,13 +1961,10 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder buil
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3
-            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ =
-              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (messageTypeCase_ == 3 &&
+            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
+              .mergeFrom(value).buildPartial();
         } else {
           messageType_ = value;
         }
@@ -2169,8 +1980,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2195,8 +2004,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2208,8 +2015,6 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2229,8 +2034,6 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2239,75 +2042,56 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest,
-            com.google.cloud.tasks.v2.HttpRequest.Builder,
-            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.HttpRequest,
-                com.google.cloud.tasks.v2.HttpRequest.Builder,
-                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2329,8 +2113,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2338,7 +2120,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2349,8 +2132,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2362,9 +2143,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2376,8 +2155,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2397,8 +2174,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2407,13 +2182,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2425,14 +2198,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2441,17 +2211,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2459,49 +2226,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2523,8 +2277,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2532,7 +2284,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2543,8 +2296,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2556,7 +2307,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;
         }
@@ -2568,8 +2319,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2589,8 +2338,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2599,13 +2346,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2617,14 +2362,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2633,17 +2375,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2651,13 +2390,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2688,15 +2422,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2727,21 +2458,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2787,8 +2513,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2820,7 +2544,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2831,8 +2556,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2868,9 +2591,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2882,8 +2603,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2927,8 +2646,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2961,13 +2678,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3003,14 +2718,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3043,26 +2755,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3070,7 +2777,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ @java.lang.Override @@ -3078,8 +2784,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3087,19 +2791,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3107,26 +2808,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return The responseCount. */ @java.lang.Override @@ -3134,36 +2831,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3171,13 +2862,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3185,15 +2871,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3201,21 +2884,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3238,8 +2916,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3248,7 +2924,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3259,8 +2936,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3273,9 +2948,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3287,8 +2960,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3309,8 +2980,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3320,13 +2989,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3339,14 +3006,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3356,17 +3020,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2.Attempt,
-                com.google.cloud.tasks.v2.Attempt.Builder,
-                com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3374,47 +3035,34 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt,
-            com.google.cloud.tasks.v2.Attempt.Builder,
-            com.google.cloud.tasks.v2.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3435,15 +3083,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3454,8 +3101,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderF return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3466,9 +3111,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3480,8 +3123,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3500,8 +3141,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3509,13 +3148,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3526,14 +3163,11 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3541,17 +3175,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, - com.google.cloud.tasks.v2.Attempt.Builder, - com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3559,69 +3190,55 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = - com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @param value The view to set. * @return This builder for chaining. */ @@ -3629,32 +3246,29 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3664,12 +3278,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3678,16 +3292,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3702,4 +3316,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index 007aaaac..b785e0af 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.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/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; - * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -157,34 +120,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -195,34 +150,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -233,8 +180,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -265,13 +210,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -302,13 +244,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -343,8 +282,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -352,27 +289,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 7; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -380,13 +311,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -394,13 +322,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -412,32 +337,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -447,28 +364,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; - * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..7bbc90b9 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,102 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index efa8f447..68da5cbe 100644 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -148,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ @java.lang.Override @@ -156,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -167,7 +140,6 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ @java.lang.Override @@ -175,8 +147,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -195,15 +165,12 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -211,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -227,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -242,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -271,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -284,21 +248,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -324,127 +289,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -452,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto - .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -521,39 +477,38 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -599,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -614,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -633,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -646,8 +590,6 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -656,8 +598,7 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -673,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -683,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -697,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -707,14 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue)
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -726,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -736,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -751,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -761,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -780,19 +708,17 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -801,21 +727,17 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, - com.google.cloud.tasks.v2.Queue.Builder, - com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -823,49 +745,36 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -887,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -896,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -907,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -920,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -932,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -953,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -963,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -981,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -997,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1024,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -1038,16 +932,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1062,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index 769807c0..d3adfb72 100644
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -35,13 +17,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -51,13 +30,10 @@ public interface UpdateQueueRequestOrBuilder
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -71,34 +47,26 @@ public interface UpdateQueueRequestOrBuilder
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
index 39ba53e5..2f00dcd2 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java
@@ -67,13 +67,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -108,6 +108,20 @@ * CloudTasksClient cloudTasksClient = CloudTasksClient.create(cloudTasksSettings); * }
* + *

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -1190,7 +1204,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1225,7 +1239,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1257,7 +1271,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1282,10 +1296,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1295,7 +1305,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1331,7 +1341,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1374,7 +1384,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1414,7 +1424,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1440,10 +1450,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1456,7 +1462,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1593,11 +1599,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1916,9 +1917,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1977,9 +1978,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2035,9 +2036,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2069,9 +2070,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task - * size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum + * task size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3095,10 +3096,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3145,10 +3143,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 93% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 3f9c9be6..290df4eb 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java @@ -24,10 +24,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -48,9 +50,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -205,11 +207,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return CloudTasksStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return CloudTasksStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return CloudTasksStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return CloudTasksStubSettings.defaultTransportChannelProvider(); } @@ -219,11 +228,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return CloudTasksStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -261,6 +276,11 @@ private static Builder createDefault() { return new Builder(CloudTasksStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(CloudTasksStubSettings.newHttpJsonBuilder()); + } + public CloudTasksStubSettings.Builder getStubSettingsBuilder() { return ((CloudTasksStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 93% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index d01966cb..de4e0977 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -85,9 +88,9 @@ *

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

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

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

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudTasksCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java new file mode 100644 index 00000000..268878f2 --- /dev/null +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java @@ -0,0 +1,1191 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2beta2.stub; + +import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest; +import com.google.cloud.tasks.v2beta2.CancelLeaseRequest; +import com.google.cloud.tasks.v2beta2.CreateQueueRequest; +import com.google.cloud.tasks.v2beta2.CreateTaskRequest; +import com.google.cloud.tasks.v2beta2.DeleteQueueRequest; +import com.google.cloud.tasks.v2beta2.DeleteTaskRequest; +import com.google.cloud.tasks.v2beta2.GetQueueRequest; +import com.google.cloud.tasks.v2beta2.GetTaskRequest; +import com.google.cloud.tasks.v2beta2.LeaseTasksRequest; +import com.google.cloud.tasks.v2beta2.LeaseTasksResponse; +import com.google.cloud.tasks.v2beta2.ListQueuesRequest; +import com.google.cloud.tasks.v2beta2.ListQueuesResponse; +import com.google.cloud.tasks.v2beta2.ListTasksRequest; +import com.google.cloud.tasks.v2beta2.ListTasksResponse; +import com.google.cloud.tasks.v2beta2.PauseQueueRequest; +import com.google.cloud.tasks.v2beta2.PurgeQueueRequest; +import com.google.cloud.tasks.v2beta2.Queue; +import com.google.cloud.tasks.v2beta2.RenewLeaseRequest; +import com.google.cloud.tasks.v2beta2.ResumeQueueRequest; +import com.google.cloud.tasks.v2beta2.RunTaskRequest; +import com.google.cloud.tasks.v2beta2.Task; +import com.google.cloud.tasks.v2beta2.UpdateQueueRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the CloudTasks service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudTasksStub extends CloudTasksStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listQueuesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/ListQueues") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "readMask", request.getReadMask()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListQueuesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/GetQueue") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "readMask", request.getReadMask()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/CreateQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/UpdateQueue") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{queue.name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "queue.name", request.getQueue().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/DeleteQueue") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor purgeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/PurgeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*}:purge", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor pauseQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/PauseQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*}:pause", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor resumeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/ResumeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*}:resume", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/GetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listTasksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/ListTasks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam( + fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListTasksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/GetTask") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/CreateTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/DeleteTask") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + leaseTasksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/LeaseTasks") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(LeaseTasksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + acknowledgeTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor renewLeaseMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/RenewLease") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor cancelLeaseMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/CancelLease") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor runTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta2.CloudTasks/RunTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listQueuesCallable; + private final UnaryCallable listQueuesPagedCallable; + private final UnaryCallable getQueueCallable; + private final UnaryCallable createQueueCallable; + private final UnaryCallable updateQueueCallable; + private final UnaryCallable deleteQueueCallable; + private final UnaryCallable purgeQueueCallable; + private final UnaryCallable pauseQueueCallable; + private final UnaryCallable resumeQueueCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable listTasksCallable; + private final UnaryCallable listTasksPagedCallable; + private final UnaryCallable getTaskCallable; + private final UnaryCallable createTaskCallable; + private final UnaryCallable deleteTaskCallable; + private final UnaryCallable leaseTasksCallable; + private final UnaryCallable acknowledgeTaskCallable; + private final UnaryCallable renewLeaseCallable; + private final UnaryCallable cancelLeaseCallable; + private final UnaryCallable runTaskCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonCloudTasksStub create(CloudTasksStubSettings settings) + throws IOException { + return new HttpJsonCloudTasksStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonCloudTasksStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonCloudTasksStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonCloudTasksCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub( + CloudTasksStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings listQueuesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listQueuesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings purgeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(purgeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pauseQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pauseQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings resumeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resumeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listTasksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listTasksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings leaseTasksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(leaseTasksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings acknowledgeTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(acknowledgeTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings renewLeaseTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(renewLeaseMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings cancelLeaseTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cancelLeaseMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings runTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(runTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listQueuesCallable = + callableFactory.createUnaryCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.listQueuesPagedCallable = + callableFactory.createPagedCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.getQueueCallable = + callableFactory.createUnaryCallable( + getQueueTransportSettings, settings.getQueueSettings(), clientContext); + this.createQueueCallable = + callableFactory.createUnaryCallable( + createQueueTransportSettings, settings.createQueueSettings(), clientContext); + this.updateQueueCallable = + callableFactory.createUnaryCallable( + updateQueueTransportSettings, settings.updateQueueSettings(), clientContext); + this.deleteQueueCallable = + callableFactory.createUnaryCallable( + deleteQueueTransportSettings, settings.deleteQueueSettings(), clientContext); + this.purgeQueueCallable = + callableFactory.createUnaryCallable( + purgeQueueTransportSettings, settings.purgeQueueSettings(), clientContext); + this.pauseQueueCallable = + callableFactory.createUnaryCallable( + pauseQueueTransportSettings, settings.pauseQueueSettings(), clientContext); + this.resumeQueueCallable = + callableFactory.createUnaryCallable( + resumeQueueTransportSettings, settings.resumeQueueSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.listTasksCallable = + callableFactory.createUnaryCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.listTasksPagedCallable = + callableFactory.createPagedCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.getTaskCallable = + callableFactory.createUnaryCallable( + getTaskTransportSettings, settings.getTaskSettings(), clientContext); + this.createTaskCallable = + callableFactory.createUnaryCallable( + createTaskTransportSettings, settings.createTaskSettings(), clientContext); + this.deleteTaskCallable = + callableFactory.createUnaryCallable( + deleteTaskTransportSettings, settings.deleteTaskSettings(), clientContext); + this.leaseTasksCallable = + callableFactory.createUnaryCallable( + leaseTasksTransportSettings, settings.leaseTasksSettings(), clientContext); + this.acknowledgeTaskCallable = + callableFactory.createUnaryCallable( + acknowledgeTaskTransportSettings, settings.acknowledgeTaskSettings(), clientContext); + this.renewLeaseCallable = + callableFactory.createUnaryCallable( + renewLeaseTransportSettings, settings.renewLeaseSettings(), clientContext); + this.cancelLeaseCallable = + callableFactory.createUnaryCallable( + cancelLeaseTransportSettings, settings.cancelLeaseSettings(), clientContext); + this.runTaskCallable = + callableFactory.createUnaryCallable( + runTaskTransportSettings, settings.runTaskSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listQueuesMethodDescriptor); + methodDescriptors.add(getQueueMethodDescriptor); + methodDescriptors.add(createQueueMethodDescriptor); + methodDescriptors.add(updateQueueMethodDescriptor); + methodDescriptors.add(deleteQueueMethodDescriptor); + methodDescriptors.add(purgeQueueMethodDescriptor); + methodDescriptors.add(pauseQueueMethodDescriptor); + methodDescriptors.add(resumeQueueMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(listTasksMethodDescriptor); + methodDescriptors.add(getTaskMethodDescriptor); + methodDescriptors.add(createTaskMethodDescriptor); + methodDescriptors.add(deleteTaskMethodDescriptor); + methodDescriptors.add(leaseTasksMethodDescriptor); + methodDescriptors.add(acknowledgeTaskMethodDescriptor); + methodDescriptors.add(renewLeaseMethodDescriptor); + methodDescriptors.add(cancelLeaseMethodDescriptor); + methodDescriptors.add(runTaskMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listQueuesCallable() { + return listQueuesCallable; + } + + @Override + public UnaryCallable listQueuesPagedCallable() { + return listQueuesPagedCallable; + } + + @Override + public UnaryCallable getQueueCallable() { + return getQueueCallable; + } + + @Override + public UnaryCallable createQueueCallable() { + return createQueueCallable; + } + + @Override + public UnaryCallable updateQueueCallable() { + return updateQueueCallable; + } + + @Override + public UnaryCallable deleteQueueCallable() { + return deleteQueueCallable; + } + + @Override + public UnaryCallable purgeQueueCallable() { + return purgeQueueCallable; + } + + @Override + public UnaryCallable pauseQueueCallable() { + return pauseQueueCallable; + } + + @Override + public UnaryCallable resumeQueueCallable() { + return resumeQueueCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable listTasksCallable() { + return listTasksCallable; + } + + @Override + public UnaryCallable listTasksPagedCallable() { + return listTasksPagedCallable; + } + + @Override + public UnaryCallable getTaskCallable() { + return getTaskCallable; + } + + @Override + public UnaryCallable createTaskCallable() { + return createTaskCallable; + } + + @Override + public UnaryCallable deleteTaskCallable() { + return deleteTaskCallable; + } + + @Override + public UnaryCallable leaseTasksCallable() { + return leaseTasksCallable; + } + + @Override + public UnaryCallable acknowledgeTaskCallable() { + return acknowledgeTaskCallable; + } + + @Override + public UnaryCallable renewLeaseCallable() { + return renewLeaseCallable; + } + + @Override + public UnaryCallable cancelLeaseCallable() { + return cancelLeaseCallable; + } + + @Override + public UnaryCallable runTaskCallable() { + return runTaskCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java new file mode 100644 index 00000000..e7def613 --- /dev/null +++ b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java @@ -0,0 +1,1966 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2beta2; + +import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2beta2.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.tasks.v2beta2.stub.HttpJsonCloudTasksStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class CloudTasksClientHttpJsonTest { + private static MockHttpService mockService; + private static CloudTasksClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonCloudTasksStub.getMethodDescriptors(), CloudTasksSettings.getDefaultEndpoint()); + CloudTasksSettings settings = + CloudTasksSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + CloudTasksSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = CloudTasksClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listQueuesTest() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listQueuesTest2() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Queue actualResponse = client.updateQueue(queue, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateQueue(queue, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest2() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void leaseTasksTest() throws Exception { + LeaseTasksResponse expectedResponse = + LeaseTasksResponse.newBuilder().addAllTasks(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Duration leaseDuration = Duration.newBuilder().build(); + + LeaseTasksResponse actualResponse = client.leaseTasks(parent, leaseDuration); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void leaseTasksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Duration leaseDuration = Duration.newBuilder().build(); + client.leaseTasks(parent, leaseDuration); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void leaseTasksTest2() throws Exception { + LeaseTasksResponse expectedResponse = + LeaseTasksResponse.newBuilder().addAllTasks(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Duration leaseDuration = Duration.newBuilder().build(); + + LeaseTasksResponse actualResponse = client.leaseTasks(parent, leaseDuration); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void leaseTasksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Duration leaseDuration = Duration.newBuilder().build(); + client.leaseTasks(parent, leaseDuration); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void acknowledgeTaskTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + + client.acknowledgeTask(name, scheduleTime); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void acknowledgeTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + client.acknowledgeTask(name, scheduleTime); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void acknowledgeTaskTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + + client.acknowledgeTask(name, scheduleTime); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void acknowledgeTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + client.acknowledgeTask(name, scheduleTime); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renewLeaseTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + Duration leaseDuration = Duration.newBuilder().build(); + + Task actualResponse = client.renewLease(name, scheduleTime, leaseDuration); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void renewLeaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + Duration leaseDuration = Duration.newBuilder().build(); + client.renewLease(name, scheduleTime, leaseDuration); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renewLeaseTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + Duration leaseDuration = Duration.newBuilder().build(); + + Task actualResponse = client.renewLease(name, scheduleTime, leaseDuration); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void renewLeaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + Duration leaseDuration = Duration.newBuilder().build(); + client.renewLease(name, scheduleTime, leaseDuration); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelLeaseTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + + Task actualResponse = client.cancelLease(name, scheduleTime); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelLeaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + Timestamp scheduleTime = Timestamp.newBuilder().build(); + client.cancelLease(name, scheduleTime); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelLeaseTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + + Task actualResponse = client.cancelLease(name, scheduleTime); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelLeaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + Timestamp scheduleTime = Timestamp.newBuilder().build(); + client.cancelLease(name, scheduleTime); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setStatus(TaskStatus.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java similarity index 58% rename from grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java rename to owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java index 4471b15a..2dea9a7e 100644 --- a/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,928 +19,700 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.ListTasksRequest,
-          com.google.cloud.tasks.v2beta2.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.ListTasksRequest,
-            com.google.cloud.tasks.v2beta2.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-      getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod =
-              getLeaseTasksMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-                      .build();
+          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+              .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-      getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
-        getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod =
-              getAcknowledgeTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-                      .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+              .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod =
-              getRenewLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-                      .build();
+          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+              .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-      getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
-        getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod =
-              getCancelLeaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-                      .build();
+          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+              .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -971,16 +726,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -996,16 +747,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1019,16 +766,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1036,15 +779,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1054,15 +794,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1077,16 +814,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1097,16 +830,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1118,16 +847,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1137,17 +862,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1158,29 +878,22 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1189,15 +902,12 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1205,15 +915,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1236,16 +943,12 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1260,16 +963,12 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1277,15 +976,12 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1294,16 +990,12 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1328,193 +1020,199 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1528,18 +1226,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1555,18 +1248,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1580,18 +1268,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1599,16 +1282,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1618,16 +1298,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1642,18 +1319,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1664,18 +1336,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1687,18 +1354,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1708,19 +1370,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1731,31 +1387,24 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1764,16 +1413,13 @@ public void getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1781,16 +1427,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1813,17 +1456,13 @@ public void deleteTask(
      * is exceeded.
      * 
*/ - public void leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1838,18 +1477,13 @@ public void leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1857,16 +1491,13 @@ public void acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1875,18 +1506,13 @@ public void renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1911,8 +1537,7 @@ public void cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1920,16 +1545,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1940,35 +1563,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1982,15 +1597,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue( - com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2006,15 +1618,12 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2028,15 +1637,12 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2044,15 +1650,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2062,15 +1665,12 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue( - com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2085,15 +1685,12 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2110,8 +1707,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2129,8 +1724,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2140,15 +1733,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2159,28 +1749,22 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2189,15 +1773,12 @@ public com.google.cloud.tasks.v2beta2.Task getTask(
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask( - com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2205,15 +1786,12 @@ public com.google.cloud.tasks.v2beta2.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2236,15 +1814,12 @@ public com.google.protobuf.Empty deleteTask(
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2259,15 +1834,12 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask( - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2275,15 +1847,12 @@ public com.google.protobuf.Empty acknowledgeTask(
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease( - com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2292,15 +1861,12 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease( - com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2325,63 +1891,54 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask( - com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -2395,15 +1952,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -2419,15 +1974,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -2441,15 +1994,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2457,15 +2008,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2475,15 +2024,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2498,15 +2045,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2517,15 +2062,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2537,15 +2080,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2555,16 +2096,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2575,29 +2113,24 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta2.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2606,15 +2139,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2629,8 +2160,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2653,16 +2182,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
-        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
+        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2677,15 +2203,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
+        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2693,15 +2217,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture renewLease(
+        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2710,15 +2232,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture cancelLease(
+        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2743,8 +2263,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2771,11 +2291,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2789,107 +2309,83 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks(
-              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask(
-              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease(
-              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease(
-              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2908,9 +2404,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2952,31 +2447,29 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getLeaseTasksMethod())
-                      .addMethod(getAcknowledgeTaskMethod())
-                      .addMethod(getRenewLeaseMethod())
-                      .addMethod(getCancelLeaseMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getLeaseTasksMethod())
+              .addMethod(getAcknowledgeTaskMethod())
+              .addMethod(getRenewLeaseMethod())
+              .addMethod(getCancelLeaseMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index ea776bea..abcfe358 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AcknowledgeTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,35 +54,32 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,42 +87,35 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -151,32 +124,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -197,9 +166,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -207,8 +174,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -217,20 +182,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -239,8 +198,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -248,7 +206,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -280,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,18 +249,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.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = - (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -326,104 +286,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -431,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -455,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -500,8 +451,7 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -516,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,8 +505,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -584,8 +532,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -597,23 +544,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -622,24 +565,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -647,70 +587,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -718,13 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -733,17 +655,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -752,23 +670,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -777,8 +689,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -794,8 +705,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -804,10 +713,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -818,8 +727,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,16 +735,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -849,8 +753,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -859,8 +761,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -874,8 +775,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -884,17 +783,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -903,21 +799,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -926,28 +818,24 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } - @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 +845,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -971,16 +859,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +883,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index 5836a48c..aa7083e2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder - extends +public interface AcknowledgeTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,8 +64,7 @@ public interface AcknowledgeTaskRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index bda8fe19..37163c60 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -78,16 +61,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -96,15 +78,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -124,62 +107,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUrl_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              payload_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUrl_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            payload_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -187,44 +164,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -236,16 +210,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -257,22 +227,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -282,7 +247,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -290,8 +254,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -301,18 +263,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -331,8 +288,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -342,7 +297,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ @java.lang.Override @@ -351,15 +305,14 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -369,15 +322,16 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -386,23 +340,24 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -411,8 +366,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,22 +404,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,12 +459,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -551,16 +503,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -600,11 +552,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -614,8 +567,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -625,7 +576,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -634,7 +584,6 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -646,9 +595,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -657,8 +606,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -671,28 +624,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -702,22 +657,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getPayload().equals(other.getPayload())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl() + .equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -749,103 +707,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -903,43 +854,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -947,15 +898,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -976,9 +928,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -997,8 +949,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1018,39 +969,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1058,8 +1008,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1070,7 +1019,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1093,8 +1043,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1103,13 +1052,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1121,16 +1067,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1142,19 +1084,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1166,19 +1105,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = - com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1190,7 +1125,6 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1198,14 +1132,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1217,11 +1149,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1229,13 +1160,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, - com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1245,15 +1171,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1263,21 +1186,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1302,8 +1220,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1326,8 +1242,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1342,9 +1256,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1356,8 +1268,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1380,8 +1290,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1393,13 +1301,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1414,14 +1320,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1433,17 +1336,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1451,8 +1351,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
-     *
-     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1462,13 +1360,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; - * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1477,8 +1375,6 @@ public java.lang.String getRelativeUrl() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1488,14 +1384,15 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString getRelativeUrlBytes() { + public com.google.protobuf.ByteString + getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1503,8 +1400,6 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() { } } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1514,22 +1409,20 @@ public com.google.protobuf.ByteString getRelativeUrlBytes() {
      * 
* * string relative_url = 3; - * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl(java.lang.String value) { + public Builder setRelativeUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1539,18 +1432,15 @@ public Builder setRelativeUrl(java.lang.String value) {
      * 
* * string relative_url = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** - * - * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1560,36 +1450,37 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; - * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1601,8 +1492,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1641,22 +1530,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1696,12 +1585,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1741,17 +1629,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1791,11 +1678,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1803,12 +1691,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1847,21 +1734,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1900,20 +1789,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1952,15 +1840,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1970,7 +1859,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes payload = 5; - * * @return The payload. */ @java.lang.Override @@ -1978,8 +1866,6 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1989,22 +1875,19 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -2014,18 +1897,17 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -2035,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -2049,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,4 +1955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 4a27f8c2..0eee0ff6 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** - * - * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_url = 3; - * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString getRelativeUrlBytes(); + com.google.protobuf.ByteString + getRelativeUrlBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -371,7 +331,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes payload = 5; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 3633a62d..43646f79 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpTarget() {}
+  private AppEngineHttpTarget() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
-        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
-          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineRouting,
-                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index e4f6a8d5..6ac107fd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.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/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder
-    extends
+public interface AppEngineHttpTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index ad2acdb0..75151c07 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -421,7 +387,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -430,15 +395,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -488,15 +452,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -505,7 +470,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -517,7 +481,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -559,18 +524,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.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = - (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -595,104 +563,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -710,23 +671,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -734,15 +693,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -758,9 +718,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -779,8 +739,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -793,39 +752,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -833,8 +791,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -882,8 +839,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -902,13 +857,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -917,8 +872,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -937,14 +890,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -952,8 +906,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -972,22 +924,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1006,18 +956,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -1036,16 +983,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1053,8 +1000,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1073,13 +1018,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1088,8 +1033,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1108,14 +1051,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1123,8 +1067,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1143,22 +1085,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1177,18 +1117,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1207,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1224,8 +1161,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1241,13 +1176,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1256,8 +1191,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1273,14 +1206,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1288,8 +1222,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1305,22 +1237,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1336,18 +1266,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1363,16 +1290,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1380,8 +1307,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1431,13 +1356,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1446,8 +1371,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1497,14 +1420,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1512,8 +1436,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1563,22 +1485,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1628,18 +1548,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1689,23 +1606,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1715,12 +1632,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1729,16 +1646,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1753,4 +1670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index bc74a98e..3a191733 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -222,13 +189,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -278,8 +242,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index 28cd82db..a2e69197 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttemptStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AttemptStatus() {} + private AttemptStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private AttemptStatus( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,29 +364,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other =
-        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -480,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -608,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -669,8 +604,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = - new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -699,39 +633,38 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); } else { super.mergeFrom(other); return this; @@ -783,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -847,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -856,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -867,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -880,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -894,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -915,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -925,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -943,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -959,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -977,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1041,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1050,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1061,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1074,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1088,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1109,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1119,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1137,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1153,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1171,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1235,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1244,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1255,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1268,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1282,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1303,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1313,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1331,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1347,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1365,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1377,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1393,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1430,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1440,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1451,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1465,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1477,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1499,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1510,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1529,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1546,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1571,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1585,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AttemptStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AttemptStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttemptStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AttemptStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1609,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 04cba740..067732e6 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder
-    extends
+public interface AttemptStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptStatusOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -147,13 +105,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -161,13 +116,10 @@ public interface AttemptStatusOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 4f0d227b..8f7ffdf5 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CancelLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,42 +55,38 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -115,42 +94,35 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -159,32 +131,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -195,8 +165,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,9 +173,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -215,8 +181,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -225,20 +189,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -247,8 +205,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -258,8 +215,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -274,16 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -298,19 +249,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +269,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,10 +293,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -358,18 +308,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.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = - (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -397,103 +348,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -501,23 +445,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -525,15 +467,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -551,9 +494,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -572,8 +515,7 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -589,39 +531,38 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -629,8 +570,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -660,8 +600,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -673,23 +612,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -698,24 +633,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -723,70 +655,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -794,13 +713,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -809,17 +723,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -828,23 +738,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -853,8 +757,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -870,8 +773,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -880,10 +781,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -894,8 +795,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -904,16 +803,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -925,8 +821,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -935,8 +829,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -950,8 +843,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -960,17 +851,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,21 +867,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1002,21 +886,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1024,8 +904,6 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1040,16 +918,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1064,19 +938,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1091,19 +962,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1118,7 +985,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1126,14 +992,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1148,18 +1012,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1169,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1183,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index 7e482e5c..c38b4840 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder - extends +public interface CancelLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,14 +64,11 @@ public interface CancelLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -121,13 +83,10 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -142,7 +101,6 @@ public interface CancelLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..8ad64891 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,462 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { "Queues", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { "Name", "ReadMask", }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { "Parent", "Queue", }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { "Queue", "UpdateMask", }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { "Tasks", "NextPageToken", }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { "Parent", "Task", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { "Tasks", }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { "Name", "ResponseView", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 2fff1143..7a6c7007 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index 9676f059..f06e93f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5b08ffe3..5486174c 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index efb3f667..d08c4552 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index be30b05b..a7ff0f78 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..4551caab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index d8cdf272..470736a3 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..2bc96dd8 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 098da970..3c31bbcb 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = - (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, - com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = - new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index 8a94e8ad..d0acb43e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 555bd07a..47fe15e9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = - (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, - com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = - new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 627e5389..24915aa1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index d06ae3b1..abca6176 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -92,8 +64,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -102,8 +72,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -152,6 +112,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,55 +137,52 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,3 +198,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index baf42571..6aa2dbff 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { - parent_ = s; - break; + maxTasks_ = input.readInt32(); + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); } - case 16: - { - maxTasks_ = input.readInt32(); - break; + leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); - } - leaseDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); - } - break; - } - case 32: - { - int rawValue = input.readEnum(); + break; + } + case 32: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -220,7 +187,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -231,8 +197,6 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -251,9 +215,7 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -261,8 +223,6 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -281,20 +241,14 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -313,8 +267,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -324,8 +277,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -340,16 +291,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -364,22 +311,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -405,7 +347,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -414,15 +355,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -448,15 +388,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -465,7 +406,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,7 +417,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_); } @@ -506,13 +447,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -525,22 +469,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = - (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getMaxTasks() != other.getMaxTasks()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getMaxTasks() + != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -569,127 +516,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -697,15 +635,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -748,8 +687,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = - new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -767,39 +705,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -807,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -857,23 +793,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -882,24 +814,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -907,79 +836,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_; + private int maxTasks_ ; /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -991,7 +905,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ @java.lang.Override @@ -999,8 +912,6 @@ public int getMaxTasks() { return maxTasks_; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1012,19 +923,16 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; - * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -1036,11 +944,10 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; - * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -1048,13 +955,8 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1073,17 +975,13 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1102,23 +1000,17 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1137,8 +1029,7 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1154,8 +1045,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1174,10 +1063,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1188,8 +1077,6 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1208,16 +1095,13 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1229,8 +1113,6 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1249,8 +1131,7 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1264,8 +1145,6 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1284,17 +1163,14 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1313,21 +1189,17 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1346,21 +1218,17 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1368,8 +1236,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1384,16 +1250,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1408,19 +1270,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1435,19 +1294,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1462,7 +1317,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1470,14 +1324,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1492,11 +1344,10 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1504,8 +1355,6 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1531,13 +1380,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1546,8 +1395,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1573,14 +1420,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1588,8 +1436,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1615,22 +1461,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1656,18 +1500,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1693,23 +1534,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1719,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1733,16 +1574,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1757,4 +1598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index 8d97536d..e8ee7da0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder - extends +public interface LeaseTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -68,14 +41,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * int32 max_tasks = 2; - * * @return The maxTasks. */ int getMaxTasks(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -94,15 +64,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -121,15 +87,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -148,14 +110,11 @@ public interface LeaseTasksRequestOrBuilder
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -170,13 +129,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -191,14 +147,11 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -224,13 +177,10 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -256,8 +206,8 @@ public interface LeaseTasksRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index db622add..785a15f5 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LeaseTasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -105,27 +87,22 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The leased tasks.
    * 
@@ -137,8 +114,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -146,13 +121,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The leased tasks.
    * 
@@ -164,8 +137,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The leased tasks.
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The leased tasks.
    * 
@@ -186,12 +155,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +172,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -227,15 +198,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList().equals(other.getTasksList())) return false; + if (!getTasksList() + .equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,126 +228,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -384,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -429,8 +391,7 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = - new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +410,38 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -489,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -509,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -537,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,28 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The leased tasks.
      * 
@@ -583,8 +533,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -599,8 +547,6 @@ public int getTasksCount() { } } /** - * - * *
      * The leased tasks.
      * 
@@ -615,15 +561,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,8 +582,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -657,8 +600,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -679,15 +620,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,15 +641,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -720,8 +659,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -740,8 +677,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -752,7 +687,8 @@ 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); @@ -760,8 +696,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -779,8 +713,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The leased tasks.
      * 
@@ -798,44 +730,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -843,8 +770,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The leased tasks.
      * 
@@ -852,54 +777,49 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; } - @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); } @@ -909,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -923,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index be8e88b3..9fd3c606 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder - extends +public interface LeaseTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The leased tasks.
    * 
@@ -44,8 +25,6 @@ public interface LeaseTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The leased tasks.
    * 
@@ -54,23 +33,21 @@ public interface LeaseTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index e54a748b..ca1d881d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index 167f4ec8..f3767022 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index b939f1fb..c34490bd 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 98afbafd..248518f9 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index 7c714d8e..bb5156d1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -382,18 +340,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.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = - (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, - com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = - new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index 29a8834e..a9b7b18e 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 02a9e4ef..1ab20232 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = - (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, - com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = - new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, - com.google.cloud.tasks.v2beta2.Task.Builder, - com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 65d2e1d6..8df40b84 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index d0889429..7c934fac 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a1261f9a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 68114f46..3ad4c05d 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.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/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -47,15 +29,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,25 +57,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +82,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto
-        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -143,8 +120,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -164,7 +139,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -173,15 +147,14 @@ 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; } } /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -201,15 +174,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -218,7 +192,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +203,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -247,7 +221,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -260,16 +235,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.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = - (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,104 +266,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -397,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class,
-              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -421,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto
-          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -462,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result =
-          new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -474,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,14 +519,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -568,39 +531,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -608,8 +565,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -629,13 +584,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -644,8 +599,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -665,14 +618,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -680,8 +634,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -701,22 +653,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -736,18 +686,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -767,23 +714,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -793,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -807,16 +754,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 3e9a9796..9a08cc45 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -58,13 +37,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -84,8 +60,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index ac577696..c431c6ad 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PullTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PullTarget() {} + private PullTarget() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private PullTarget( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = - (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -159,127 +140,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** - * - * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, - com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto - .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = - new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); } else { super.mergeFrom(other); return this; @@ -403,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -415,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -429,16 +400,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..27ec888a --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index ffb1a8e6..568db342 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..cef23931 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 31f4d38a..5c513533 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,155 +56,131 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 3;
-              break;
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-              if (targetTypeCase_ == 4) {
-                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-              }
-              targetType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-                targetType_ = subBuilder.buildPartial();
-              }
-              targetTypeCase_ = 4;
-              break;
+            targetTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+            if (targetTypeCase_ == 4) {
+              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+            }
+            targetType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+              targetType_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetTypeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 56:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
             }
-          case 130:
-            {
-              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
+            }
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 130: {
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -229,41 +188,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class,
-            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -272,8 +226,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -288,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -302,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -337,8 +283,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -353,8 +297,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -367,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -389,6 +329,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -413,51 +354,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -476,16 +416,13 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
-
   public enum TargetTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
-
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -501,31 +438,26 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_TARGET;
-        case 4:
-          return PULL_TARGET;
-        case 0:
-          return TARGETTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_TARGET;
+        case 4: return PULL_TARGET;
+        case 0: return TARGETTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase getTargetTypeCase() {
-    return TargetTypeCase.forNumber(targetTypeCase_);
+  public TargetTypeCase
+  getTargetTypeCase() {
+    return TargetTypeCase.forNumber(
+        targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -546,7 +478,6 @@ public TargetTypeCase getTargetTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -555,15 +486,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -584,15 +514,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 { @@ -602,15 +533,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -618,27 +546,22 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -647,25 +570,21 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-      getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -673,27 +592,22 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -704,7 +618,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -712,8 +626,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -731,7 +643,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -739,8 +650,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -758,18 +667,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -796,8 +700,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -811,7 +713,6 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -819,8 +720,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -834,18 +733,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -868,8 +762,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -880,16 +772,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -900,22 +788,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -928,7 +811,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -936,8 +818,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -950,7 +830,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ @java.lang.Override @@ -958,8 +837,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -981,8 +858,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -997,7 +872,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1005,8 +879,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1021,7 +893,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ @java.lang.Override @@ -1029,8 +900,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1054,8 +923,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1068,7 +935,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1076,8 +942,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1090,18 +954,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -1123,18 +982,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1142,18 +996,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1161,17 +1010,13 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1179,7 +1024,6 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1191,7 +1035,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_); } @@ -1235,35 +1080,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1273,46 +1123,55 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget() + .equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget().equals(other.getPullTarget())) return false; + if (!getPullTarget() + .equals(other.getPullTarget())) return false; break; case 0: default: @@ -1373,103 +1232,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1478,23 +1331,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class,
-              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1502,15 +1353,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1560,9 +1412,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1637,39 +1489,38 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1704,20 +1555,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET:
-          {
-            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-            break;
-          }
-        case PULL_TARGET:
-          {
-            mergePullTarget(other.getPullTarget());
-            break;
-          }
-        case TARGETTYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_TARGET: {
+          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+          break;
+        }
+        case PULL_TARGET: {
+          mergePullTarget(other.getPullTarget());
+          break;
+        }
+        case TARGETTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1747,12 +1595,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-
-    public TargetTypeCase getTargetTypeCase() {
-      return TargetTypeCase.forNumber(targetTypeCase_);
+    public TargetTypeCase
+        getTargetTypeCase() {
+      return TargetTypeCase.forNumber(
+          targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1762,10 +1610,9 @@ public Builder clearTargetType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1786,13 +1633,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1801,8 +1648,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1823,14 +1668,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 { @@ -1838,8 +1684,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1860,22 +1704,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1896,18 +1738,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1928,36 +1767,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> - appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1965,15 +1798,12 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1991,8 +1821,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** - * - * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2000,8 +1828,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2015,8 +1842,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2036,8 +1861,6 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2045,17 +1868,12 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3
-            && targetType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 3 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2071,8 +1889,6 @@ public Builder mergeAppEngineHttpTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2097,8 +1913,6 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2106,13 +1920,10 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
-        getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2121,8 +1932,7 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
-        getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -2133,8 +1943,6 @@ public Builder clearAppEngineHttpTarget() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -2143,45 +1951,33 @@ public Builder clearAppEngineHttpTarget() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
-        pullTargetBuilder_;
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -2189,15 +1985,12 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ @java.lang.Override @@ -2215,8 +2008,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** - * - * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2238,8 +2029,6 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2259,8 +2048,6 @@ public Builder setPullTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2270,13 +2057,10 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4
-            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ =
-              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (targetTypeCase_ == 4 &&
+            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+              .mergeFrom(value).buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2292,8 +2076,6 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2318,8 +2100,6 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2331,8 +2111,6 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2352,8 +2130,6 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2362,39 +2138,28 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget,
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullTarget,
-                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
-                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2412,15 +2177,12 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2438,21 +2200,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2485,8 +2242,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2517,8 +2272,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2541,9 +2294,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2555,8 +2306,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2587,8 +2336,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2608,13 +2355,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2637,14 +2382,11 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2664,17 +2406,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RateLimits,
-                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2682,13 +2421,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2702,15 +2436,12 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2724,21 +2455,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2767,8 +2493,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2795,8 +2519,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2815,9 +2537,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2829,8 +2549,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2857,8 +2575,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2874,13 +2590,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2899,14 +2613,11 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2922,17 +2633,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.RetryConfig,
-                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2940,8 +2648,6 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2952,16 +2658,12 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2972,19 +2674,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2995,19 +2694,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = - com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3018,7 +2713,6 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3026,14 +2720,12 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3044,11 +2736,10 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3056,13 +2747,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3075,15 +2761,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3096,7 +2779,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3107,8 +2789,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3136,8 +2816,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3151,7 +2829,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3162,8 +2841,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3181,7 +2858,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3193,8 +2870,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3220,8 +2895,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3236,13 +2909,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3260,12 +2931,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -3280,17 +2950,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3298,13 +2965,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3319,15 +2981,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3342,7 +3001,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3353,8 +3011,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3384,8 +3040,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3401,7 +3055,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3412,8 +3067,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3433,7 +3086,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3445,8 +3098,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3474,8 +3125,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3492,13 +3141,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3518,12 +3165,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3540,17 +3186,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3558,13 +3201,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3577,15 +3215,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3598,21 +3233,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3640,8 +3270,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3655,7 +3283,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3666,8 +3295,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3685,9 +3312,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3699,8 +3324,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3726,8 +3349,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3742,13 +3363,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3766,14 +3385,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3788,17 +3404,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3806,64 +3419,45 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.QueueStats,
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
-            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
-        statsBuilder_;
+        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3879,19 +3473,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3902,25 +3493,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -3932,17 +3517,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3956,77 +3537,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, - com.google.cloud.tasks.v2beta2.QueueStats.Builder, - com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4036,12 +3601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -4050,16 +3615,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4074,4 +3639,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 15bb0343..11cda3ea 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,40 +52,32 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; - * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -117,34 +88,26 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; - * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** - * - * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -155,8 +118,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -174,13 +135,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -198,13 +156,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -226,8 +181,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -241,13 +194,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -261,13 +211,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -285,8 +232,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -297,13 +242,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -314,14 +256,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; - * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -334,13 +273,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -353,13 +289,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 8; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -376,8 +309,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -392,13 +323,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -413,13 +341,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 9; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -438,8 +363,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -452,13 +375,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -471,13 +391,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -494,49 +411,35 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..26d91fab --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,140 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta2_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index 851774bb..f6138f49 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = - (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, - com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto - .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = - new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index d65aa3fd..877422f2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index ba22e1ca..2bb7a61a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxTasksDispatchedPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentTasks_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxTasksDispatchedPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentTasks_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class,
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -143,7 +123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -154,8 +133,6 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -187,7 +164,6 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -198,8 +174,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -217,7 +191,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -226,7 +199,6 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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 (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -258,14 +231,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +250,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.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = - (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() + != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,10 +276,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -312,104 +287,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -420,23 +388,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class,
-              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -444,15 +410,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +433,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -487,8 +454,7 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result =
-          new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -500,39 +466,38 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,10 +544,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_;
+    private double maxTasksDispatchedPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -598,7 +561,6 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -606,8 +568,6 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -623,19 +583,16 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -651,20 +608,17 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -696,7 +650,6 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -704,8 +657,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -737,19 +688,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -781,20 +729,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_; + private int maxConcurrentTasks_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -812,7 +757,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -820,8 +764,6 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -839,19 +781,16 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; - * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -869,18 +808,17 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -890,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -904,16 +842,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 373ee8d6..1e80375a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.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/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -41,14 +23,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_tasks_dispatched_per_second = 1; - * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -80,14 +59,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -105,7 +81,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_tasks = 3; - * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 91ce7c71..86c724b4 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RenewLeaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,57 +55,51 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (leaseDuration_ != null) {
-                subBuilder = leaseDuration_.toBuilder();
-              }
-              leaseDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(leaseDuration_);
-                leaseDuration_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (leaseDuration_ != null) {
+              subBuilder = leaseDuration_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              responseView_ = rawValue;
-              break;
+            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(leaseDuration_);
+              leaseDuration_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -130,42 +107,35 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -174,32 +144,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -210,8 +178,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -220,9 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -230,8 +194,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -240,20 +202,14 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -262,8 +218,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -273,17 +228,13 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -291,36 +242,27 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -330,8 +272,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -346,16 +286,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -370,19 +306,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +326,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_); } @@ -420,13 +353,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -436,22 +372,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = - (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration() + .equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -482,104 +420,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -587,23 +518,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -611,15 +540,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -643,9 +573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -664,8 +594,7 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
-          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -686,39 +615,38 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,8 +654,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -772,23 +699,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -797,24 +720,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -822,70 +742,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -893,13 +800,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -908,17 +810,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -927,23 +825,17 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -952,8 +844,7 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -969,8 +860,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -979,10 +868,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -993,8 +882,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1003,16 +890,13 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); } else { scheduleTime_ = value; } @@ -1024,8 +908,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1034,8 +916,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -1049,8 +930,6 @@ public Builder clearScheduleTime() { return this; } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1059,17 +938,14 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1078,21 +954,17 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } } /** - * - * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -1101,21 +973,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), getParentForChildren(), isClean()); + scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), + getParentForChildren(), + isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -1123,61 +991,45 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - leaseDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1193,18 +1045,16 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1215,24 +1065,19 @@ public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForV return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); } else { leaseDuration_ = value; } @@ -1244,16 +1089,13 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1267,67 +1109,54 @@ public Builder clearLeaseDuration() { return this; } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : leaseDuration_; + return leaseDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; } } /** - * - * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), getParentForChildren(), isClean()); + leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), + getParentForChildren(), + isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1335,8 +1164,6 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1351,16 +1178,12 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1375,19 +1198,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1402,19 +1222,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1429,7 +1245,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1437,14 +1252,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1459,18 +1272,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1480,12 +1292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1494,16 +1306,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1518,4 +1330,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 800dfd88..0fb7d3e1 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder - extends +public interface RenewLeaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -65,15 +38,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -82,15 +51,11 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -99,58 +64,44 @@ public interface RenewLeaseRequestOrBuilder
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** - * - * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,13 +116,10 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,7 +134,6 @@ public interface RenewLeaseRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 66717318..1c905c3a 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..a5db637f --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index 9a966fb3..c8e6cb16 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,75 +53,67 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              numAttempts_ = input.readInt32();
-              numAttemptsCase_ = 1;
-              break;
+          case 8: {
+            numAttempts_ = input.readInt32();
+            numAttemptsCase_ = 1;
+            break;
+          }
+          case 16: {
+            numAttempts_ = input.readBool();
+            numAttemptsCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 16:
-            {
-              numAttempts_ = input.readBool();
-              numAttemptsCase_ = 2;
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          case 48:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 48: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,40 +121,35 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto
-        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class,
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
-
   public enum NumAttemptsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
-
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -194,30 +165,25 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return MAX_ATTEMPTS;
-        case 2:
-          return UNLIMITED_ATTEMPTS;
-        case 0:
-          return NUMATTEMPTS_NOT_SET;
-        default:
-          return null;
+        case 1: return MAX_ATTEMPTS;
+        case 2: return UNLIMITED_ATTEMPTS;
+        case 0: return NUMATTEMPTS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(numAttemptsCase_);
+  public NumAttemptsCase
+  getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(
+        numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -226,7 +192,6 @@ public NumAttemptsCase getNumAttemptsCase() {
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -234,8 +199,6 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -244,7 +207,6 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -257,14 +219,11 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -272,14 +231,11 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ @java.lang.Override @@ -293,8 +249,6 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -313,7 +267,6 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -321,8 +274,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -341,18 +292,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -380,8 +326,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -398,7 +342,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -406,8 +349,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -424,7 +365,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ @java.lang.Override @@ -432,8 +372,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -459,8 +397,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -477,7 +413,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -485,8 +420,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -503,7 +436,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ @java.lang.Override @@ -511,8 +443,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -538,8 +468,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -566,7 +494,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -575,7 +502,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -587,12 +513,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (numAttemptsCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); + output.writeInt32( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); + output.writeBool( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -616,26 +545,30 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 2, (boolean) ((java.lang.Boolean) numAttempts_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 2, (boolean)((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -645,34 +578,39 @@ 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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = - (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() + != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -709,7 +647,8 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUnlimitedAttempts()); break; case 0: default: @@ -719,104 +658,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -824,23 +756,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class,
-              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -848,15 +778,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -886,9 +817,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto
-          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -907,8 +838,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result =
-          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -940,39 +870,38 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -994,20 +923,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS:
-          {
-            setMaxAttempts(other.getMaxAttempts());
-            break;
-          }
-        case UNLIMITED_ATTEMPTS:
-          {
-            setUnlimitedAttempts(other.getUnlimitedAttempts());
-            break;
-          }
-        case NUMATTEMPTS_NOT_SET:
-          {
-            break;
-          }
+        case MAX_ATTEMPTS: {
+          setMaxAttempts(other.getMaxAttempts());
+          break;
+        }
+        case UNLIMITED_ATTEMPTS: {
+          setUnlimitedAttempts(other.getUnlimitedAttempts());
+          break;
+        }
+        case NUMATTEMPTS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1037,12 +963,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-
-    public NumAttemptsCase getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(numAttemptsCase_);
+    public NumAttemptsCase
+        getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(
+          numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -1052,9 +978,8 @@ public Builder clearNumAttempts() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1063,15 +988,12 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1080,7 +1002,6 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1090,8 +1011,6 @@ public int getMaxAttempts() { return 0; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1100,7 +1019,6 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1111,8 +1029,6 @@ public Builder setMaxAttempts(int value) { return this; } /** - * - * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1121,7 +1037,6 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1134,28 +1049,22 @@ public Builder clearMaxAttempts() { } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1165,14 +1074,11 @@ public boolean getUnlimitedAttempts() { return false; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1183,14 +1089,11 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** - * - * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; - * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1204,13 +1107,8 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1229,15 +1127,12 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1256,21 +1151,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1304,8 +1194,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1325,7 +1213,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1336,8 +1225,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1361,9 +1248,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1375,8 +1260,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1408,8 +1291,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1430,13 +1311,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1460,14 +1339,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1488,17 +1364,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1506,13 +1379,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1529,15 +1397,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1554,21 +1419,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1600,8 +1460,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1619,7 +1477,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1630,8 +1489,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1653,7 +1510,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1665,8 +1522,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1696,8 +1551,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1716,13 +1569,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1744,14 +1595,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1770,17 +1618,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1788,13 +1633,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1811,15 +1651,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1836,21 +1673,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1882,8 +1714,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1901,7 +1731,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1912,8 +1743,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1935,7 +1764,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1947,8 +1776,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1978,8 +1805,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1998,13 +1823,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2026,14 +1849,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -2052,26 +1872,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2098,7 +1913,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ @java.lang.Override @@ -2106,8 +1920,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2134,19 +1946,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -2173,18 +1982,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2194,12 +2002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2208,16 +2016,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2232,4 +2040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index f78d7ff0..ca066b67 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -34,13 +16,10 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** - * - * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -49,39 +28,30 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** - * - * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; - * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -100,13 +70,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -125,13 +92,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 3; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -154,8 +118,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -172,13 +134,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -195,13 +154,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 4; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -222,8 +178,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -240,13 +194,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -263,13 +214,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 5; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -290,8 +238,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -318,7 +264,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 6; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index a8d244e6..f7120749 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = - (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index 8ce08688..fce8c1e0 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..02a91a15 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,125 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index b4b9a701..d746a483 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,110 +54,92 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = - ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 58: - { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 58: { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } + + break; + } + case 64: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -182,31 +147,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -218,10 +179,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -230,8 +190,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -247,8 +205,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -263,8 +219,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -273,8 +227,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,8 +242,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -303,6 +253,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -327,49 +278,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -388,16 +339,13 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -413,31 +361,26 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 4:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 4: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -459,7 +402,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -468,15 +410,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -498,15 +439,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 { @@ -516,8 +458,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -527,7 +467,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -535,8 +474,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -546,19 +483,16 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -570,18 +504,15 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -589,7 +520,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -597,8 +527,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -606,19 +534,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -630,7 +555,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -638,8 +563,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -651,7 +574,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -659,8 +581,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -672,18 +592,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -704,15 +619,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -720,15 +632,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -736,8 +645,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -753,14 +660,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ @java.lang.Override @@ -768,25 +672,18 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The task status.
    * 
@@ -801,43 +698,33 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -849,7 +736,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_); } @@ -884,26 +772,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -913,34 +803,40 @@ 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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -989,126 +885,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, - com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1116,15 +1004,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1156,9 +1045,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1218,39 +1107,38 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); } else { super.mergeFrom(other); return this; @@ -1276,20 +1164,17 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1319,12 +1204,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1334,10 +1219,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1359,13 +1243,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1374,8 +1258,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1397,14 +1279,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 { @@ -1412,8 +1295,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1435,22 +1316,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1472,18 +1351,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1505,29 +1381,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1537,7 +1408,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1545,8 +1415,6 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1556,7 +1424,6 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1574,8 +1441,6 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1586,8 +1451,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1601,8 +1465,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1625,8 +1487,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1637,17 +1497,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1663,8 +1518,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1692,8 +1545,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1704,13 +1555,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1722,8 +1570,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1734,8 +1581,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1747,38 +1592,27 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1786,7 +1620,6 @@ public Builder clearAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1794,8 +1627,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1803,7 +1634,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ @java.lang.Override @@ -1821,8 +1651,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** - * - * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1845,8 +1673,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1867,8 +1693,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1879,13 +1703,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4
-            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 4 &&
+            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1901,8 +1722,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1928,8 +1747,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1942,8 +1759,6 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1964,8 +1779,6 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1975,39 +1788,28 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage,
-            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.PullMessage,
-                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2019,15 +1821,12 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2039,21 +1838,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2080,8 +1874,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2094,7 +1886,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2105,8 +1898,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2123,9 +1914,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2137,8 +1926,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2163,8 +1950,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2178,13 +1963,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2201,14 +1984,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2222,17 +2002,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2240,49 +2017,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2304,8 +2068,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2313,7 +2075,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2324,8 +2087,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2337,7 +2098,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;
         }
@@ -2349,8 +2110,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2370,8 +2129,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2380,13 +2137,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2398,14 +2153,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2414,17 +2166,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2432,47 +2181,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.TaskStatus,
-            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
-            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
-        statusBuilder_;
+        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2493,15 +2229,14 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus( + com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2512,8 +2247,6 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder build return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2524,9 +2257,7 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -2538,8 +2269,6 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2558,8 +2287,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Output only. The task status.
      * 
@@ -2567,13 +2294,11 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The task status.
      * 
@@ -2584,14 +2309,11 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null - ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() - : status_; + return status_ == null ? + com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; } } /** - * - * *
      * Output only. The task status.
      * 
@@ -2599,17 +2321,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder, - com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -2617,69 +2336,55 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = - com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @param value The view to set. * @return This builder for chaining. */ @@ -2687,32 +2392,29 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2722,12 +2424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2736,16 +2438,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2760,4 +2462,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index 9b356802..cce77766 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.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/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -75,14 +54,12 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -92,13 +69,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -108,13 +82,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -128,8 +99,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -137,13 +106,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -151,13 +117,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** - * - * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -169,8 +132,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -182,13 +143,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -200,13 +158,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 5; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -222,34 +177,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -260,32 +207,24 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; - * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** - * - * *
    * Output only. The task status.
    * 
@@ -295,28 +234,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; - * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..8b3416a2 --- /dev/null +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index 361386df..f8ed0ce2 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** - * - * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TaskStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TaskStatus() {} + private TaskStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,55 +52,49 @@ private TaskStatus( case 0: done = true; break; - case 8: - { - attemptDispatchCount_ = input.readInt32(); - break; + case 8: { + + attemptDispatchCount_ = input.readInt32(); + break; + } + case 16: { + + attemptResponseCount_ = input.readInt32(); + break; + } + case 26: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); } - case 16: - { - attemptResponseCount_ = input.readInt32(); - break; + firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); - } - firstAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); } - case 34: - { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); - } - - break; + lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -124,33 +102,29 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** - * - * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -158,7 +132,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -169,15 +142,12 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -188,8 +158,6 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -198,7 +166,6 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -206,8 +173,6 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -216,18 +181,13 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -245,15 +205,12 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -261,26 +218,19 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -294,7 +244,6 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -306,7 +255,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 (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -329,16 +279,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -348,23 +302,26 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other =
-        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount()
+        != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount()
+        != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus()
+          .equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus()
+          .equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -394,127 +351,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
-   *
-   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, - com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -522,15 +470,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto - .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -575,8 +524,7 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = - new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -597,39 +545,38 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); } else { super.mergeFrom(other); return this; @@ -679,10 +626,8 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_; + private int attemptDispatchCount_ ; /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -690,7 +635,6 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ @java.lang.Override @@ -698,8 +642,6 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -707,19 +649,16 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; - * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -727,27 +666,23 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; - * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_; + private int attemptResponseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ @java.lang.Override @@ -755,38 +690,32 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; - * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -794,13 +723,8 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, - com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> - firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -809,15 +733,12 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -826,21 +747,16 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : firstAttemptStatus_; + return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -864,8 +780,6 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -887,8 +801,6 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -902,9 +814,7 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -916,8 +826,6 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -939,8 +847,6 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -951,13 +857,11 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-
+      
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -971,14 +875,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : firstAttemptStatus_;
+        return firstAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -989,17 +890,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(), getParentForChildren(), isClean());
+        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -1007,49 +905,36 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
-        lastAttemptStatusBuilder_;
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null - ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() - : lastAttemptStatus_; + return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1071,8 +956,6 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1092,8 +975,6 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1105,9 +986,7 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -1119,8 +998,6 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1140,8 +1017,6 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1150,13 +1025,11 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-
+      
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1168,14 +1041,11 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null
-            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
-            : lastAttemptStatus_;
+        return lastAttemptStatus_ == null ?
+            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1184,24 +1054,21 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus,
-            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta2.AttemptStatus,
-                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
-                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(), getParentForChildren(), isClean());
+        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(),
+                getParentForChildren(),
+                isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1211,12 +1078,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1225,16 +1092,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TaskStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TaskStatus(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TaskStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TaskStatus(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1249,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index b0d40449..4a065e60 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder
-    extends
+public interface TaskStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -33,28 +15,22 @@ public interface TaskStatusOrBuilder
    * 
* * int32 attempt_dispatch_count = 1; - * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; - * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -63,13 +39,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -78,13 +51,10 @@ public interface TaskStatusOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; - * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -97,34 +67,26 @@ public interface TaskStatusOrBuilder
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; - * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index c862f9eb..eb8253bd 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
- *
- *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, - com.google.cloud.tasks.v2beta2.Queue.Builder, - com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 61d01622..8314ea6a 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
similarity index 98%
rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
index c9107c4e..33f72097 100644
--- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
+++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java
@@ -65,13 +65,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -106,6 +106,20 @@ * CloudTasksClient cloudTasksClient = CloudTasksClient.create(cloudTasksSettings); * }
* + *

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -1188,7 +1202,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1223,7 +1237,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1255,7 +1269,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1280,10 +1294,6 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } - public final Policy getIamPolicy(QueueName queueName) { - return getIamPolicy((ResourceName) queueName); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1293,7 +1303,7 @@ public final Policy getIamPolicy(QueueName queueName) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1329,7 +1339,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1372,7 +1382,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1412,7 +1422,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1438,10 +1448,6 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } - public final Policy setIamPolicy(QueueName queue, Policy policy) { - return setIamPolicy((ResourceName) queue, policy); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1454,7 +1460,7 @@ public final Policy setIamPolicy(QueueName queue, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1591,11 +1597,6 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } - public final TestIamPermissionsResponse testIamPermissions( - QueueName queue, List permissions) { - return testIamPermissions((ResourceName) queue, permissions); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1914,7 +1915,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1973,7 +1974,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2029,7 +2030,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2061,7 +2062,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2413,10 +2414,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2463,10 +2461,7 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, - ListQueuesResponse, - Queue, - ListQueuesPage, + ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 92% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 4b670b0a..6e3e2093 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java @@ -24,10 +24,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -48,9 +50,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -185,11 +187,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return CloudTasksStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return CloudTasksStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return CloudTasksStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return CloudTasksStubSettings.defaultTransportChannelProvider(); } @@ -199,11 +208,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return CloudTasksStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -241,6 +256,11 @@ private static Builder createDefault() { return new Builder(CloudTasksStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(CloudTasksStubSettings.newHttpJsonBuilder()); + } + public CloudTasksStubSettings.Builder getStubSettingsBuilder() { return ((CloudTasksStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 93% rename from google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index d7342118..0e7734c5 100644 --- a/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -80,9 +83,9 @@ *

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

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

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

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudTasksCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java new file mode 100644 index 00000000..9b9fdbd6 --- /dev/null +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java @@ -0,0 +1,984 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2beta3.stub; + +import static com.google.cloud.tasks.v2beta3.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2beta3.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.tasks.v2beta3.CreateQueueRequest; +import com.google.cloud.tasks.v2beta3.CreateTaskRequest; +import com.google.cloud.tasks.v2beta3.DeleteQueueRequest; +import com.google.cloud.tasks.v2beta3.DeleteTaskRequest; +import com.google.cloud.tasks.v2beta3.GetQueueRequest; +import com.google.cloud.tasks.v2beta3.GetTaskRequest; +import com.google.cloud.tasks.v2beta3.ListQueuesRequest; +import com.google.cloud.tasks.v2beta3.ListQueuesResponse; +import com.google.cloud.tasks.v2beta3.ListTasksRequest; +import com.google.cloud.tasks.v2beta3.ListTasksResponse; +import com.google.cloud.tasks.v2beta3.PauseQueueRequest; +import com.google.cloud.tasks.v2beta3.PurgeQueueRequest; +import com.google.cloud.tasks.v2beta3.Queue; +import com.google.cloud.tasks.v2beta3.ResumeQueueRequest; +import com.google.cloud.tasks.v2beta3.RunTaskRequest; +import com.google.cloud.tasks.v2beta3.Task; +import com.google.cloud.tasks.v2beta3.UpdateQueueRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the CloudTasks service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudTasksStub extends CloudTasksStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listQueuesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/ListQueues") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "readMask", request.getReadMask()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListQueuesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/GetQueue") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "readMask", request.getReadMask()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/CreateQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{parent=projects/*/locations/*}/queues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/UpdateQueue") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{queue.name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "queue.name", request.getQueue().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("queue", request.getQueue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/DeleteQueue") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor purgeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/PurgeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*}:purge", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor pauseQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/PauseQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*}:pause", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor resumeQueueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/ResumeQueue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*}:resume", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Queue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/GetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listTasksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/ListTasks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam( + fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListTasksResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/GetTask") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "responseView", request.getResponseView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/CreateTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/DeleteTask") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor runTaskMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.tasks.v2beta3.CloudTasks/RunTask") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Task.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listQueuesCallable; + private final UnaryCallable listQueuesPagedCallable; + private final UnaryCallable getQueueCallable; + private final UnaryCallable createQueueCallable; + private final UnaryCallable updateQueueCallable; + private final UnaryCallable deleteQueueCallable; + private final UnaryCallable purgeQueueCallable; + private final UnaryCallable pauseQueueCallable; + private final UnaryCallable resumeQueueCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable listTasksCallable; + private final UnaryCallable listTasksPagedCallable; + private final UnaryCallable getTaskCallable; + private final UnaryCallable createTaskCallable; + private final UnaryCallable deleteTaskCallable; + private final UnaryCallable runTaskCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonCloudTasksStub create(CloudTasksStubSettings settings) + throws IOException { + return new HttpJsonCloudTasksStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonCloudTasksStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonCloudTasksStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonCloudTasksStub( + CloudTasksStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub(CloudTasksStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonCloudTasksCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonCloudTasksStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonCloudTasksStub( + CloudTasksStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings listQueuesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listQueuesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings purgeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(purgeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pauseQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pauseQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings resumeQueueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resumeQueueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listTasksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listTasksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings runTaskTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(runTaskMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listQueuesCallable = + callableFactory.createUnaryCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.listQueuesPagedCallable = + callableFactory.createPagedCallable( + listQueuesTransportSettings, settings.listQueuesSettings(), clientContext); + this.getQueueCallable = + callableFactory.createUnaryCallable( + getQueueTransportSettings, settings.getQueueSettings(), clientContext); + this.createQueueCallable = + callableFactory.createUnaryCallable( + createQueueTransportSettings, settings.createQueueSettings(), clientContext); + this.updateQueueCallable = + callableFactory.createUnaryCallable( + updateQueueTransportSettings, settings.updateQueueSettings(), clientContext); + this.deleteQueueCallable = + callableFactory.createUnaryCallable( + deleteQueueTransportSettings, settings.deleteQueueSettings(), clientContext); + this.purgeQueueCallable = + callableFactory.createUnaryCallable( + purgeQueueTransportSettings, settings.purgeQueueSettings(), clientContext); + this.pauseQueueCallable = + callableFactory.createUnaryCallable( + pauseQueueTransportSettings, settings.pauseQueueSettings(), clientContext); + this.resumeQueueCallable = + callableFactory.createUnaryCallable( + resumeQueueTransportSettings, settings.resumeQueueSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.listTasksCallable = + callableFactory.createUnaryCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.listTasksPagedCallable = + callableFactory.createPagedCallable( + listTasksTransportSettings, settings.listTasksSettings(), clientContext); + this.getTaskCallable = + callableFactory.createUnaryCallable( + getTaskTransportSettings, settings.getTaskSettings(), clientContext); + this.createTaskCallable = + callableFactory.createUnaryCallable( + createTaskTransportSettings, settings.createTaskSettings(), clientContext); + this.deleteTaskCallable = + callableFactory.createUnaryCallable( + deleteTaskTransportSettings, settings.deleteTaskSettings(), clientContext); + this.runTaskCallable = + callableFactory.createUnaryCallable( + runTaskTransportSettings, settings.runTaskSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listQueuesMethodDescriptor); + methodDescriptors.add(getQueueMethodDescriptor); + methodDescriptors.add(createQueueMethodDescriptor); + methodDescriptors.add(updateQueueMethodDescriptor); + methodDescriptors.add(deleteQueueMethodDescriptor); + methodDescriptors.add(purgeQueueMethodDescriptor); + methodDescriptors.add(pauseQueueMethodDescriptor); + methodDescriptors.add(resumeQueueMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(listTasksMethodDescriptor); + methodDescriptors.add(getTaskMethodDescriptor); + methodDescriptors.add(createTaskMethodDescriptor); + methodDescriptors.add(deleteTaskMethodDescriptor); + methodDescriptors.add(runTaskMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listQueuesCallable() { + return listQueuesCallable; + } + + @Override + public UnaryCallable listQueuesPagedCallable() { + return listQueuesPagedCallable; + } + + @Override + public UnaryCallable getQueueCallable() { + return getQueueCallable; + } + + @Override + public UnaryCallable createQueueCallable() { + return createQueueCallable; + } + + @Override + public UnaryCallable updateQueueCallable() { + return updateQueueCallable; + } + + @Override + public UnaryCallable deleteQueueCallable() { + return deleteQueueCallable; + } + + @Override + public UnaryCallable purgeQueueCallable() { + return purgeQueueCallable; + } + + @Override + public UnaryCallable pauseQueueCallable() { + return pauseQueueCallable; + } + + @Override + public UnaryCallable resumeQueueCallable() { + return resumeQueueCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable listTasksCallable() { + return listTasksCallable; + } + + @Override + public UnaryCallable listTasksPagedCallable() { + return listTasksPagedCallable; + } + + @Override + public UnaryCallable getTaskCallable() { + return getTaskCallable; + } + + @Override + public UnaryCallable createTaskCallable() { + return createTaskCallable; + } + + @Override + public UnaryCallable deleteTaskCallable() { + return deleteTaskCallable; + } + + @Override + public UnaryCallable runTaskCallable() { + return runTaskCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java new file mode 100644 index 00000000..00cd0812 --- /dev/null +++ b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java @@ -0,0 +1,1628 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.tasks.v2beta3; + +import static com.google.cloud.tasks.v2beta3.CloudTasksClient.ListQueuesPagedResponse; +import static com.google.cloud.tasks.v2beta3.CloudTasksClient.ListTasksPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.tasks.v2beta3.stub.HttpJsonCloudTasksStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class CloudTasksClientHttpJsonTest { + private static MockHttpService mockService; + private static CloudTasksClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonCloudTasksStub.getMethodDescriptors(), CloudTasksSettings.getDefaultEndpoint()); + CloudTasksSettings settings = + CloudTasksSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + CloudTasksSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = CloudTasksClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listQueuesTest() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listQueuesTest2() throws Exception { + Queue responsesElement = Queue.newBuilder().build(); + ListQueuesResponse expectedResponse = + ListQueuesResponse.newBuilder() + .setNextPageToken("") + .addAllQueues(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListQueuesPagedResponse pagedListResponse = client.listQueues(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getQueuesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listQueuesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listQueues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.getQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.getQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + + Queue actualResponse = client.createQueue(parent, queue); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Queue queue = Queue.newBuilder().build(); + client.createQueue(parent, queue); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Queue actualResponse = client.updateQueue(queue, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Queue queue = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateQueue(queue, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteQueueTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + client.deleteQueue(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.deleteQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void purgeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.purgeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void purgeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.purgeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.pauseQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.pauseQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeQueueTest2() throws Exception { + Queue expectedResponse = + Queue.newBuilder() + .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString()) + .setRateLimits(RateLimits.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setPurgeTime(Timestamp.newBuilder().build()) + .setTaskTtl(Duration.newBuilder().build()) + .setTombstoneTtl(Duration.newBuilder().build()) + .setStackdriverLoggingConfig(StackdriverLoggingConfig.newBuilder().build()) + .setStats(QueueStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + + Queue actualResponse = client.resumeQueue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeQueueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3918/locations/location-3918/queues/queue-3918"; + client.resumeQueue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1711/locations/location-1711/queues/queue-1711"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTasksTest2() throws Exception { + Task responsesElement = Task.newBuilder().build(); + ListTasksResponse expectedResponse = + ListTasksResponse.newBuilder() + .setNextPageToken("") + .addAllTasks(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + + ListTasksPagedResponse pagedListResponse = client.listTasks(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTasksList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTasksExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + client.listTasks(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.getTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.getTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueueName parent = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + + Task actualResponse = client.createTask(parent, task); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7117/locations/location-7117/queues/queue-7117"; + Task task = Task.newBuilder().build(); + client.createTask(parent, task); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTaskTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + client.deleteTask(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.deleteTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TaskName name = TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]"); + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runTaskTest2() throws Exception { + Task expectedResponse = + Task.newBuilder() + .setName(TaskName.of("[PROJECT]", "[LOCATION]", "[QUEUE]", "[TASK]").toString()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setDispatchDeadline(Duration.newBuilder().build()) + .setDispatchCount(-1217252086) + .setResponseCount(424727441) + .setFirstAttempt(Attempt.newBuilder().build()) + .setLastAttempt(Attempt.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + + Task actualResponse = client.runTask(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runTaskExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3612/locations/location-3612/queues/queue-3612/tasks/task-3612"; + client.runTask(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java similarity index 57% rename from grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java rename to owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java index f661a208..86628889 100644 --- a/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java +++ b/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.tasks.v2beta3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -36,755 +19,576 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-      getListQueuesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
-            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
-        getListQueuesMethod;
+  public static io.grpc.MethodDescriptor getListQueuesMethod() {
+    io.grpc.MethodDescriptor getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod =
-              getListQueuesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-                      .build();
+          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+              .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getGetQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getGetQueueMethod;
+  public static io.grpc.MethodDescriptor getGetQueueMethod() {
+    io.grpc.MethodDescriptor getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod =
-              getGetQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-                      .build();
+          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+              .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getCreateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
+    io.grpc.MethodDescriptor getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod =
-              getCreateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-                      .build();
+          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+              .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod =
-              getUpdateQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-                      .build();
+          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+              .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-      getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
-        getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod =
-              getDeleteQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-                      .build();
+          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+              .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod =
-              getPurgeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-                      .build();
+          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+              .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getPauseQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
+    io.grpc.MethodDescriptor getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod =
-              getPauseQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-                      .build();
+          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+              .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-      getResumeQueueMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
-        getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
+    io.grpc.MethodDescriptor getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod =
-              getResumeQueueMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-                      .build();
+          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+              .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  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<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  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<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  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<
-          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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.ListTasksRequest,
-          com.google.cloud.tasks.v2beta3.ListTasksResponse>
-      getListTasksMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.ListTasksRequest,
-            com.google.cloud.tasks.v2beta3.ListTasksResponse>
-        getListTasksMethod;
+  public static io.grpc.MethodDescriptor getListTasksMethod() {
+    io.grpc.MethodDescriptor getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.ListTasksResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+              .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getGetTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getGetTaskMethod;
+  public static io.grpc.MethodDescriptor getGetTaskMethod() {
+    io.grpc.MethodDescriptor getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-                      .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+              .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getCreateTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
+    io.grpc.MethodDescriptor getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod =
-              getCreateTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-                      .build();
+          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+              .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-      getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
-        getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod =
-              getDeleteTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-                      .build();
+          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+              .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-      getRunTaskMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
-        getRunTaskMethod;
+  public static io.grpc.MethodDescriptor getRunTaskMethod() {
+    io.grpc.MethodDescriptor getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod =
-              getRunTaskMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-                      .build();
+          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+              .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksStub(channel, callOptions);
+        }
+      };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksBlockingStub(channel, callOptions);
+        }
+      };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudTasksFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudTasksFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudTasksFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudTasksFutureStub(channel, callOptions);
+        }
+      };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public abstract static class CloudTasksImplBase implements io.grpc.BindableService { + public static abstract class CloudTasksImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -798,16 +602,12 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -823,16 +623,12 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -846,16 +642,12 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -863,15 +655,12 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -881,15 +670,12 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -904,16 +690,12 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -924,16 +706,12 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -945,16 +723,12 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -964,17 +738,12 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -985,44 +754,34 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1030,15 +789,12 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1061,168 +817,171 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>( + this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>( + this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a queue.
      * 
*/ - public void getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1236,18 +995,13 @@ public void getQueue(
      * this method.
      * 
*/ - public void createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1263,18 +1017,13 @@ public void createQueue(
      * this method.
      * 
*/ - public void updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1288,18 +1037,13 @@ public void updateQueue(
      * this method.
      * 
*/ - public void deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1307,16 +1051,13 @@ public void deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1326,16 +1067,13 @@ public void purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1350,18 +1088,13 @@ public void pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1372,18 +1105,13 @@ public void resumeQueue(
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1395,18 +1123,13 @@ public void getIamPolicy(
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1416,19 +1139,13 @@ public void setIamPolicy(
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1439,47 +1156,37 @@ public void testIamPermissions(
      * time.
      * 
*/ - public void listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a task.
      * 
*/ - public void getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1487,16 +1194,13 @@ public void createTask(
      * failed.
      * 
*/ - public void deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1519,8 +1223,7 @@ public void deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1528,16 +1231,14 @@ public void runTask( } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1548,35 +1249,27 @@ protected CloudTasksBlockingStub build( } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1590,15 +1283,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue( - com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1614,15 +1304,12 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1636,15 +1323,12 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1652,15 +1336,12 @@ public com.google.protobuf.Empty deleteQueue(
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1670,15 +1351,12 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue( - com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1693,15 +1371,12 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1718,8 +1393,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1737,8 +1410,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1748,15 +1419,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1767,43 +1435,34 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( - com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1811,15 +1470,12 @@ public com.google.cloud.tasks.v2beta3.Task createTask(
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask( - com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1842,63 +1498,54 @@ public com.google.protobuf.Empty deleteTask(
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask( - com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** - * - * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** - * - * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListQueuesResponse> - listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1912,15 +1559,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1936,15 +1581,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1958,15 +1601,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * this method.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1974,15 +1615,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1992,15 +1631,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2015,15 +1652,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2034,15 +1669,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + 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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -2054,15 +1687,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + 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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2072,16 +1703,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * may "fail open" without warning.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + 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); } /** - * - * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -2092,44 +1720,37 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * time.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.tasks.v2beta3.ListTasksResponse> - listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2144,8 +1765,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2168,8 +1787,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture runTask(
+        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2192,11 +1811,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2210,86 +1829,67 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues(
-              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue(
-              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue(
-              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue(
-              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue(
-              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue(
-              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue(
-              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue(
-              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy(
-              (com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks(
-              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask(
-              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask(
-              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask(
-              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask(
-              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2308,9 +1908,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2352,27 +1951,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-                      .addMethod(getListQueuesMethod())
-                      .addMethod(getGetQueueMethod())
-                      .addMethod(getCreateQueueMethod())
-                      .addMethod(getUpdateQueueMethod())
-                      .addMethod(getDeleteQueueMethod())
-                      .addMethod(getPurgeQueueMethod())
-                      .addMethod(getPauseQueueMethod())
-                      .addMethod(getResumeQueueMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .addMethod(getListTasksMethod())
-                      .addMethod(getGetTaskMethod())
-                      .addMethod(getCreateTaskMethod())
-                      .addMethod(getDeleteTaskMethod())
-                      .addMethod(getRunTaskMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+              .addMethod(getListQueuesMethod())
+              .addMethod(getGetQueueMethod())
+              .addMethod(getCreateQueueMethod())
+              .addMethod(getUpdateQueueMethod())
+              .addMethod(getDeleteQueueMethod())
+              .addMethod(getPurgeQueueMethod())
+              .addMethod(getPauseQueueMethod())
+              .addMethod(getResumeQueueMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .addMethod(getListTasksMethod())
+              .addMethod(getGetTaskMethod())
+              .addMethod(getCreateTaskMethod())
+              .addMethod(getDeleteTaskMethod())
+              .addMethod(getRunTaskMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index 2443b42f..f7b2a5bb 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -36,29 +19,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpQueue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AppEngineHttpQueue() {}
+  private AppEngineHttpQueue() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,29 +61,26 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRoutingOverride_ != null) {
-                subBuilder = appEngineRoutingOverride_.toBuilder();
-              }
-              appEngineRoutingOverride_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRoutingOverride_);
-                appEngineRoutingOverride_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRoutingOverride_ != null) {
+              subBuilder = appEngineRoutingOverride_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRoutingOverride_);
+              appEngineRoutingOverride_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,33 +88,29 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -143,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -151,8 +127,6 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -162,18 +136,13 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -185,13 +154,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-      getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,7 +170,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 (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -217,9 +185,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, getAppEngineRoutingOverride());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,17 +196,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
-        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride()
+          .equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -262,103 +229,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -374,23 +334,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -398,15 +356,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -441,8 +400,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -456,39 +414,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -520,8 +476,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -533,13 +488,8 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
-        appEngineRoutingOverrideBuilder_;
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -549,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -567,21 +514,16 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** - * - * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -592,8 +534,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -607,8 +548,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -631,8 +570,6 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -643,14 +580,11 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(
-        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -662,8 +596,6 @@ public Builder mergeAppEngineRoutingOverride(
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -686,8 +618,6 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -698,15 +628,12 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
-        getAppEngineRoutingOverrideBuilder() {
-
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
+      
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -717,19 +644,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
-        getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
       }
     }
     /**
-     *
-     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -741,24 +664,21 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
+        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(),
+                getParentForChildren(),
+                isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
-
     @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);
     }
 
@@ -768,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -782,16 +702,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppEngineHttpQueue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AppEngineHttpQueue(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppEngineHttpQueue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AppEngineHttpQueue(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -806,4 +726,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 1f9d6f5b..0abf3214 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder
-    extends
+public interface AppEngineHttpQueueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -35,13 +17,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -51,13 +30,10 @@ public interface AppEngineHttpQueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; - * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** - * - * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index c4f1b564..e8370812 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -76,16 +59,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -94,15 +76,16 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -122,62 +105,56 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -185,44 +162,41 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -234,16 +208,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -255,22 +225,17 @@ public int getHttpMethodValue() {
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -280,7 +245,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -288,8 +252,6 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -299,18 +261,13 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -329,8 +286,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -340,7 +295,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -349,15 +303,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -367,15 +320,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -384,23 +338,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -409,8 +364,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -449,22 +402,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -504,12 +457,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -549,16 +501,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -598,11 +550,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -612,8 +565,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -621,7 +572,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -630,7 +580,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -642,9 +591,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -653,8 +602,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -667,28 +620,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -698,22 +653,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,103 +703,96 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -897,43 +848,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -941,15 +892,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -970,9 +922,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -991,8 +943,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
-          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -1012,39 +963,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1052,8 +1002,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1064,7 +1013,8 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1087,8 +1037,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1097,13 +1046,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1115,16 +1061,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1136,19 +1078,16 @@ public int getHttpMethodValue() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1160,19 +1099,15 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1184,7 +1119,6 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1192,14 +1126,12 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1211,11 +1143,10 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1223,13 +1154,8 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, - com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, - com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1239,15 +1165,12 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1257,21 +1180,16 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1296,8 +1214,6 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,8 +1236,6 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,9 +1250,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1350,8 +1262,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1374,8 +1284,6 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1387,13 +1295,11 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-
+      
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1408,14 +1314,11 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null
-            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
-            : appEngineRouting_;
+        return appEngineRouting_ == null ?
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
       }
     }
     /**
-     *
-     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1427,17 +1330,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineRouting,
-                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(), getParentForChildren(), isClean());
+        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(),
+                getParentForChildren(),
+                isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1445,8 +1345,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
-     *
-     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1456,13 +1354,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1471,8 +1369,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1482,14 +1378,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1497,8 +1394,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1508,22 +1403,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1533,18 +1426,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1554,36 +1444,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1595,8 +1486,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1635,22 +1524,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1690,12 +1579,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1735,17 +1623,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1785,11 +1672,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1797,12 +1685,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1841,21 +1728,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1894,20 +1783,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1946,15 +1834,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1962,7 +1851,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1970,8 +1858,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1979,22 +1865,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -2002,18 +1885,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2023,12 +1905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -2037,16 +1919,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2061,4 +1943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index b7415b57..8b399cf6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder - extends +public interface AppEngineHttpRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -37,13 +19,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -55,14 +34,11 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -72,13 +48,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -88,13 +61,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -108,8 +78,6 @@ public interface AppEngineHttpRequestOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -119,13 +87,10 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -135,14 +100,12 @@ public interface AppEngineHttpRequestOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -183,8 +146,6 @@ public interface AppEngineHttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -223,13 +184,15 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -268,10 +231,9 @@ public interface AppEngineHttpRequestOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -312,13 +274,11 @@ public interface AppEngineHttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -357,11 +317,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -369,7 +329,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 99d0cc4b..5941632c 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -57,15 +39,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84,41 +67,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,33 +105,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -171,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -180,15 +154,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -207,15 +180,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -226,8 +200,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -246,7 +218,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -255,15 +226,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -282,15 +252,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -301,8 +272,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,7 +287,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -327,15 +295,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -351,15 +318,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -370,8 +338,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,7 +351,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -394,15 +359,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -416,15 +380,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -433,7 +398,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,7 +409,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -487,18 +452,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.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = - (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -523,104 +491,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -638,23 +599,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -662,15 +621,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -686,9 +646,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -707,8 +667,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
-          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -721,39 +680,38 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -761,8 +719,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -810,8 +767,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -830,13 +785,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -845,8 +800,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -865,14 +818,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -880,8 +834,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -900,22 +852,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -934,18 +884,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -964,16 +911,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -981,8 +928,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1001,13 +946,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1016,8 +961,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1036,14 +979,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1051,8 +995,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1071,22 +1013,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1105,18 +1045,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1135,16 +1072,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1152,8 +1089,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1169,13 +1104,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1184,8 +1119,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1201,14 +1134,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1216,8 +1150,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1233,22 +1165,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1264,18 +1194,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1291,16 +1218,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1308,8 +1235,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1323,13 +1248,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1338,8 +1263,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1353,14 +1276,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1368,8 +1292,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1383,22 +1305,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1412,18 +1332,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1437,23 +1354,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1477,16 +1394,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,4 +1418,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index b6a7c17e..c7550993 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -44,13 +26,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -69,14 +48,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -95,13 +72,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -120,14 +94,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -143,13 +115,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -165,14 +134,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -186,13 +153,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -206,8 +170,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 178ff60f..2a3aa36d 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Attempt extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Attempt() {} + private Attempt() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,73 +52,65 @@ private Attempt( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); } - case 34: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); - } - - break; + dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,40 +118,35 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -183,26 +154,19 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -218,15 +182,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -234,26 +195,19 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -269,15 +223,12 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -285,26 +236,19 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -320,8 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -329,7 +271,6 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -337,8 +278,6 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -346,7 +285,6 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ @java.lang.Override @@ -354,8 +292,6 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -370,7 +306,6 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -382,7 +317,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 (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -405,16 +341,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -424,7 +364,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -433,19 +373,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime()
+          .equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime().equals(other.getResponseTime())) return false;
+      if (!getResponseTime()
+          .equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus()
+          .equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -479,127 +423,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, - com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -607,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -668,8 +604,7 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = - new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -698,39 +633,38 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); } else { super.mergeFrom(other); return this; @@ -782,49 +716,36 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -846,8 +767,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -855,7 +774,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -866,8 +786,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -879,9 +797,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -893,8 +809,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -914,8 +828,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -924,13 +836,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -942,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -958,17 +865,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -976,49 +880,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        dispatchTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : dispatchTime_; + return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1040,8 +931,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1049,7 +938,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -1060,8 +950,6 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1073,9 +961,7 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -1087,8 +973,6 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1108,8 +992,6 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1118,13 +1000,11 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-
+      
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1136,14 +1016,11 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : dispatchTime_;
+        return dispatchTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1152,17 +1029,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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> 
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(), getParentForChildren(), isClean());
+        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(),
+                getParentForChildren(),
+                isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1170,49 +1044,36 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        responseTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : responseTime_; + return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1234,8 +1095,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1243,7 +1102,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1254,8 +1114,6 @@ public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1267,9 +1125,7 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-              com.google.protobuf.Timestamp.newBuilder(responseTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1281,8 +1137,6 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1302,8 +1156,6 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1312,13 +1164,11 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-
+      
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1330,14 +1180,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : responseTime_;
+        return responseTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1346,17 +1193,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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> 
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(), getParentForChildren(), isClean());
+        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(),
+                getParentForChildren(),
+                isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1364,11 +1208,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        responseStatusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1376,15 +1217,12 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1392,21 +1230,16 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : responseStatus_; + return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1429,8 +1262,6 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1439,7 +1270,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1450,8 +1282,6 @@ public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1464,7 +1294,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1476,8 +1306,6 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1498,8 +1326,6 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1509,13 +1335,11 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-
+      
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1528,14 +1352,11 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null
-            ? com.google.rpc.Status.getDefaultInstance()
-            : responseStatus_;
+        return responseStatus_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1545,22 +1366,21 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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> 
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(), getParentForChildren(), isClean());
+        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(),
+                getParentForChildren(),
+                isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
-
     @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);
     }
 
@@ -1570,12 +1390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1584,16 +1404,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Attempt parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Attempt(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Attempt parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Attempt(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1608,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 9b943d64..0151d1c3 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder
-    extends
+public interface AttemptOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -62,34 +38,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; - * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** - * - * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -100,34 +68,26 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; - * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** - * - * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -138,8 +98,6 @@ public interface AttemptOrBuilder
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -147,13 +105,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -161,13 +116,10 @@ public interface AttemptOrBuilder
    * 
* * .google.rpc.Status response_status = 4; - * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** - * - * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..13ed882f
--- /dev/null
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,359 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." +
+      "proto\022\032google.cloud.tasks.v2beta3\032\034googl" +
+      "e/api/annotations.proto\032\027google/api/clie" +
+      "nt.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032&google/clo" +
+      "ud/tasks/v2beta3/queue.proto\032%google/clo" +
+      "ud/tasks/v2beta3/task.proto\032\036google/iam/" +
+      "v1/iam_policy.proto\032\032google/iam/v1/polic" +
+      "y.proto\032\033google/protobuf/empty.proto\032 go" +
+      "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" +
+      "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" +
+      "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" +
+      "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" +
+      " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" +
+      "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" +
+      "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" +
+      "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" +
+      "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" +
+      "udtasks.googleapis.com/Queue\0222\n\tread_mas" +
+      "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" +
+      "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" +
+      "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" +
+      "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" +
+      "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" +
+      "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" +
+      "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" +
+      "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" +
+      "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" +
+      "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" +
+      "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" +
+      "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" +
+      "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" +
+      ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" +
+      "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" +
+      "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" +
+      " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" +
+      "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" +
+      "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" +
+      "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" +
+      "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" +
+      "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" +
+      "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" +
+      " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" +
+      "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" +
+      "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" +
+      "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" +
+      "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" +
+      "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" +
+      "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" +
+      "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " +
+      "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" +
+      "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" +
+      "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" +
+      "response_view\030\002 \001(\0162%.google.cloud.tasks" +
+      ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" +
+      "stQueues\022-.google.cloud.tasks.v2beta3.Li" +
+      "stQueuesRequest\032..google.cloud.tasks.v2b" +
+      "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" +
+      "3/{parent=projects/*/locations/*}/queues" +
+      "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" +
+      "sks.v2beta3.GetQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}\332" +
+      "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" +
+      "sks.v2beta3.CreateQueueRequest\032!.google." +
+      "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" +
+      "ta3/{parent=projects/*/locations/*}/queu" +
+      "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" +
+      "\022..google.cloud.tasks.v2beta3.UpdateQueu" +
+      "eRequest\032!.google.cloud.tasks.v2beta3.Qu" +
+      "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" +
+      "ts/*/locations/*/queues/*}:\005queue\332A\021queu" +
+      "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" +
+      "loud.tasks.v2beta3.DeleteQueueRequest\032\026." +
+      "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" +
+      "{name=projects/*/locations/*/queues/*}\332A" +
+      "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" +
+      "s.v2beta3.PurgeQueueRequest\032!.google.clo" +
+      "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" +
+      "/{name=projects/*/locations/*/queues/*}:" +
+      "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." +
+      "cloud.tasks.v2beta3.PauseQueueRequest\032!." +
+      "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" +
+      "\"5/v2beta3/{name=projects/*/locations/*/" +
+      "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" +
+      "e\022..google.cloud.tasks.v2beta3.ResumeQue" +
+      "ueRequest\032!.google.cloud.tasks.v2beta3.Q" +
+      "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" +
+      "locations/*/queues/*}:resume:\001*\332A\004name\022\241" +
+      "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" +
+      "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" +
+      "\002E\"@/v2beta3/{resource=projects/*/locati" +
+      "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" +
+      "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" +
+      "amPolicyRequest\032\025.google.iam.v1.Policy\"]" +
+      "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" +
+      "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" +
+      "source,policy\022\323\001\n\022TestIamPermissions\022(.g" +
+      "oogle.iam.v1.TestIamPermissionsRequest\032)" +
+      ".google.iam.v1.TestIamPermissionsRespons" +
+      "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" +
+      "/locations/*/queues/*}:testIamPermission" +
+      "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" +
+      "s\022,.google.cloud.tasks.v2beta3.ListTasks" +
+      "Request\032-.google.cloud.tasks.v2beta3.Lis" +
+      "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" +
+      "=projects/*/locations/*/queues/*}/tasks\332" +
+      "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" +
+      "s.v2beta3.GetTaskRequest\032 .google.cloud." +
+      "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" +
+      "me=projects/*/locations/*/queues/*/tasks" +
+      "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" +
+      ".tasks.v2beta3.CreateTaskRequest\032 .googl" +
+      "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" +
+      "eta3/{parent=projects/*/locations/*/queu" +
+      "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" +
+      "ask\022-.google.cloud.tasks.v2beta3.DeleteT" +
+      "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" +
+      "\0029*7/v2beta3/{name=projects/*/locations/" +
+      "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" +
+      ".google.cloud.tasks.v2beta3.RunTaskReque" +
+      "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" +
+      "\344\223\002@\";/v2beta3/{name=projects/*/location" +
+      "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" +
+      "cloudtasks.googleapis.com\322A.https://www." +
+      "googleapis.com/auth/cloud-platformB|\n\036co" +
+      "m.google.cloud.tasks.v2beta3B\017CloudTasks" +
+      "ProtoP\001Z?google.golang.org/genproto/goog" +
+      "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" +
+      "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+          com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+          com.google.iam.v1.IamPolicyProto.getDescriptor(),
+          com.google.iam.v1.PolicyProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+        new java.lang.String[] { "Queues", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+        new java.lang.String[] { "Name", "ReadMask", });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+        new java.lang.String[] { "Parent", "Queue", });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+        new java.lang.String[] { "Queue", "UpdateMask", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+        new java.lang.String[] { "Tasks", "NextPageToken", });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+        new java.lang.String[] { "Parent", "Task", "ResponseView", });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+        new java.lang.String[] { "Name", "ResponseView", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 91bd1d65..077c4486 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 @@ -154,15 +126,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 location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -171,18 +142,17 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 { @@ -193,16 +163,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -210,16 +176,12 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -227,15 +189,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -243,7 +202,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,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_); } @@ -275,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +245,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.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue().equals(other.getQueue())) return false; + if (!getQueue() + .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,126 +282,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, - com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -448,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -493,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = - new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -509,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -577,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,8 +539,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -600,16 +547,14 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,8 +563,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -628,17 +571,16 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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 { @@ -646,8 +588,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -656,25 +596,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -683,21 +619,16 @@ public Builder setParent(java.lang.String value) {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -706,19 +637,17 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * - * 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; @@ -726,37 +655,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -767,15 +685,12 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -791,17 +706,15 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -812,23 +725,18 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -840,15 +748,12 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -862,69 +767,58 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; } - @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); } @@ -934,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -948,16 +842,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +866,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index ffa30b22..bdfd7d8a 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder - extends +public interface CreateQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -34,16 +16,11 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -52,52 +29,39 @@ public interface CreateQueueRequestOrBuilder
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 07fe1038..57aa86ab 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); } - case 18: - { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); - } - - break; + task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,43 +93,36 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 @@ -160,33 +131,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 { @@ -197,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -230,9 +197,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ @java.lang.Override @@ -240,8 +205,6 @@ public boolean hasTask() { return task_ != null; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -273,9 +236,7 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ @java.lang.Override @@ -283,8 +244,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -316,8 +275,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -327,8 +285,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -343,16 +299,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -367,19 +319,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +339,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_); } @@ -414,10 +363,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,18 +378,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.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = - (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask().equals(other.getTask())) return false; + if (!getTask() + .equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -465,127 +417,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, - com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -593,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -640,8 +584,7 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = - new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -657,39 +600,38 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -697,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -740,24 +681,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -766,25 +703,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 { @@ -792,73 +726,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * - * 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; @@ -866,13 +787,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -904,17 +820,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -946,9 +858,7 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -959,8 +869,6 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,8 +900,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -1009,8 +916,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1042,10 +947,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -1056,8 +961,6 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,14 +992,13 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1108,8 +1010,6 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1141,8 +1041,7 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1156,8 +1055,6 @@ public Builder clearTask() { return this; } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1189,17 +1086,14 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1231,19 +1125,17 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** - * - * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1275,21 +1167,17 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), getParentForChildren(), isClean()); + taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), + getParentForChildren(), + isClean()); task_ = null; } return taskBuilder_; @@ -1297,8 +1185,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1313,16 +1199,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1337,19 +1219,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1364,19 +1243,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1391,7 +1266,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1399,14 +1273,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1421,18 +1293,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1442,12 +1313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1456,16 +1327,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1351,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 3dca068b..73c305d4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder - extends +public interface CreateTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * - * 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 task to add.
    * Task names have the following format:
@@ -90,15 +63,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the task field is set. */ boolean hasTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -130,15 +99,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** - * - * *
    * Required. The task to add.
    * Task names have the following format:
@@ -170,14 +135,11 @@ public interface CreateTaskRequestOrBuilder
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -192,13 +154,10 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -213,7 +172,6 @@ public interface CreateTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 1be3d865..2e413529 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = - new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..bf2e07c9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 23d7d974..637d4d5f 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = - (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..ba3331fa --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 22f86ccf..6deb7db0 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private GetQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -195,9 +164,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -205,8 +172,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -214,9 +179,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -224,8 +187,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -233,8 +194,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -242,7 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,7 +234,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +245,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.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = - (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +281,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, - com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -447,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -492,8 +446,7 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = - new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -508,39 +461,38 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +539,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -612,24 +560,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -637,70 +582,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -708,13 +640,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -722,17 +649,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -740,9 +663,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -753,8 +674,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -762,8 +681,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -779,8 +697,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -788,10 +704,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -802,8 +718,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -811,14 +725,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -830,8 +743,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -839,8 +750,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -854,8 +764,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -863,17 +771,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -881,19 +786,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -901,28 +804,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -932,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -946,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index f8c79d47..334e474b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder - extends +public interface GetQueueRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -64,15 +37,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -80,15 +49,11 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -96,8 +61,7 @@ public interface GetQueueRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index 4042daaa..af9e4c2e 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -44,15 +26,16 @@ private GetTaskRequest() { @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; } - private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetTaskRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + responseView_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,8 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -195,16 +165,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -219,19 +185,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +205,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_); } @@ -263,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,15 +237,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = - (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +267,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, - com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -431,15 +386,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -472,8 +428,7 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = - new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -484,39 +439,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -563,23 +517,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -588,24 +538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -613,70 +560,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -684,8 +618,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -700,16 +632,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -724,19 +652,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -751,19 +676,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -778,7 +699,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -786,14 +706,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -808,18 +726,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -829,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -843,16 +760,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 702b5ba7..5ffdb3d2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder - extends +public interface GetTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface GetTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index f6dd90bc..56c8b354 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 55ca2408..14c36862 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -48,16 +31,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -66,15 +48,16 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94,82 +77,71 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              url_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            url_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -177,51 +149,47 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -237,31 +205,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -273,7 +236,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -282,15 +244,14 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -302,15 +263,16 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -321,57 +283,49 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto - .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -380,8 +334,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -408,22 +360,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -451,12 +403,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -484,16 +435,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -521,11 +472,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -535,8 +487,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -545,7 +495,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -555,8 +504,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -567,7 +514,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -575,8 +521,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -587,19 +531,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -614,15 +555,13 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -634,7 +573,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -642,8 +580,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -655,19 +591,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -683,13 +616,12 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -701,16 +633,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -732,32 +668,31 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_
-        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -767,25 +702,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other =
-        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl().equals(other.getUrl())) return false;
+    if (!getUrl()
+        .equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -828,104 +767,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -953,43 +885,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class,
-              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -997,15 +929,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1022,9 +955,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1043,8 +976,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result =
-          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1074,39 +1006,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1122,25 +1053,23 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1170,12 +1099,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1189,8 +1118,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
-     *
-     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1202,13 +1129,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1217,8 +1144,6 @@ public java.lang.String getUrl() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1230,14 +1155,15 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1245,8 +1171,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1258,22 +1182,20 @@ public com.google.protobuf.ByteString getUrlBytes() {
      * 
* * string url = 1; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1285,18 +1207,15 @@ public Builder setUrl(java.lang.String value) {
      * 
* * string url = 1; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1308,16 +1227,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1325,65 +1244,51 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = - com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1391,44 +1296,42 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1440,8 +1343,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1468,22 +1369,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1511,12 +1412,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1544,17 +1444,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1582,11 +1481,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1594,12 +1494,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1626,21 +1525,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1667,20 +1568,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1707,15 +1607,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1724,7 +1625,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1732,8 +1632,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1742,22 +1640,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1766,24 +1661,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, - com.google.cloud.tasks.v2beta3.OAuthToken.Builder, - com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1794,7 +1683,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1802,8 +1690,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1814,7 +1700,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1832,8 +1717,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1859,8 +1742,6 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1884,8 +1765,6 @@ public Builder setOauthToken(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1899,14 +1778,10 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1922,8 +1797,6 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1952,8 +1825,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1969,8 +1840,6 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1994,8 +1863,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -2008,38 +1875,27 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OAuthToken,
-                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
-                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2051,7 +1907,6 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -2059,8 +1914,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2072,7 +1925,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -2090,8 +1942,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2118,8 +1968,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2132,7 +1980,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2143,8 +1992,6 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2159,14 +2006,10 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder bui
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_
-                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2182,8 +2025,6 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2213,8 +2054,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2231,8 +2070,6 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2257,8 +2094,6 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2272,32 +2107,26 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.OidcToken,
-                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
-                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2307,12 +2136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2321,16 +2150,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2345,4 +2174,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index a6be1e13..991d24a9 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.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/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder
-    extends
+public interface HttpRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -37,13 +19,10 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -55,39 +34,31 @@ public interface HttpRequestOrBuilder
    * 
* * string url = 1; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -116,8 +87,6 @@ public interface HttpRequestOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -144,13 +113,15 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -177,10 +148,9 @@ public interface HttpRequestOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -209,13 +179,11 @@ public interface HttpRequestOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -242,11 +210,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -255,14 +223,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,13 +238,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -290,13 +252,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -311,8 +270,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -324,13 +281,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -342,13 +296,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -363,6 +314,5 @@ java.lang.String getHeadersOrDefault(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
-      getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
 }
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index c08ca2b9..460c3866 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
- *
- *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,54 +55,49 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + pageToken_ = s; + break; + } + case 42: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,42 +105,35 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -171,32 +142,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -207,8 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -231,15 +197,14 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -253,15 +218,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -272,8 +238,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -284,7 +248,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -295,8 +258,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -308,7 +269,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -317,15 +277,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -337,15 +296,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -356,8 +316,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -365,9 +323,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -375,8 +331,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -384,9 +338,7 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -394,8 +346,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -403,8 +353,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -412,7 +361,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,7 +372,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_); } @@ -456,13 +405,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -472,21 +423,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = - (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -516,127 +471,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, - com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -644,15 +590,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -695,8 +642,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = - new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -714,39 +660,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); } else { super.mergeFrom(other); return this; @@ -754,8 +699,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -805,23 +749,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -830,24 +770,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -855,70 +792,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -926,8 +850,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -941,13 +863,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -956,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -971,14 +891,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -986,8 +907,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1001,22 +920,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1030,18 +947,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -1055,25 +969,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1084,7 +996,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1092,8 +1003,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1104,19 +1013,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1127,11 +1033,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1139,8 +1044,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1152,13 +1055,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1167,8 +1070,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1180,14 +1081,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1195,8 +1097,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1208,22 +1108,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1235,18 +1133,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1258,16 +1153,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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; @@ -1275,13 +1170,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1289,17 +1179,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1307,9 +1193,7 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1320,8 +1204,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1329,8 +1211,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1346,8 +1227,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1355,10 +1234,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1369,8 +1248,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1378,14 +1255,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1397,8 +1273,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1406,8 +1280,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1421,8 +1294,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1430,17 +1301,14 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1448,19 +1316,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1468,28 +1334,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @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); } @@ -1499,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1513,16 +1375,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1537,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 7d932d07..3ccd40a9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder - extends +public interface ListQueuesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -70,13 +43,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -90,14 +60,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -108,14 +76,11 @@ public interface ListQueuesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -127,13 +92,10 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -145,14 +107,12 @@ public interface ListQueuesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -160,15 +120,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -176,15 +132,11 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -192,8 +144,7 @@ public interface ListQueuesRequestOrBuilder
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index fdbf3dd3..d9110937 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListQueuesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - queues_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + queues_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -113,27 +94,22 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** - * - * *
    * The list of queues.
    * 
@@ -145,8 +121,6 @@ public java.util.List getQueuesList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -154,13 +128,11 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** - * - * *
    * The list of queues.
    * 
@@ -172,8 +144,6 @@ public int getQueuesCount() { return queues_.size(); } /** - * - * *
    * The list of queues.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** - * - * *
    * The list of queues.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -213,7 +180,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList().equals(other.getQueuesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getQueuesList() + .equals(other.getQueuesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, - com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = - new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getQueuesFieldBuilder() - : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getQueuesFieldBuilder() : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; /** - * - * *
      * The list of queues.
      * 
@@ -666,8 +613,6 @@ public java.util.List getQueuesList() { } } /** - * - * *
      * The list of queues.
      * 
@@ -682,8 +627,6 @@ public int getQueuesCount() { } } /** - * - * *
      * The list of queues.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
@@ -740,8 +680,6 @@ public Builder setQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -762,15 +700,14 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues( + int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderFor return this; } /** - * - * *
      * The list of queues.
      * 
@@ -823,8 +757,6 @@ public Builder addQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -835,7 +767,8 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllQueues( return this; } /** - * - * *
      * The list of queues.
      * 
@@ -862,8 +793,6 @@ public Builder clearQueues() { return this; } /** - * - * *
      * The list of queues.
      * 
@@ -881,44 +810,39 @@ public Builder removeQueues(int index) { return this; } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( + int index) { return getQueuesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index) { if (queuesBuilder_ == null) { - return queues_.get(index); - } else { + return queues_.get(index); } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde } } /** - * - * *
      * The list of queues.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { - return getQueuesFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( + int index) { + return getQueuesFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** - * - * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List getQueuesBuilderList() { + public java.util.List + getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); queues_ = null; } return queuesBuilder_; @@ -983,8 +900,6 @@ public java.util.List getQueuesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -995,13 +910,13 @@ public java.util.List getQueuesBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index ac61989f..a68c11f8 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder - extends +public interface ListQueuesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesList(); + java.util.List + getQueuesList(); /** - * - * *
    * The list of queues.
    * 
@@ -44,8 +25,6 @@ public interface ListQueuesResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** - * - * *
    * The list of queues.
    * 
@@ -54,29 +33,25 @@ public interface ListQueuesResponseOrBuilder */ int getQueuesCount(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List getQueuesOrBuilderList(); + java.util.List + getQueuesOrBuilderList(); /** - * - * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -87,13 +62,10 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -104,8 +76,8 @@ public interface ListQueuesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 44cfe1ea..8d36fc75 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -45,15 +27,16 @@ 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; } - private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTasksRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + parent_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,42 +92,35 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -208,16 +177,12 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -232,22 +197,17 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -258,7 +218,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -282,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -311,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -328,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +295,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_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -382,18 +340,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.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = - (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +378,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, - com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -546,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -591,8 +543,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = - new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -605,39 +556,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -645,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -692,23 +641,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -717,24 +662,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -742,70 +684,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,8 +742,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -829,16 +756,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -853,19 +776,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -880,19 +800,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -907,7 +823,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -915,14 +830,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -937,20 +850,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -961,7 +871,6 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -969,8 +878,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -981,19 +888,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -1004,11 +908,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1016,8 +919,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1029,13 +930,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1044,8 +945,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1057,14 +956,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1072,8 +972,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1085,22 +983,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1112,18 +1008,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1135,23 +1028,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1054,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1175,16 +1068,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index 39f56488..bfa87b6b 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,14 +62,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** - * - * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -110,14 +77,11 @@ public interface ListTasksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -129,13 +93,10 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -147,8 +108,8 @@ public interface ListTasksRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 09f702ea..287e34ea 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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,15 +26,16 @@ 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; } - private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTasksResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tasks_.add( - input.readMessage( - com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -113,27 +94,22 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The list of tasks.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The list of tasks.
    * 
@@ -172,8 +144,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The list of tasks.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The list of tasks.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -212,7 +179,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +187,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -239,15 +204,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,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)); } @@ -285,7 +251,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_); @@ -298,16 +265,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.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = - (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, - com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -458,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -505,8 +464,7 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = - new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +484,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -586,10 +542,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -627,28 +582,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); - + 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.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The list of tasks.
      * 
@@ -663,8 +611,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -679,8 +625,6 @@ public int getTasksCount() { } } /** - * - * *
      * The list of tasks.
      * 
@@ -695,15 +639,14 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +660,6 @@ public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -737,8 +678,6 @@ public Builder setTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -759,15 +698,14 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks( + int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +719,14 @@ public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -800,8 +737,6 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForVa return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -820,8 +755,6 @@ public Builder addTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -832,7 +765,8 @@ 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); @@ -840,8 +774,6 @@ public Builder addAllTasks( return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -859,8 +791,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The list of tasks.
      * 
@@ -878,44 +808,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +848,6 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) } } /** - * - * *
      * The list of tasks.
      * 
@@ -932,47 +855,42 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder() - .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** - * - * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, - com.google.cloud.tasks.v2beta3.Task.Builder, - com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -980,8 +898,6 @@ public java.util.List getTasksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -991,13 +907,13 @@ public java.util.List getTasksBuild
      * 
* * 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; @@ -1006,8 +922,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1017,14 +931,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +947,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1043,22 +956,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1068,18 +979,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1089,23 +997,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1129,16 +1037,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 8b9ed0ad..397e65c5 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The list of tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** - * - * *
    * The list of tasks.
    * 
@@ -54,29 +33,25 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -86,13 +61,10 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -102,8 +74,8 @@ public interface ListTasksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f4b3966c..f0cf2430 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class,
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -147,15 +123,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,8 +160,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -193,7 +167,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -202,15 +175,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -218,15 +190,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,16 +250,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.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = - (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -414,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class,
-              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -479,8 +445,7 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result =
-          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -491,39 +456,38 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -571,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -582,13 +544,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -597,8 +559,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -608,14 +568,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -623,8 +584,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,22 +593,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -659,18 +616,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -680,16 +634,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -697,8 +651,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -706,13 +658,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -721,8 +673,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -730,14 +680,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -754,22 +703,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -777,18 +724,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -796,23 +740,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -822,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -836,16 +780,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -860,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 6409320a..1cf564b9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -35,13 +17,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -51,14 +30,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -66,13 +43,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -80,8 +54,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index d8ef8572..b1147293 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class,
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,7 +117,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -149,15 +125,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -167,15 +142,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -186,15 +162,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -203,30 +176,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -277,15 +250,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -306,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -415,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class,
-              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -439,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +426,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +447,7 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result =
-          new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -492,39 +458,38 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -583,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -598,8 +561,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -609,14 +570,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -624,8 +586,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -635,22 +595,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -660,18 +618,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -681,16 +636,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -698,21 +653,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -721,22 +674,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -744,71 +696,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -818,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -832,16 +777,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -856,4 +801,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 639b960f..79aa78a6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -35,13 +17,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -51,35 +30,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index ddd155f1..b5b6cc63 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = - (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, - com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = - new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a8a5bac9 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 845fa92d..90f288ff 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.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/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PullMessage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -50,15 +32,16 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,25 +60,24 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              payload_ = input.readBytes();
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
 
-              tag_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            payload_ = input.readBytes();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            tag_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,39 +85,34 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto
-        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
-   *
-   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -146,8 +123,6 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -159,7 +134,6 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -168,15 +142,14 @@ 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; } } /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -188,15 +161,16 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; - * * @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 { @@ -205,7 +179,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +190,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 (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -234,7 +208,8 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -247,16 +222,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.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = - (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,104 +253,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** - * - * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -387,23 +356,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class,
-              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -411,15 +378,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto
-          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -452,8 +420,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result =
-          new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -464,39 +431,38 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -543,14 +509,11 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return The payload. */ @java.lang.Override @@ -558,39 +521,33 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** - * - * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -598,8 +555,6 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -611,13 +566,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; - * * @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; @@ -626,8 +581,6 @@ public java.lang.String getTag() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -639,14 +592,15 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; - * * @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 { @@ -654,8 +608,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -667,22 +619,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @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; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -694,18 +644,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -717,23 +664,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; - * * @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); } @@ -743,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -757,16 +704,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -781,4 +728,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index cfae720a..d6d53ffb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder - extends +public interface PullMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; - * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -50,13 +29,10 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -68,8 +44,8 @@ public interface PullMessageOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 78c3ead3..7e739e04 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PurgeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = - (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = - new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..e41738e8 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 45c41179..3156e1bf 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Queue extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -47,15 +29,16 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,163 +57,136 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+            if (queueTypeCase_ == 3) {
+              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-              if (queueTypeCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
-              }
-              queueType_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-                queueType_ = subBuilder.buildPartial();
-              }
-              queueTypeCase_ = 3;
-              break;
+            queueType_ =
+                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+              queueType_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-              if (rateLimits_ != null) {
-                subBuilder = rateLimits_.toBuilder();
-              }
-              rateLimits_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rateLimits_);
-                rateLimits_ = subBuilder.buildPartial();
-              }
-
-              break;
+            queueTypeCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+            if (rateLimits_ != null) {
+              subBuilder = rateLimits_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rateLimits_);
+              rateLimits_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 42: {
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (purgeTime_ != null) {
-                subBuilder = purgeTime_.toBuilder();
-              }
-              purgeTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(purgeTime_);
-                purgeTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (taskTtl_ != null) {
-                subBuilder = taskTtl_.toBuilder();
-              }
-              taskTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(taskTtl_);
-                taskTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (purgeTime_ != null) {
+              subBuilder = purgeTime_.toBuilder();
             }
-          case 74:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (tombstoneTtl_ != null) {
-                subBuilder = tombstoneTtl_.toBuilder();
-              }
-              tombstoneTtl_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tombstoneTtl_);
-                tombstoneTtl_ = subBuilder.buildPartial();
-              }
-
-              break;
+            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(purgeTime_);
+              purgeTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (taskTtl_ != null) {
+              subBuilder = taskTtl_.toBuilder();
             }
-          case 82:
-            {
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-              if (stackdriverLoggingConfig_ != null) {
-                subBuilder = stackdriverLoggingConfig_.toBuilder();
-              }
-              stackdriverLoggingConfig_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stackdriverLoggingConfig_);
-                stackdriverLoggingConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(taskTtl_);
+              taskTtl_ = subBuilder.buildPartial();
             }
-          case 88:
-            {
-              int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (tombstoneTtl_ != null) {
+              subBuilder = tombstoneTtl_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(tombstoneTtl_);
+              tombstoneTtl_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 82: {
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+            if (stackdriverLoggingConfig_ != null) {
+              subBuilder = stackdriverLoggingConfig_.toBuilder();
+            }
+            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stackdriverLoggingConfig_);
+              stackdriverLoggingConfig_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 88: {
+            int rawValue = input.readEnum();
+
+            type_ = rawValue;
+            break;
+          }
+          case 98: {
+            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
+            }
+            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -238,41 +194,36 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class,
-            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -281,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -332,8 +277,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -342,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -358,8 +299,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -370,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -390,6 +327,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -414,51 +352,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -476,18 +413,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -496,8 +430,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * A pull queue.
      * 
@@ -506,8 +438,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PULL(1), /** - * - * *
      * A push queue.
      * 
@@ -519,8 +449,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -529,8 +457,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A pull queue.
      * 
@@ -539,8 +465,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PULL_VALUE = 1; /** - * - * *
      * A push queue.
      * 
@@ -549,6 +473,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUSH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -573,49 +498,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return PULL; - case 2: - return PUSH; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return PULL; + case 2: return PUSH; + 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< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -634,15 +559,12 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; - public enum QueueTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; - private QueueTypeCase(int value) { this.value = value; } @@ -658,29 +580,25 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: - return APP_ENGINE_HTTP_QUEUE; - case 0: - return QUEUETYPE_NOT_SET; - default: - return null; + case 3: return APP_ENGINE_HTTP_QUEUE; + case 0: return QUEUETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueueTypeCase getQueueTypeCase() { - return QueueTypeCase.forNumber(queueTypeCase_); + public QueueTypeCase + getQueueTypeCase() { + return QueueTypeCase.forNumber( + queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -701,7 +619,6 @@ public QueueTypeCase getQueueTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -710,15 +627,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; } } /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -739,15 +655,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 { @@ -757,8 +674,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -766,7 +681,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -774,8 +688,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -783,19 +695,16 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -805,10 +714,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-      getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -816,8 +724,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -842,7 +748,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -850,8 +755,6 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -876,18 +779,13 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -921,8 +819,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -936,7 +832,6 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -944,8 +839,6 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -959,18 +852,13 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -993,8 +881,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1005,16 +891,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -1025,22 +907,17 @@ public int getStateValue() {
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1053,7 +930,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -1061,8 +937,6 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1075,7 +949,6 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ @java.lang.Override @@ -1083,8 +956,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -1106,8 +977,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1122,7 +991,6 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -1130,8 +998,6 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1146,7 +1012,6 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ @java.lang.Override @@ -1154,8 +1019,6 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1179,8 +1042,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1193,7 +1054,6 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1201,8 +1061,6 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1215,18 +1073,13 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1248,17 +1101,13 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1266,48 +1115,36 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1315,19 +1152,13 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLog
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1335,35 +1166,25 @@ public int getTypeValue() {
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ @java.lang.Override @@ -1371,18 +1192,13 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ @java.lang.Override @@ -1390,17 +1206,13 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1408,7 +1220,6 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1420,7 +1231,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_); } @@ -1467,38 +1279,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, getStackdriverLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1508,48 +1326,57 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits().equals(other.getRateLimits())) return false; + if (!getRateLimits() + .equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig().equals(other.getRetryConfig())) return false; + if (!getRetryConfig() + .equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime().equals(other.getPurgeTime())) return false; + if (!getPurgeTime() + .equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl().equals(other.getTaskTtl())) return false; + if (!getTaskTtl() + .equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl() + .equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig() + .equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats().equals(other.getStats())) return false; + if (!getStats() + .equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue() + .equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1612,103 +1439,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1717,23 +1538,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class,
-              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1741,15 +1560,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1807,9 +1627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1883,39 +1703,38 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1956,15 +1775,13 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE:
-          {
-            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-            break;
-          }
-        case QUEUETYPE_NOT_SET:
-          {
-            break;
-          }
+        case APP_ENGINE_HTTP_QUEUE: {
+          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+          break;
+        }
+        case QUEUETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1994,12 +1811,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-
-    public QueueTypeCase getQueueTypeCase() {
-      return QueueTypeCase.forNumber(queueTypeCase_);
+    public QueueTypeCase
+        getQueueTypeCase() {
+      return QueueTypeCase.forNumber(
+          queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -2009,10 +1826,9 @@ public Builder clearQueueType() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2033,13 +1849,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -2048,8 +1864,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2070,14 +1884,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 { @@ -2085,8 +1900,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2107,22 +1920,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2143,18 +1954,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; } /** - * - * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -2175,29 +1983,24 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> - appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2205,7 +2008,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2213,8 +2015,6 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2222,7 +2022,6 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2240,8 +2039,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** - * - * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2264,8 +2061,6 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2286,8 +2081,6 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2296,17 +2089,12 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3
-            && queueType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (queueTypeCase_ == 3 &&
+            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2322,8 +2110,6 @@ public Builder mergeAppEngineHttpQueue(
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2349,8 +2135,6 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2359,13 +2143,10 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
-        getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2375,8 +2156,7 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
-        getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2387,8 +2167,6 @@ public Builder clearAppEngineHttpQueue() {
       }
     }
     /**
-     *
-     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2398,39 +2176,28 @@ public Builder clearAppEngineHttpQueue() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
-        rateLimitsBuilder_;
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2455,15 +2222,12 @@ public Builder clearAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2488,21 +2252,16 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null - ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() - : rateLimits_; + return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** - * - * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2542,8 +2301,6 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2581,8 +2338,6 @@ public Builder setRateLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2612,9 +2367,7 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2626,8 +2379,6 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2665,8 +2416,6 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2693,13 +2442,11 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-
+      
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2729,14 +2476,11 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null
-            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
-            : rateLimits_;
+        return rateLimits_ == null ?
+            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
       }
     }
     /**
-     *
-     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2763,17 +2507,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RateLimits,
-                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
-                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(), getParentForChildren(), isClean());
+        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(),
+                getParentForChildren(),
+                isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2781,13 +2522,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
-        retryConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2801,15 +2537,12 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2823,21 +2556,16 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2866,8 +2594,6 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2894,8 +2620,6 @@ public Builder setRetryConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2914,9 +2638,7 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2928,8 +2650,6 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2956,8 +2676,6 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2973,13 +2691,11 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-
+      
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2998,14 +2714,11 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null
-            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
-            : retryConfig_;
+        return retryConfig_ == null ?
+            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -3021,17 +2734,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.RetryConfig,
-                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
-                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(), getParentForChildren(), isClean());
+        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(),
+                getParentForChildren(),
+                isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -3039,8 +2749,6 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3051,16 +2759,12 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3071,19 +2775,16 @@ public int getStateValue() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3094,19 +2795,15 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = - com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3117,7 +2814,6 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3125,14 +2821,12 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -3143,11 +2837,10 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3155,13 +2848,8 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - purgeTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3174,15 +2862,12 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3195,7 +2880,6 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -3206,8 +2890,6 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** - * - * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3235,8 +2917,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3250,7 +2930,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -3261,8 +2942,6 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3280,7 +2959,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -3292,8 +2971,6 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3319,8 +2996,6 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3335,13 +3010,11 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-
+      
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3359,12 +3032,11 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3379,17 +3051,14 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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> 
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(), getParentForChildren(), isClean());
+        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(),
+                getParentForChildren(),
+                isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3397,13 +3066,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        taskTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3418,15 +3082,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3441,7 +3102,6 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3452,8 +3112,6 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** - * - * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3483,8 +3141,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3500,7 +3156,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3511,8 +3168,6 @@ public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3532,7 +3187,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3544,8 +3199,6 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3573,8 +3226,6 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3591,13 +3242,11 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-
+      
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3617,12 +3266,11 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3639,17 +3287,14 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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> 
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(), getParentForChildren(), isClean());
+        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(),
+                getParentForChildren(),
+                isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3657,13 +3302,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        tombstoneTtlBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3676,15 +3316,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3697,21 +3334,16 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : tombstoneTtl_; + return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** - * - * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3739,8 +3371,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3754,7 +3384,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3765,8 +3396,6 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3784,9 +3413,7 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3798,8 +3425,6 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3825,8 +3450,6 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3841,13 +3464,11 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-
+      
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3865,14 +3486,11 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : tombstoneTtl_;
+        return tombstoneTtl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
       }
     }
     /**
-     *
-     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3887,17 +3505,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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> 
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(), getParentForChildren(), isClean());
+        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(),
+                getParentForChildren(),
+                isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3905,64 +3520,47 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
-        stackdriverLoggingConfigBuilder_;
+        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder setStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3976,16 +3574,13 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3999,26 +3594,19 @@ public Builder setStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public Builder mergeStackdriverLoggingConfig( - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( - stackdriverLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -4030,16 +3618,13 @@ public Builder mergeStackdriverLoggingConfig( return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -4053,69 +3638,54 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder - getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null - ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() - : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null ? + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; } } /** - * - * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), getParentForChildren(), isClean()); + stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), + getParentForChildren(), + isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -4123,8 +3693,6 @@ public Builder clearStackdriverLoggingConfig() { private int type_ = 0; /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4132,19 +3700,13 @@ public Builder clearStackdriverLoggingConfig() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4152,22 +3714,17 @@ public int getTypeValue() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @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; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4175,22 +3732,16 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = - com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4198,10 +3749,7 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -4209,14 +3757,12 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -4224,14 +3770,11 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -4239,64 +3782,45 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> - statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -4312,19 +3836,16 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats( + com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -4335,25 +3856,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builde return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -4365,17 +3880,13 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -4389,77 +3900,61 @@ public Builder clearStats() { return this; } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null - ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() - : stats_; + return stats_ == null ? + com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } } /** - * - * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, - com.google.cloud.tasks.v2beta3.QueueStats.Builder, - com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), getParentForChildren(), isClean()); + statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), + getParentForChildren(), + isClean()); stats_ = null; } return statsBuilder_; } - @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); } @@ -4469,12 +3964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -4483,16 +3978,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4507,4 +4002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index cc0ff52c..f85deb76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder - extends +public interface QueueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -46,13 +28,10 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -73,14 +52,12 @@ public interface QueueOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -88,13 +65,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -102,13 +76,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; - * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** - * - * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -120,8 +91,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -146,13 +115,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -177,13 +143,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; - * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** - * - * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -212,8 +175,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -227,13 +188,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -247,13 +205,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; - * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -271,8 +226,6 @@ public interface QueueOrBuilder
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -283,13 +236,10 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -300,14 +250,11 @@ public interface QueueOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; - * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -320,13 +267,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -339,13 +283,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Timestamp purge_time = 7; - * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** - * - * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -362,8 +303,6 @@ public interface QueueOrBuilder
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -378,13 +317,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -399,13 +335,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration task_ttl = 8; - * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** - * - * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -424,8 +357,6 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -438,13 +369,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -457,13 +385,10 @@ public interface QueueOrBuilder
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; - * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** - * - * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -480,53 +405,39 @@ public interface QueueOrBuilder
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; - * + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder - getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -534,16 +445,11 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -551,58 +457,41 @@ public interface QueueOrBuilder
    * selected.
    * 
* - * - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** - * - * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..f0dac04f --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + 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_tasks_v2beta3_Queue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { "SamplingRatio", }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 978a5c1e..6897da96 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueueStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueueStats() {} + private QueueStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,46 @@ private QueueStats( case 0: done = true; break; - case 8: - { - tasksCount_ = input.readInt64(); - break; - } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); - } - oldestEstimatedArrivalTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); - } + case 8: { - break; - } - case 24: - { - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: - { - concurrentDispatchesCount_ = input.readInt64(); - break; + tasksCount_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); } - case 41: - { - effectiveExecutionRate_ = input.readDouble(); - break; + oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + executedLastMinuteCount_ = input.readInt64(); + break; + } + case 32: { + + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: { + + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,33 +99,29 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -152,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -163,17 +140,12 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -181,36 +153,25 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -220,8 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -240,16 +198,12 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -260,8 +214,6 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -270,7 +222,6 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -279,7 +230,6 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +241,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 (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -317,21 +268,24 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOldestEstimatedArrivalTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -341,24 +295,27 @@ 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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = - (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() != other.getTasksCount()) return false; + if (getTasksCount() + != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) - return false; + if (!getOldestEstimatedArrivalTime() + .equals(other.getOldestEstimatedArrivalTime())) return false; } - if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() + != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() + != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits( + other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,146 +328,138 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** - * - * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, - com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -518,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto - .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -569,8 +519,7 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = - new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -588,39 +537,38 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); } else { super.mergeFrom(other); return this; @@ -673,10 +621,8 @@ public Builder mergeFrom( return this; } - private long tasksCount_; + private long tasksCount_ ; /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -685,7 +631,6 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ @java.lang.Override @@ -693,8 +638,6 @@ public long getTasksCount() { return tasksCount_; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -703,19 +646,16 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -724,11 +664,10 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -736,61 +675,42 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -806,16 +726,12 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -829,24 +745,18 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -858,16 +768,12 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -881,85 +787,65 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; } } /** - * - * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); + oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), + getParentForChildren(), + isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_; + private long executedLastMinuteCount_ ; /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The executedLastMinuteCount. */ @java.lang.Override @@ -967,59 +853,47 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_; + private long concurrentDispatchesCount_ ; /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -1027,49 +901,39 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_; + private double effectiveExecutionRate_ ; /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1077,9 +941,7 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The effectiveExecutionRate. */ @java.lang.Override @@ -1087,8 +949,6 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1096,21 +956,17 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -1118,20 +974,18 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -1141,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1155,16 +1009,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 2ae27c91..8a467ec6 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder - extends +public interface QueueStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -34,58 +16,41 @@ public interface QueueStatsOrBuilder
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tasksCount. */ long getTasksCount(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** - * - * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** - * - * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -93,29 +58,22 @@ public interface QueueStatsOrBuilder
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** - * - * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** - * - * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -124,7 +82,6 @@ public interface QueueStatsOrBuilder
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index dad67fef..ef9eedb4 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RateLimits extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RateLimits() {}
+  private RateLimits() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,28 +56,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              maxDispatchesPerSecond_ = input.readDouble();
-              break;
-            }
-          case 16:
-            {
-              maxBurstSize_ = input.readInt32();
-              break;
-            }
-          case 24:
-            {
-              maxConcurrentDispatches_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            maxDispatchesPerSecond_ = input.readDouble();
+            break;
+          }
+          case 16: {
+
+            maxBurstSize_ = input.readInt32();
+            break;
+          }
+          case 24: {
+
+            maxConcurrentDispatches_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +85,29 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class,
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
-   *
-   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -140,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -151,8 +130,6 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -184,7 +161,6 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -195,8 +171,6 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -211,7 +185,6 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -220,7 +193,6 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,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 (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -252,13 +225,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,18 +244,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.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = - (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits( + other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() + != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() + != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,10 +270,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -305,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** - * - * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -413,23 +382,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class,
-              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -437,15 +404,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +448,7 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result =
-          new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -493,39 +460,38 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,10 +538,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_;
+    private double maxDispatchesPerSecond_ ;
     /**
-     *
-     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -588,7 +552,6 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -596,8 +559,6 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -610,19 +571,16 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; - * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** - * - * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -635,20 +593,17 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; - * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_; + private int maxBurstSize_ ; /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -680,7 +635,6 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ @java.lang.Override @@ -688,8 +642,6 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -721,19 +673,16 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; - * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** - * - * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -765,20 +714,17 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; - * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_; + private int maxConcurrentDispatches_ ; /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -793,7 +739,6 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -801,8 +746,6 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -817,19 +760,16 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -844,18 +784,17 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; - * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -865,12 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -879,16 +818,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +842,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index 98144881..bcb32f76 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder - extends +public interface RateLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -38,14 +20,11 @@ public interface RateLimitsOrBuilder
    * 
* * double max_dispatches_per_second = 1; - * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** - * - * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -77,14 +56,11 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_burst_size = 2; - * * @return The maxBurstSize. */ int getMaxBurstSize(); /** - * - * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -99,7 +75,6 @@ public interface RateLimitsOrBuilder
    * 
* * int32 max_concurrent_dispatches = 3; - * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 7b20829a..6a69efc9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = - new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..b0f21f71 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index dda88aec..c721a7bb 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,68 +53,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              maxAttempts_ = input.readInt32();
-              break;
+          case 8: {
+
+            maxAttempts_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoff_ != null) {
-                subBuilder = minBackoff_.toBuilder();
-              }
-              minBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoff_);
-                minBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoff_ != null) {
+              subBuilder = minBackoff_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoff_ != null) {
-                subBuilder = maxBackoff_.toBuilder();
-              }
-              maxBackoff_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoff_);
-                maxBackoff_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoff_);
+              minBackoff_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoff_ != null) {
+              subBuilder = maxBackoff_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoff_);
+              maxBackoff_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -138,33 +116,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class,
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
-   *
-   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -179,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -190,8 +163,6 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -209,7 +180,6 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -217,8 +187,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -236,18 +204,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -274,8 +237,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -291,7 +252,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -299,8 +259,6 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -316,7 +274,6 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ @java.lang.Override @@ -324,8 +281,6 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -350,8 +305,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -367,7 +320,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -375,8 +327,6 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -392,7 +342,6 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ @java.lang.Override @@ -400,8 +349,6 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -426,8 +373,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -453,7 +398,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -462,7 +406,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +417,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 (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -500,19 +444,24 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -522,28 +471,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = - (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() != other.getMaxAttempts()) return false; + if (getMaxAttempts() + != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff().equals(other.getMinBackoff())) return false; + if (!getMinBackoff() + .equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff() + .equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -576,104 +529,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -681,23 +627,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class,
-              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -705,15 +649,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -764,8 +709,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result =
-          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -791,39 +735,38 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,10 +819,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_;
+    private int maxAttempts_ ;
     /**
-     *
-     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -894,7 +835,6 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ @java.lang.Override @@ -902,8 +842,6 @@ public int getMaxAttempts() { return maxAttempts_; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -918,19 +856,16 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; - * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** - * - * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -945,11 +880,10 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; - * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -957,13 +891,8 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -981,15 +910,12 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1007,21 +933,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1054,8 +975,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1074,7 +993,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1085,8 +1005,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1109,9 +1027,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1123,8 +1039,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1155,8 +1069,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1176,13 +1088,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1205,14 +1115,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1232,17 +1139,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1250,13 +1154,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1272,15 +1171,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1296,21 +1192,16 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoff_; + return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1341,8 +1232,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1359,7 +1248,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1370,8 +1260,6 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1392,7 +1280,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1404,8 +1292,6 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1434,8 +1320,6 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1453,13 +1337,11 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-
+      
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1480,14 +1362,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoff_;
+        return minBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1505,17 +1384,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(), getParentForChildren(), isClean());
+        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(),
+                getParentForChildren(),
+                isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1523,13 +1399,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1545,15 +1416,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1569,21 +1437,16 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoff_; + return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** - * - * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1614,8 +1477,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1632,7 +1493,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1643,8 +1505,6 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1665,7 +1525,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1677,8 +1537,6 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1707,8 +1565,6 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1726,13 +1582,11 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-
+      
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1753,14 +1607,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoff_;
+        return maxBackoff_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
       }
     }
     /**
-     *
-     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1778,26 +1629,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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> 
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(), getParentForChildren(), isClean());
+        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(),
+                getParentForChildren(),
+                isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1823,7 +1669,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1831,8 +1676,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1858,19 +1701,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1896,18 +1736,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1917,12 +1756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1931,16 +1770,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,4 +1794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 29a36745..16a45225 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -40,14 +22,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_attempts = 1; - * * @return The maxAttempts. */ int getMaxAttempts(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,13 +44,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -89,13 +65,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -117,8 +90,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -134,13 +105,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -156,13 +124,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff = 3; - * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -182,8 +147,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -199,13 +162,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -221,13 +181,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff = 4; - * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** - * - * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -247,8 +204,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -274,7 +229,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7d1959..8e7077ce 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunTaskRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -45,15 +27,16 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              responseView_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            responseView_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,42 +81,35 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto
-        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -144,32 +118,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -180,8 +152,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -196,16 +166,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -220,19 +186,15 @@ public int getResponseViewValue() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,7 +227,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,15 +238,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = - (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -304,104 +268,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -409,23 +366,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -433,15 +388,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto
-          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -474,8 +430,7 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
-          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -486,39 +441,38 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,23 +519,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -590,24 +540,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,70 +562,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -686,8 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int responseView_ = 0; /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -702,16 +634,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override - public int getResponseViewValue() { + @java.lang.Override public int getResponseViewValue() { return responseView_; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,19 +654,16 @@ public int getResponseViewValue() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -753,19 +678,15 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -780,7 +701,6 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @param value The responseView to set. * @return This builder for chaining. */ @@ -788,14 +708,12 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -810,18 +728,17 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -831,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -845,16 +762,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,4 +786,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 1bb6a94d..019bc5fa 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder - extends +public interface RunTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -71,13 +44,10 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** - * - * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -92,7 +62,6 @@ public interface RunTaskRequestOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; - * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d80fab89..d34e7cc2 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StackdriverLoggingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StackdriverLoggingConfig() {}
+  private StackdriverLoggingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,18 +53,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9:
-            {
-              samplingRatio_ = input.readDouble();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 9: {
+
+            samplingRatio_ = input.readDouble();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,33 +72,29 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto
-        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
-   *
-   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -123,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -132,7 +111,6 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +122,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 (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -158,7 +137,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,16 +148,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = - (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -190,114 +170,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -305,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -329,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto
-          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -368,8 +337,7 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
-          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -379,39 +347,38 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,8 +386,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -443,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -454,10 +419,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_;
+    private double samplingRatio_ ;
     /**
-     *
-     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -466,7 +429,6 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ @java.lang.Override @@ -474,8 +436,6 @@ public double getSamplingRatio() { return samplingRatio_; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -484,19 +444,16 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; - * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -505,18 +462,17 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; - * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -526,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -540,16 +496,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -564,4 +520,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index ed2107ed..2a730069 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.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/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder - extends +public interface StackdriverLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -34,7 +16,6 @@ public interface StackdriverLoggingConfigOrBuilder
    * 
* * double sampling_ratio = 1; - * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..a196a359 --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,170 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { "Payload", "Tag", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { "AppEngineRoutingOverride", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 03927a4e..24c1dc31 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -44,15 +26,16 @@ 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; } - private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,168 +54,142 @@ private Task( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 26: { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); } - case 26: - { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) - .toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; + payloadTypeCase_ = 3; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); } - case 48: - { - dispatchCount_ = input.readInt32(); - break; + + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 56: - { - responseCount_ = input.readInt32(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 48: { + + dispatchCount_ = input.readInt32(); + break; + } + case 56: { + + responseCount_ = input.readInt32(); + break; + } + case 66: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); } - case 80: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 80: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + case 90: { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 11; - break; + payloadTypeCase_ = 11; + break; + } + case 98: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); } - case 98: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); - } - dispatchDeadline_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); - } - break; + break; + } + case 106: { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); } - case 106: - { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = - ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 13; - break; + payloadType_ = + input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + payloadTypeCase_ = 13; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -240,31 +197,27 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** - * - * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -276,10 +229,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -288,8 +240,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -304,8 +254,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC(1),
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -320,8 +268,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -330,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -346,8 +290,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -359,6 +301,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -383,49 +326,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 1:
-          return BASIC;
-        case 2:
-          return FULL;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 1: return BASIC;
+        case 2: return FULL;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -444,17 +387,14 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
-
   public enum PayloadTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
-
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -470,33 +410,27 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APP_ENGINE_HTTP_REQUEST;
-        case 11:
-          return HTTP_REQUEST;
-        case 13:
-          return PULL_MESSAGE;
-        case 0:
-          return PAYLOADTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return APP_ENGINE_HTTP_REQUEST;
+        case 11: return HTTP_REQUEST;
+        case 13: return PULL_MESSAGE;
+        case 0: return PAYLOADTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(payloadTypeCase_);
+  public PayloadTypeCase
+  getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(
+        payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -518,7 +452,6 @@ public PayloadTypeCase getPayloadTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -527,15 +460,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -557,15 +489,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 { @@ -575,15 +508,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -591,27 +521,22 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -620,25 +545,21 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-      getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -646,27 +567,22 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -677,15 +593,13 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -697,7 +611,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -705,8 +618,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -718,19 +629,16 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -746,7 +654,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -754,8 +662,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -763,7 +669,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -771,8 +676,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -780,18 +683,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -808,15 +706,12 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -824,15 +719,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -840,8 +732,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -857,8 +747,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -889,7 +777,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -897,8 +784,6 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -929,18 +814,13 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -980,8 +860,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -989,7 +867,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -1000,14 +877,11 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -1018,8 +892,6 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1027,7 +899,6 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -1035,8 +906,6 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1044,18 +913,13 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -1072,14 +936,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -1087,25 +948,18 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -1120,43 +974,33 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1168,7 +1012,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_); } @@ -1218,43 +1063,48 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1264,47 +1114,58 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime().equals(other.getScheduleTime())) return false; + if (!getScheduleTime() + .equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline() + .equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() != other.getDispatchCount()) return false; - if (getResponseCount() != other.getResponseCount()) return false; + if (getDispatchCount() + != other.getDispatchCount()) return false; + if (getResponseCount() + != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt() + .equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt().equals(other.getLastAttempt())) return false; + if (!getLastAttempt() + .equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest() + .equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest().equals(other.getHttpRequest())) return false; + if (!getHttpRequest() + .equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage().equals(other.getPullMessage())) return false; + if (!getPullMessage() + .equals(other.getPullMessage())) return false; break; case 0: default: @@ -1369,126 +1230,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** - * - * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, - com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1496,15 +1349,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1552,9 +1406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto - .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1633,39 +1487,38 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); } else { super.mergeFrom(other); return this; @@ -1703,25 +1556,21 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: - { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: - { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: - { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: - { - break; - } + case APP_ENGINE_HTTP_REQUEST: { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1751,12 +1600,12 @@ public Builder mergeFrom( } return this; } - private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - - public PayloadTypeCase getPayloadTypeCase() { - return PayloadTypeCase.forNumber(payloadTypeCase_); + public PayloadTypeCase + getPayloadTypeCase() { + return PayloadTypeCase.forNumber( + payloadTypeCase_); } public Builder clearPayloadType() { @@ -1766,10 +1615,9 @@ public Builder clearPayloadType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1791,13 +1639,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1806,8 +1654,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1829,14 +1675,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 { @@ -1844,8 +1691,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1867,22 +1712,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1904,18 +1747,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1937,36 +1777,30 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, - com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> - appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1974,15 +1808,12 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -2000,8 +1831,6 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** - * - * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2009,8 +1838,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2024,8 +1852,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2045,8 +1871,6 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2054,17 +1878,12 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3
-            && payloadType_
-                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 3 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2080,8 +1899,6 @@ public Builder mergeAppEngineHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2106,8 +1923,6 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2115,13 +1930,10 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
-        getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2130,8 +1942,7 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
-        getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -2142,8 +1953,6 @@ public Builder clearAppEngineHttpRequest() {
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -2152,45 +1961,33 @@ public Builder clearAppEngineHttpRequest() {
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
-        httpRequestBuilder_;
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -2198,15 +1995,12 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ @java.lang.Override @@ -2224,8 +2018,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** - * - * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2247,8 +2039,6 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2268,8 +2058,6 @@ public Builder setHttpRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2279,13 +2067,10 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11
-            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 11 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2301,8 +2086,6 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2327,8 +2110,6 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2340,8 +2121,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2361,8 +2140,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2371,38 +2148,27 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest,
-            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.HttpRequest,
-                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
-                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();
-      ;
+      onChanged();;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
-        pullMessageBuilder_;
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2414,7 +2180,6 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2422,8 +2187,6 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2435,7 +2198,6 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ @java.lang.Override @@ -2453,8 +2215,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** - * - * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2481,8 +2241,6 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2507,8 +2265,6 @@ public Builder setPullMessage(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2523,13 +2279,10 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13
-            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ =
-              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
-                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (payloadTypeCase_ == 13 &&
+            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+              .mergeFrom(value).buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2545,8 +2298,6 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2576,8 +2327,6 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2594,8 +2343,6 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2620,8 +2367,6 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2635,39 +2380,28 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage,
-            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.PullMessage,
-                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
-                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();
-      ;
+      onChanged();;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        scheduleTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2675,15 +2409,12 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2691,21 +2422,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2728,8 +2454,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2738,7 +2462,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2749,8 +2474,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2763,9 +2486,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2777,8 +2498,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2799,8 +2518,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2810,13 +2527,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2829,14 +2544,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2846,17 +2558,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2864,49 +2573,36 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2928,8 +2624,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2937,7 +2631,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2948,8 +2643,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2961,7 +2654,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;
         }
@@ -2973,8 +2666,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2994,8 +2685,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3004,13 +2693,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3022,14 +2709,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -3038,17 +2722,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -3056,13 +2737,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        dispatchDeadlineBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3093,15 +2769,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3132,21 +2805,16 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : dispatchDeadline_; + return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3192,8 +2860,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3225,7 +2891,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -3236,8 +2903,6 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3273,9 +2938,7 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -3287,8 +2950,6 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3332,8 +2993,6 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3366,13 +3025,11 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-
+      
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3408,14 +3065,11 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : dispatchDeadline_;
+        return dispatchDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3448,26 +3102,21 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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> 
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(), getParentForChildren(), isClean());
+        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(),
+                getParentForChildren(),
+                isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_;
+    private int dispatchCount_ ;
     /**
-     *
-     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3475,7 +3124,6 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ @java.lang.Override @@ -3483,8 +3131,6 @@ public int getDispatchCount() { return dispatchCount_; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3492,19 +3138,16 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; - * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3512,26 +3155,22 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; - * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_; + private int responseCount_ ; /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return The responseCount. */ @java.lang.Override @@ -3539,36 +3178,30 @@ public int getResponseCount() { return responseCount_; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; - * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3576,13 +3209,8 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> - firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3590,15 +3218,12 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3606,21 +3231,16 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : firstAttempt_; + return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3643,8 +3263,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3653,7 +3271,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(
+        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3664,8 +3283,6 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3678,9 +3295,7 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3692,8 +3307,6 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3714,8 +3327,6 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3725,13 +3336,11 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-
+      
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3744,14 +3353,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null
-            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
-            : firstAttempt_;
+        return firstAttempt_ == null ?
+            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3761,17 +3367,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.tasks.v2beta3.Attempt,
-                com.google.cloud.tasks.v2beta3.Attempt.Builder,
-                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(), getParentForChildren(), isClean());
+        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(),
+                getParentForChildren(),
+                isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3779,47 +3382,34 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt,
-            com.google.cloud.tasks.v2beta3.Attempt.Builder,
-            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
-        lastAttemptBuilder_;
+        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3840,15 +3430,14 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt( + com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3859,8 +3448,6 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bui return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3871,9 +3458,7 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); } else { lastAttempt_ = value; } @@ -3885,8 +3470,6 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3905,8 +3488,6 @@ public Builder clearLastAttempt() { return this; } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3914,13 +3495,11 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3931,14 +3510,11 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null - ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() - : lastAttempt_; + return lastAttempt_ == null ? + com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; } } /** - * - * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3946,17 +3522,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, - com.google.cloud.tasks.v2beta3.Attempt.Builder, - com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), getParentForChildren(), isClean()); + lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), + getParentForChildren(), + isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3964,69 +3537,55 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = - com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @param value The view to set. * @return This builder for chaining. */ @@ -4034,32 +3593,29 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -4069,12 +3625,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -4083,16 +3639,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4107,4 +3663,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 674d4ee6..9eec5440 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.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/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -47,13 +29,10 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -75,40 +54,32 @@ public interface TaskOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; - * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** - * - * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -119,34 +90,26 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; - * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** - * - * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -157,8 +120,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -170,13 +131,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -188,13 +146,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; - * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** - * - * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -210,8 +165,6 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -219,13 +172,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -233,13 +183,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 4; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -251,34 +198,26 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -289,8 +228,6 @@ public interface TaskOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -321,13 +258,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -358,13 +292,10 @@ public interface TaskOrBuilder
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; - * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** - * - * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -399,8 +330,6 @@ public interface TaskOrBuilder
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -408,27 +337,21 @@ public interface TaskOrBuilder
    * 
* * int32 dispatch_count = 6; - * * @return The dispatchCount. */ int getDispatchCount(); /** - * - * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; - * * @return The responseCount. */ int getResponseCount(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -436,13 +359,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -450,13 +370,10 @@ public interface TaskOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; - * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** - * - * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -468,32 +385,24 @@ public interface TaskOrBuilder
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; - * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** - * - * *
    * Output only. The status of the task's last attempt.
    * 
@@ -503,28 +412,22 @@ public interface TaskOrBuilder com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; - * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..cb10c09a --- /dev/null +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 0721b5ef..635a81c9 100644 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** - * - * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateQueueRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateQueueRequest() {} + private UpdateQueueRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = - input.readMessage( - com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasQueue() { return queue_ != null; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -168,9 +139,7 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -188,8 +155,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -199,15 +165,12 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -215,15 +178,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -231,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -246,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -258,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 (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -275,10 +233,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -288,21 +248,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
-        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue().equals(other.getQueue())) return false;
+      if (!getQueue()
+          .equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -329,126 +290,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -456,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto - .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -505,8 +458,7 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = - new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -525,39 +477,38 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -592,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> - queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -620,17 +564,13 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -639,9 +579,7 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -652,8 +590,6 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -662,8 +598,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -679,8 +614,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -689,10 +622,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue( + com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -703,8 +636,6 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -713,16 +644,13 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -734,8 +662,6 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -744,8 +670,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -759,8 +684,6 @@ public Builder clearQueue() { return this; } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -769,17 +692,14 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -788,19 +708,17 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? + com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** - * - * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -809,21 +727,17 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, - com.google.cloud.tasks.v2beta3.Queue.Builder, - com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), getParentForChildren(), isClean()); + queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), + getParentForChildren(), + isClean()); queue_ = null; } return queueBuilder_; @@ -831,49 +745,36 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -895,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -904,7 +803,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -915,8 +815,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -928,7 +826,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -940,8 +838,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -961,8 +857,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -971,13 +865,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -989,14 +881,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -1005,24 +894,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +918,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -1046,16 +932,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateQueueRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateQueueRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateQueueRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateQueueRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1070,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 3e6869a9..33a0c511 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder
-    extends
+public interface UpdateQueueRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -34,15 +16,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the queue field is set. */ boolean hasQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -51,15 +29,11 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** - * - * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -68,40 +42,31 @@ public interface UpdateQueueRequestOrBuilder
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index afa82be4..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,378 +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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
-          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
-          + "tations.proto\032\027google/api/client.proto\032\037"
-          + "google/api/field_behavior.proto\032\031google/"
-          + "api/resource.proto\032!google/cloud/tasks/v"
-          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
-          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
-          + "\032google/iam/v1/policy.proto\032\033google/prot"
-          + "obuf/empty.proto\032 google/protobuf/field_"
-          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
-          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
-          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
-          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
-          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
-          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
-          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
-          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
-          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
-          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
-          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
-          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
-          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
-          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
-          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
-          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
-          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
-          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
-          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
-          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
-          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
-          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
-          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
-          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
-          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
-          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
-          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
-          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
-          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
-          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
-          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
-          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
-          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
-          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
-          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
-          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
-          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
-          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
-          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
-          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
-          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
-          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
-          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
-          + ".google.cloud.tasks.v2.ListQueuesRespons"
-          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
-          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
-          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
-          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
-          + "name=projects/*/locations/*/queues/*}\332A\004"
-          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
-          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
-          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
-          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
-          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
-          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
-          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
-          + "e=projects/*/locations/*/queues/*}:\005queu"
-          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
-          + "google.cloud.tasks.v2.DeleteQueueRequest"
-          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
-          + "ame=projects/*/locations/*/queues/*}\332A\004n"
-          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
-          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
-          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
-          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
-          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
-          + "useQueueRequest\032\034.google.cloud.tasks.v2."
-          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
-          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
-          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
-          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
-          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
-          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
-          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
-          + "/{resource=projects/*/locations/*/queues"
-          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
-          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
-          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
-          + "{resource=projects/*/locations/*/queues/"
-          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
-          + "\022TestIamPermissions\022(.google.iam.v1.Test"
-          + "IamPermissionsRequest\032).google.iam.v1.Te"
-          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
-          + "esource=projects/*/locations/*/queues/*}"
-          + ":testIamPermissions:\001*\332A\024resource,permis"
-          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
-          + ".v2.ListTasksRequest\032(.google.cloud.task"
-          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
-          + "ent=projects/*/locations/*/queues/*}/tas"
-          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
-          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
-          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
-          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
-          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
-          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
-          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
-          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
-          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
-          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
-          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
-          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
-          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
-          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
-          + "v2/{name=projects/*/locations/*/queues/*"
-          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
-          + "oogleapis.com\322A.https://www.googleapis.c"
-          + "om/auth/cloud-platformBr\n\031com.google.clo"
-          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
-          + "olang.org/genproto/googleapis/cloud/task"
-          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-              com.google.iam.v1.IamPolicyProto.getDescriptor(),
-              com.google.iam.v1.PolicyProto.getDescriptor(),
-              com.google.protobuf.EmptyProto.getDescriptor(),
-              com.google.protobuf.FieldMaskProto.getDescriptor(),
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Filter", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-            new java.lang.String[] {
-              "Queues", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Queue",
-            });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Queue", "UpdateMask",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "ResponseView", "PageSize", "PageToken",
-            });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-            new java.lang.String[] {
-              "Tasks", "NextPageToken",
-            });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Parent", "Task", "ResponseView",
-            });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-        getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "ResponseView",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c38f781e..00000000
--- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 0e7ab341..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 4c78cd4a..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index bd81aed6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index c701bf8c..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index db5e00c6..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,146 +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/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" - + "gle.cloud.tasks.v2\032\031google/api/resource." - + "proto\032\"google/cloud/tasks/v2/target.prot" - + "o\032\036google/protobuf/duration.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" - + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" - + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" - + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" - + "loud.tasks.v2.RateLimits\0228\n\014retry_config" - + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" - + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" - + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022S\n\032stackdriver_log" - + "ging_config\030\t \001(\0132/.google.cloud.tasks.v" - + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" - + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" - + "eapis.com/Queue\0226projects/{project}/loca" - + "tions/{location}/queues/{queue}\"j\n\nRateL" - + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" - + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" - + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" - + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" - + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" - + "backoff\030\003 \001(\0132\031.google.protobuf.Duration" - + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." - + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" - + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " - + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineRoutingOverride", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "StackdriverLoggingConfig", - }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 0b0b032e..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.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/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 38185289..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,177 +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/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" - + "ogle.cloud.tasks.v2\032\037google/api/field_be" - + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" - + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" - + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" - + "/.google.cloud.tasks.v2.HttpRequest.Head" - + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " - + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" - + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" - + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" - + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" - + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" - + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." - + "google.cloud.tasks.v2.AppEngineRouting\022\024" - + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." - + "google.cloud.tasks.v2.AppEngineHttpReque" - + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" - + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" - + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " - + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" - + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" - + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" - + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" - + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" - + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" - + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index ed8a2c9b..00000000 --- a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,129 +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/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" - + "le.cloud.tasks.v2\032\031google/api/resource.p" - + "roto\032\"google/cloud/tasks/v2/target.proto" - + "\032\036google/protobuf/duration.proto\032\037google" - + "/protobuf/timestamp.proto\032\027google/rpc/st" - + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" - + "_engine_http_request\030\002 \001(\0132+.google.clou" - + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" - + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." - + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" - + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" - + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" - + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" - + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." - + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" - + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" - + ".googleapis.com/Task\022Cprojects/{project}" - + "/locations/{location}/queues/{queue}/tas" - + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" - + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" - + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" - + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "MessageType", - }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index e0f1f9cc..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,496 +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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta2/queue.proto\032%google/clo" - + "ud/tasks/v2beta2/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\036google/protobuf/duration.proto\032" - + "\033google/protobuf/empty.proto\032 google/pro" - + "tobuf/field_mask.proto\032\037google/protobuf/" - + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" - + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" - + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" - + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" - + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" - + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" - + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" - + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" - + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" - + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" - + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" - + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." - + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" - + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" - + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" - + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" - + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" - + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" - + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" - + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" - + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" - + "loudtasks.googleapis.com/Task\022<\n\rrespons" - + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" - + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" - + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" - + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" - + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" - + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" - + "\0162%.google.cloud.tasks.v2beta2.Task.View" - + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" - + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" - + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" - + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" - + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" - + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" - + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" - + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" - + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" - + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" - + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" - + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" - + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" - + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" - + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" - + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" - + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" - + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" - + "sks.googleapis.com/Task\0226\n\rschedule_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" - + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" - + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" - + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" - + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" - + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" - + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" - + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" - + "tasks.googleapis.com/Task\022<\n\rresponse_vi" - + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" - + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." - + "google.cloud.tasks.v2beta2.ListQueuesReq" - + "uest\032..google.cloud.tasks.v2beta2.ListQu" - + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" - + "rojects/*/locations/*}/queues\332A\006parent\022\232" - + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" - + ".GetQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" - + "CreateQueue\022..google.cloud.tasks.v2beta2" - + ".CreateQueueRequest\032!.google.cloud.tasks" - + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" - + "=projects/*/locations/*}/queues:\005queue\332A" - + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" - + "loud.tasks.v2beta2.UpdateQueueRequest\032!." - + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" - + "25/v2beta2/{queue.name=projects/*/locati" - + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" - + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." - + "v2beta2.DeleteQueueRequest\032\026.google.prot" - + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" - + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" - + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" - + "urgeQueueRequest\032!.google.cloud.tasks.v2" - + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" - + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" - + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" - + ".v2beta2.PauseQueueRequest\032!.google.clou" - + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" - + "{name=projects/*/locations/*/queues/*}:p" - + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." - + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" - + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" - + ";\"6/v2beta2/{name=projects/*/locations/*" - + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" - + "licy\022\".google.iam.v1.GetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" - + "2/{resource=projects/*/locations/*/queue" - + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" - + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" - + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" - + "beta2/{resource=projects/*/locations/*/q" - + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" - + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" - + "1.TestIamPermissionsRequest\032).google.iam" - + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" - + "/v2beta2/{resource=projects/*/locations/" - + "*/queues/*}:testIamPermissions:\001*\332A\024reso" - + "urce,permissions\022\262\001\n\tListTasks\022,.google." - + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" - + "oogle.cloud.tasks.v2beta2.ListTasksRespo" - + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" - + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" - + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" - + "etTaskRequest\032 .google.cloud.tasks.v2bet" - + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" - + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" - + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" - + "ta2.CreateTaskRequest\032 .google.cloud.tas" - + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" - + "t=projects/*/locations/*/queues/*}/tasks" - + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" - + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" - + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" - + "2/{name=projects/*/locations/*/queues/*/" - + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." - + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." - + "google.cloud.tasks.v2beta2.LeaseTasksRes" - + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" - + "/*/locations/*/queues/*}/tasks:lease:\001*\332" - + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" - + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" - + "edgeTaskRequest\032\026.google.protobuf.Empty\"" - + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" - + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" - + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" - + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" - + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" - + "\344\223\002G\"B/v2beta2/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" - + "me,schedule_time,lease_duration\022\304\001\n\013Canc" - + "elLease\022..google.cloud.tasks.v2beta2.Can" - + "celLeaseRequest\032 .google.cloud.tasks.v2b" - + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" - + "ts/*/locations/*/queues/*/tasks/*}:cance" - + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" - + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" - + "equest\032 .google.cloud.tasks.v2beta2.Task" - + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" - + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" - + "M\312A\031cloudtasks.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB|" - + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" - + "asksProtoP\001Z?google.golang.org/genproto/" - + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" - + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", - }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", - }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", - }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "LeaseDuration", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { - "Name", "ScheduleTime", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 92e8ff23..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index f57510e9..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a65e03f3..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 86bed8df..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,24 +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/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 395d587e..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 39c576fa..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,178 +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/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta2_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" - + "\022\032google.cloud.tasks.v2beta2\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" - + "2/.google.cloud.tasks.v2beta2.AppEngineH" - + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" - + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" - + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." - + "google.cloud.tasks.v2beta2.RetryConfig\0226" - + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" - + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" - + "2\031.google.protobuf.Duration\0220\n\rtombstone" - + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" - + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" - + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" - + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" - + "/Queue\0226projects/{project}/locations/{lo" - + "cation}/queues/{queue}B\r\n\013target_type\"k\n" - + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" - + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" - + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" - + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" - + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" - + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" - + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" - + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" - + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" - + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" - + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" - + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" - + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" - + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" - + "ueProtoP\001Z?google.golang.org/genproto/go" - + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpTarget", - "PullTarget", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "Stats", - "TargetType", - }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { - "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", - }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", - "UnlimitedAttempts", - "MaxRetryDuration", - "MinBackoff", - "MaxBackoff", - "MaxDoublings", - "NumAttempts", - }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 7e18051a..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.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/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 2ec60f36..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" - + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" - + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" - + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" - + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" - + "ing_override\030\001 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" - + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." - + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" - + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." - + "v2beta2.AppEngineRouting\022\024\n\014relative_url" - + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" - + "asks.v2beta2.AppEngineHttpRequest.Header" - + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" - + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" - + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" - + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" - + "eta2B\013TargetProtoP\001Z?google.golang.org/g" - + "enproto/googleapis/cloud/tasks/v2beta2;t" - + "asksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index a0c50640..00000000 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,143 +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/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" - + "\032google.cloud.tasks.v2beta2\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a2/target.proto\032\037google/protobuf/timesta" - + "mp.proto\032\027google/rpc/status.proto\032\034googl" - + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" - + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" - + "0.google.cloud.tasks.v2beta2.AppEngineHt" - + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" - + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" - + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" - + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" - + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" - + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" - + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" - + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" - + "apis.com/Task\022Cprojects/{project}/locati" - + "ons/{location}/queues/{queue}/tasks/{tas" - + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" - + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" - + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" - + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" - + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" - + ").google.cloud.tasks.v2beta2.AttemptStat" - + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " - + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" - + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" - + ".google.rpc.StatusBn\n\036com.google.cloud.t" - + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta2;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "Status", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { - "AttemptDispatchCount", - "AttemptResponseCount", - "FirstAttemptStatus", - "LastAttemptStatus", - }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index f9f9d0eb..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,388 +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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." - + "proto\022\032google.cloud.tasks.v2beta3\032\034googl" - + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032&google/clo" - + "ud/tasks/v2beta3/queue.proto\032%google/clo" - + "ud/tasks/v2beta3/task.proto\032\036google/iam/" - + "v1/iam_policy.proto\032\032google/iam/v1/polic" - + "y.proto\032\033google/protobuf/empty.proto\032 go" - + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" - + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" - + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" - + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" - + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" - + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" - + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" - + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" - + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" - + "udtasks.googleapis.com/Queue\0222\n\tread_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" - + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" - + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" - + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" - + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" - + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" - + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" - + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" - + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" - + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" - + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" - + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" - + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" - + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" - + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" - + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" - + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" - + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" - + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" - + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" - + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" - + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" - + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" - + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" - + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" - + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " - + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" - + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" - + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" - + "response_view\030\002 \001(\0162%.google.cloud.tasks" - + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" - + "stQueues\022-.google.cloud.tasks.v2beta3.Li" - + "stQueuesRequest\032..google.cloud.tasks.v2b" - + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" - + "3/{parent=projects/*/locations/*}/queues" - + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" - + "sks.v2beta3.GetQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" - + "/{name=projects/*/locations/*/queues/*}\332" - + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" - + "sks.v2beta3.CreateQueueRequest\032!.google." - + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" - + "ta3/{parent=projects/*/locations/*}/queu" - + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" - + "\022..google.cloud.tasks.v2beta3.UpdateQueu" - + "eRequest\032!.google.cloud.tasks.v2beta3.Qu" - + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" - + "ts/*/locations/*/queues/*}:\005queue\332A\021queu" - + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" - + "loud.tasks.v2beta3.DeleteQueueRequest\032\026." - + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" - + "{name=projects/*/locations/*/queues/*}\332A" - + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" - + "s.v2beta3.PurgeQueueRequest\032!.google.clo" - + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" - + "/{name=projects/*/locations/*/queues/*}:" - + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." - + "cloud.tasks.v2beta3.PauseQueueRequest\032!." - + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" - + "\"5/v2beta3/{name=projects/*/locations/*/" - + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" - + "e\022..google.cloud.tasks.v2beta3.ResumeQue" - + "ueRequest\032!.google.cloud.tasks.v2beta3.Q" - + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" - + "locations/*/queues/*}:resume:\001*\332A\004name\022\241" - + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" - + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" - + "\002E\"@/v2beta3/{resource=projects/*/locati" - + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" - + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" - + "amPolicyRequest\032\025.google.iam.v1.Policy\"]" - + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" - + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" - + "source,policy\022\323\001\n\022TestIamPermissions\022(.g" - + "oogle.iam.v1.TestIamPermissionsRequest\032)" - + ".google.iam.v1.TestIamPermissionsRespons" - + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" - + "/locations/*/queues/*}:testIamPermission" - + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" - + "s\022,.google.cloud.tasks.v2beta3.ListTasks" - + "Request\032-.google.cloud.tasks.v2beta3.Lis" - + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" - + "=projects/*/locations/*/queues/*}/tasks\332" - + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" - + "s.v2beta3.GetTaskRequest\032 .google.cloud." - + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" - + "me=projects/*/locations/*/queues/*/tasks" - + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" - + ".tasks.v2beta3.CreateTaskRequest\032 .googl" - + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" - + "eta3/{parent=projects/*/locations/*/queu" - + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" - + "ask\022-.google.cloud.tasks.v2beta3.DeleteT" - + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" - + "\0029*7/v2beta3/{name=projects/*/locations/" - + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" - + ".google.cloud.tasks.v2beta3.RunTaskReque" - + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" - + "\344\223\002@\";/v2beta3/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" - + "cloudtasks.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB|\n\036co" - + "m.google.cloud.tasks.v2beta3B\017CloudTasks" - + "ProtoP\001Z?google.golang.org/genproto/goog" - + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" - + "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { - "Queues", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { - "Name", "ReadMask", - }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { - "Parent", "Queue", - }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { - "Queue", "UpdateMask", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "ResponseView", "PageSize", "PageToken", - }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { - "Parent", "Task", "ResponseView", - }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { - "Name", "ResponseView", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 1005fb1e..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 31df875a..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index d4fc3a55..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 5a994955..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index 6e32a784..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,188 +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/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - - 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_tasks_v2beta3_Queue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" - + "\022\032google.cloud.tasks.v2beta3\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" - + "get.proto\032\036google/protobuf/duration.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" - + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" - + "..google.cloud.tasks.v2beta3.AppEngineHt" - + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." - + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" - + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" - + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" - + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" - + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" - + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" - + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" - + "buf.Duration\022X\n\032stackdriver_logging_conf" - + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" - + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" - + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" - + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" - + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" - + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" - + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." - + "googleapis.com/Queue\0226projects/{project}" - + "/locations/{location}/queues/{queue}B\014\n\n" - + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" - + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " - + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" - + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" - + "max_retry_duration\030\002 \001(\0132\031.google.protob" - + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" - + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" - + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" - + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" - + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" - + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" - + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" - + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" - + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" - + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" - + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/tasks/v2b" - + "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpQueue", - "RateLimits", - "RetryConfig", - "State", - "PurgeTime", - "TaskTtl", - "TombstoneTtl", - "StackdriverLoggingConfig", - "Type", - "Stats", - "QueueType", - }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { - "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", - }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { - "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", - }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { - "SamplingRatio", - }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { - "TasksCount", - "OldestEstimatedArrivalTime", - "ExecutedLastMinuteCount", - "ConcurrentDispatchesCount", - "EffectiveExecutionRate", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index 9a447341..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.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/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index b76a8c8c..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,201 +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/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" - + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" - + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" - + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" - + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" - + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" - + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" - + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" - + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" - + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" - + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" - + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" - + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" - + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" - + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" - + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" - + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" - + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" - + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" - + ".v2beta3.AppEngineHttpRequest.HeadersEnt" - + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" - + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" - + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" - + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" - + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" - + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" - + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" - + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" - + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" - + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" - + "google.golang.org/genproto/googleapis/cl" - + "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { - "Payload", "Tag", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { - "Url", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { - "AppEngineRoutingOverride", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index e57410e2..00000000 --- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.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/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" - + "\032google.cloud.tasks.v2beta3\032\031google/api/" - + "resource.proto\032\'google/cloud/tasks/v2bet" - + "a3/target.proto\032\036google/protobuf/duratio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\032\034google/api/an" - + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" - + "\n\027app_engine_http_request\030\003 \001(\01320.google" - + ".cloud.tasks.v2beta3.AppEngineHttpReques" - + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" - + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" - + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." - + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" - + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" - + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" - + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" - + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" - + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" - + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" - + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" - + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" - + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" - + "jects/{project}/locations/{location}/que" - + "ues/{queue}/tasks/{task}B\016\n\014payload_type" - + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" - + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." - + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" - + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" - + "proto/googleapis/cloud/tasks/v2beta3;tas" - + "ksb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { - "Name", - "AppEngineHttpRequest", - "HttpRequest", - "PullMessage", - "ScheduleTime", - "CreateTime", - "DispatchDeadline", - "DispatchCount", - "ResponseCount", - "FirstAttempt", - "LastAttempt", - "View", - "PayloadType", - }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { - "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 2453b200f046731640707fb6e95de44813921a9f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 01:59:58 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../cloud/tasks/v2/CloudTasksClient.java | 53 +- .../cloud/tasks/v2/CloudTasksSettings.java | 7 +- .../google/cloud/tasks/v2/gapic_metadata.json | 0 .../google/cloud/tasks/v2/package-info.java | 0 .../cloud/tasks/v2/stub/CloudTasksStub.java | 0 .../tasks/v2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../tasks/v2/stub/GrpcCloudTasksStub.java | 1 - .../HttpJsonCloudTasksCallableFactory.java | 0 .../tasks/v2/stub/HttpJsonCloudTasksStub.java | 0 .../cloud/tasks/v2beta2/CloudTasksClient.java | 69 +- .../tasks/v2beta2/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta2/gapic_metadata.json | 0 .../cloud/tasks/v2beta2/package-info.java | 0 .../tasks/v2beta2/stub/CloudTasksStub.java | 0 .../v2beta2/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta2/stub/GrpcCloudTasksStub.java | 1 - .../HttpJsonCloudTasksCallableFactory.java | 0 .../v2beta2/stub/HttpJsonCloudTasksStub.java | 0 .../cloud/tasks/v2beta3/CloudTasksClient.java | 53 +- .../tasks/v2beta3/CloudTasksSettings.java | 7 +- .../cloud/tasks/v2beta3/gapic_metadata.json | 0 .../cloud/tasks/v2beta3/package-info.java | 0 .../tasks/v2beta3/stub/CloudTasksStub.java | 0 .../v2beta3/stub/CloudTasksStubSettings.java | 6 +- .../stub/GrpcCloudTasksCallableFactory.java | 0 .../v2beta3/stub/GrpcCloudTasksStub.java | 1 - .../HttpJsonCloudTasksCallableFactory.java | 0 .../v2beta3/stub/HttpJsonCloudTasksStub.java | 0 .../v2/CloudTasksClientHttpJsonTest.java | 0 .../cloud/tasks/v2/CloudTasksClientTest.java | 0 .../google/cloud/tasks/v2/MockCloudTasks.java | 0 .../cloud/tasks/v2/MockCloudTasksImpl.java | 0 .../v2beta2/CloudTasksClientHttpJsonTest.java | 0 .../tasks/v2beta2/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta2/MockCloudTasks.java | 0 .../tasks/v2beta2/MockCloudTasksImpl.java | 0 .../v2beta3/CloudTasksClientHttpJsonTest.java | 0 .../tasks/v2beta3/CloudTasksClientTest.java | 0 .../cloud/tasks/v2beta3/MockCloudTasks.java | 0 .../tasks/v2beta3/MockCloudTasksImpl.java | 0 .../google/cloud/tasks/v2/CloudTasksGrpc.java | 1444 ++++++++----- .../cloud/tasks/v2beta2/CloudTasksGrpc.java | 1823 +++++++++++------ .../cloud/tasks/v2beta3/CloudTasksGrpc.java | 1473 ++++++++----- .../cloud/tasks/v2/CloudTasksProto.java | 349 ---- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 31 - .../tasks/v2/DeleteTaskRequestOrBuilder.java | 31 - .../tasks/v2/GetQueueRequestOrBuilder.java | 31 - .../tasks/v2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2/PurgeQueueRequestOrBuilder.java | 31 - .../com/google/cloud/tasks/v2/QueueProto.java | 122 -- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 31 - .../google/cloud/tasks/v2/TargetProto.java | 148 -- .../com/google/cloud/tasks/v2/TaskProto.java | 102 - .../cloud/tasks/v2beta2/CloudTasksProto.java | 462 ----- .../v2beta2/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta2/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta2/PauseQueueRequestOrBuilder.java | 31 - .../tasks/v2beta2/PullTargetOrBuilder.java | 9 - .../v2beta2/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/QueueProto.java | 140 -- .../v2beta2/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta2/TargetProto.java | 125 -- .../google/cloud/tasks/v2beta2/TaskProto.java | 116 -- .../cloud/tasks/v2beta3/CloudTasksProto.java | 359 ---- .../v2beta3/DeleteQueueRequestOrBuilder.java | 31 - .../v2beta3/DeleteTaskRequestOrBuilder.java | 31 - .../v2beta3/PauseQueueRequestOrBuilder.java | 31 - .../v2beta3/PurgeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/QueueProto.java | 154 -- .../v2beta3/ResumeQueueRequestOrBuilder.java | 31 - .../cloud/tasks/v2beta3/TargetProto.java | 170 -- .../google/cloud/tasks/v2beta3/TaskProto.java | 108 - .../cloud/tasks/v2/AppEngineHttpRequest.java | 756 ++++--- .../v2/AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2/AppEngineRouting.java | 540 ++--- .../tasks/v2/AppEngineRoutingOrBuilder.java | 54 +- .../com/google/cloud/tasks/v2/Attempt.java | 616 ++++-- .../cloud/tasks/v2/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2/CloudTasksProto.java | 378 ++++ .../cloud/tasks/v2/CreateQueueRequest.java | 444 ++-- .../tasks/v2/CreateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2/CreateTaskRequest.java | 473 +++-- .../tasks/v2/CreateTaskRequestOrBuilder.java | 49 +- .../cloud/tasks/v2/DeleteQueueRequest.java | 329 +-- .../tasks/v2/DeleteQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/DeleteTaskRequest.java | 329 +-- .../tasks/v2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2/GetQueueRequest.java | 329 +-- .../tasks/v2/GetQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/GetTaskRequest.java | 382 ++-- .../tasks/v2/GetTaskRequestOrBuilder.java | 41 +- .../com/google/cloud/tasks/v2/HttpMethod.java | 117 +- .../google/cloud/tasks/v2/HttpRequest.java | 910 ++++---- .../cloud/tasks/v2/HttpRequestOrBuilder.java | 83 +- .../cloud/tasks/v2/ListQueuesRequest.java | 523 +++-- .../tasks/v2/ListQueuesRequestOrBuilder.java | 56 +- .../cloud/tasks/v2/ListQueuesResponse.java | 454 ++-- .../tasks/v2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2/ListTasksRequest.java | 498 +++-- .../tasks/v2/ListTasksRequestOrBuilder.java | 53 +- .../cloud/tasks/v2/ListTasksResponse.java | 454 ++-- .../tasks/v2/ListTasksResponseOrBuilder.java | 46 +- .../google/cloud/tasks/v2/LocationName.java | 0 .../com/google/cloud/tasks/v2/OAuthToken.java | 373 ++-- .../cloud/tasks/v2/OAuthTokenOrBuilder.java | 36 +- .../com/google/cloud/tasks/v2/OidcToken.java | 373 ++-- .../cloud/tasks/v2/OidcTokenOrBuilder.java | 36 +- .../cloud/tasks/v2/PauseQueueRequest.java | 329 +-- .../tasks/v2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2/PurgeQueueRequest.java | 329 +-- .../tasks/v2/PurgeQueueRequestOrBuilder.java | 56 + .../java/com/google/cloud/tasks/v2/Queue.java | 934 ++++++--- .../com/google/cloud/tasks/v2/QueueName.java | 0 .../google/cloud/tasks/v2/QueueOrBuilder.java | 76 +- .../com/google/cloud/tasks/v2/QueueProto.java | 146 ++ .../com/google/cloud/tasks/v2/RateLimits.java | 326 +-- .../cloud/tasks/v2/RateLimitsOrBuilder.java | 27 +- .../cloud/tasks/v2/ResumeQueueRequest.java | 329 +-- .../tasks/v2/ResumeQueueRequestOrBuilder.java | 56 + .../google/cloud/tasks/v2/RetryConfig.java | 579 ++++-- .../cloud/tasks/v2/RetryConfigOrBuilder.java | 48 +- .../google/cloud/tasks/v2/RunTaskRequest.java | 382 ++-- .../tasks/v2/RunTaskRequestOrBuilder.java | 41 +- .../tasks/v2/StackdriverLoggingConfig.java | 275 +-- .../v2/StackdriverLoggingConfigOrBuilder.java | 21 +- .../google/cloud/tasks/v2/TargetProto.java | 177 ++ .../java/com/google/cloud/tasks/v2/Task.java | 1234 +++++++---- .../com/google/cloud/tasks/v2/TaskName.java | 0 .../google/cloud/tasks/v2/TaskOrBuilder.java | 95 +- .../com/google/cloud/tasks/v2/TaskProto.java | 129 ++ .../cloud/tasks/v2/UpdateQueueRequest.java | 436 ++-- .../tasks/v2/UpdateQueueRequestOrBuilder.java | 34 +- .../google/cloud/tasks/v2/cloudtasks.proto | 0 .../proto/google/cloud/tasks/v2/queue.proto | 0 .../proto/google/cloud/tasks/v2/target.proto | 0 .../proto/google/cloud/tasks/v2/task.proto | 0 .../tasks/v2beta2/AcknowledgeTaskRequest.java | 478 +++-- .../AcknowledgeTaskRequestOrBuilder.java | 52 +- .../tasks/v2beta2/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../tasks/v2beta2/AppEngineHttpTarget.java | 352 ++-- .../v2beta2/AppEngineHttpTargetOrBuilder.java | 26 +- .../cloud/tasks/v2beta2/AppEngineRouting.java | 543 ++--- .../v2beta2/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/tasks/v2beta2/AttemptStatus.java | 623 ++++-- .../tasks/v2beta2/AttemptStatusOrBuilder.java | 50 +- .../tasks/v2beta2/CancelLeaseRequest.java | 531 +++-- .../v2beta2/CancelLeaseRequestOrBuilder.java | 58 +- .../cloud/tasks/v2beta2/CloudTasksProto.java | 496 +++++ .../tasks/v2beta2/CreateQueueRequest.java | 466 +++-- .../v2beta2/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta2/CreateTaskRequest.java | 517 +++-- .../v2beta2/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta2/DeleteQueueRequest.java | 339 +-- .../v2beta2/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta2/DeleteTaskRequest.java | 336 +-- .../v2beta2/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/GetQueueRequest.java | 453 ++-- .../v2beta2/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta2/GetTaskRequest.java | 385 ++-- .../v2beta2/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/HttpMethod.java | 103 +- .../tasks/v2beta2/LeaseTasksRequest.java | 639 +++--- .../v2beta2/LeaseTasksRequestOrBuilder.java | 70 +- .../tasks/v2beta2/LeaseTasksResponse.java | 380 ++-- .../v2beta2/LeaseTasksResponseOrBuilder.java | 37 +- .../tasks/v2beta2/ListQueuesRequest.java | 652 +++--- .../v2beta2/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta2/ListQueuesResponse.java | 459 +++-- .../v2beta2/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/ListTasksRequest.java | 501 +++-- .../v2beta2/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta2/ListTasksResponse.java | 456 +++-- .../v2beta2/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta2/LocationName.java | 0 .../tasks/v2beta2/PauseQueueRequest.java | 336 +-- .../v2beta2/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/PullMessage.java | 337 +-- .../tasks/v2beta2/PullMessageOrBuilder.java | 30 +- .../cloud/tasks/v2beta2/PullTarget.java | 225 +- .../tasks/v2beta2/PullTargetOrBuilder.java | 24 + .../tasks/v2beta2/PurgeQueueRequest.java | 336 +-- .../v2beta2/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta2/Queue.java | 1319 ++++++++---- .../google/cloud/tasks/v2beta2/QueueName.java | 0 .../cloud/tasks/v2beta2/QueueOrBuilder.java | 109 +- .../cloud/tasks/v2beta2/QueueProto.java | 178 ++ .../cloud/tasks/v2beta2/QueueStats.java | 552 +++-- .../tasks/v2beta2/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta2/RateLimits.java | 334 +-- .../tasks/v2beta2/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta2/RenewLeaseRequest.java | 664 +++--- .../v2beta2/RenewLeaseRequestOrBuilder.java | 75 +- .../tasks/v2beta2/ResumeQueueRequest.java | 339 +-- .../v2beta2/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta2/RetryConfig.java | 690 ++++--- .../tasks/v2beta2/RetryConfigOrBuilder.java | 57 +- .../cloud/tasks/v2beta2/RunTaskRequest.java | 385 ++-- .../v2beta2/RunTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta2/TargetProto.java | 145 ++ .../com/google/cloud/tasks/v2beta2/Task.java | 986 +++++---- .../google/cloud/tasks/v2beta2/TaskName.java | 0 .../cloud/tasks/v2beta2/TaskOrBuilder.java | 73 +- .../google/cloud/tasks/v2beta2/TaskProto.java | 143 ++ .../cloud/tasks/v2beta2/TaskStatus.java | 487 +++-- .../tasks/v2beta2/TaskStatusOrBuilder.java | 40 +- .../tasks/v2beta2/UpdateQueueRequest.java | 458 +++-- .../v2beta2/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta2/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta2/queue.proto | 0 .../google/cloud/tasks/v2beta2/target.proto | 0 .../google/cloud/tasks/v2beta2/task.proto | 0 .../tasks/v2beta3/AppEngineHttpQueue.java | 352 ++-- .../v2beta3/AppEngineHttpQueueOrBuilder.java | 26 +- .../tasks/v2beta3/AppEngineHttpRequest.java | 772 ++++--- .../AppEngineHttpRequestOrBuilder.java | 75 +- .../cloud/tasks/v2beta3/AppEngineRouting.java | 543 ++--- .../v2beta3/AppEngineRoutingOrBuilder.java | 54 +- .../google/cloud/tasks/v2beta3/Attempt.java | 616 ++++-- .../cloud/tasks/v2beta3/AttemptOrBuilder.java | 50 +- .../cloud/tasks/v2beta3/CloudTasksProto.java | 388 ++++ .../tasks/v2beta3/CreateQueueRequest.java | 466 +++-- .../v2beta3/CreateQueueRequestOrBuilder.java | 52 +- .../tasks/v2beta3/CreateTaskRequest.java | 517 +++-- .../v2beta3/CreateTaskRequestOrBuilder.java | 58 +- .../tasks/v2beta3/DeleteQueueRequest.java | 339 +-- .../v2beta3/DeleteQueueRequestOrBuilder.java | 56 + .../tasks/v2beta3/DeleteTaskRequest.java | 336 +-- .../v2beta3/DeleteTaskRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/GetQueueRequest.java | 453 ++-- .../v2beta3/GetQueueRequestOrBuilder.java | 52 +- .../cloud/tasks/v2beta3/GetTaskRequest.java | 385 ++-- .../v2beta3/GetTaskRequestOrBuilder.java | 41 +- .../cloud/tasks/v2beta3/HttpMethod.java | 117 +- .../cloud/tasks/v2beta3/HttpRequest.java | 919 +++++---- .../tasks/v2beta3/HttpRequestOrBuilder.java | 86 +- .../tasks/v2beta3/ListQueuesRequest.java | 652 +++--- .../v2beta3/ListQueuesRequestOrBuilder.java | 73 +- .../tasks/v2beta3/ListQueuesResponse.java | 459 +++-- .../v2beta3/ListQueuesResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/ListTasksRequest.java | 501 +++-- .../v2beta3/ListTasksRequestOrBuilder.java | 53 +- .../tasks/v2beta3/ListTasksResponse.java | 456 +++-- .../v2beta3/ListTasksResponseOrBuilder.java | 46 +- .../cloud/tasks/v2beta3/LocationName.java | 0 .../cloud/tasks/v2beta3/OAuthToken.java | 380 ++-- .../tasks/v2beta3/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/tasks/v2beta3/OidcToken.java | 377 ++-- .../tasks/v2beta3/OidcTokenOrBuilder.java | 36 +- .../tasks/v2beta3/PauseQueueRequest.java | 336 +-- .../v2beta3/PauseQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/PullMessage.java | 337 +-- .../tasks/v2beta3/PullMessageOrBuilder.java | 30 +- .../tasks/v2beta3/PurgeQueueRequest.java | 336 +-- .../v2beta3/PurgeQueueRequestOrBuilder.java | 56 + .../com/google/cloud/tasks/v2beta3/Queue.java | 1507 +++++++++----- .../google/cloud/tasks/v2beta3/QueueName.java | 0 .../cloud/tasks/v2beta3/QueueOrBuilder.java | 135 +- .../cloud/tasks/v2beta3/QueueProto.java | 188 ++ .../cloud/tasks/v2beta3/QueueStats.java | 552 +++-- .../tasks/v2beta3/QueueStatsOrBuilder.java | 53 +- .../cloud/tasks/v2beta3/RateLimits.java | 333 +-- .../tasks/v2beta3/RateLimitsOrBuilder.java | 27 +- .../tasks/v2beta3/ResumeQueueRequest.java | 339 +-- .../v2beta3/ResumeQueueRequestOrBuilder.java | 56 + .../cloud/tasks/v2beta3/RetryConfig.java | 583 ++++-- .../tasks/v2beta3/RetryConfigOrBuilder.java | 48 +- .../cloud/tasks/v2beta3/RunTaskRequest.java | 385 ++-- .../v2beta3/RunTaskRequestOrBuilder.java | 41 +- .../v2beta3/StackdriverLoggingConfig.java | 278 +-- .../StackdriverLoggingConfigOrBuilder.java | 21 +- .../cloud/tasks/v2beta3/TargetProto.java | 201 ++ .../com/google/cloud/tasks/v2beta3/Task.java | 1360 +++++++----- .../google/cloud/tasks/v2beta3/TaskName.java | 0 .../cloud/tasks/v2beta3/TaskOrBuilder.java | 103 +- .../google/cloud/tasks/v2beta3/TaskProto.java | 136 ++ .../tasks/v2beta3/UpdateQueueRequest.java | 458 +++-- .../v2beta3/UpdateQueueRequestOrBuilder.java | 43 +- .../cloud/tasks/v2beta3/cloudtasks.proto | 0 .../google/cloud/tasks/v2beta3/queue.proto | 0 .../google/cloud/tasks/v2beta3/target.proto | 0 .../google/cloud/tasks/v2beta3/task.proto | 0 284 files changed, 37513 insertions(+), 22545 deletions(-) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/package-info.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java (98%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java (98%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java (97%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java (99%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta2/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java (100%) rename {owl-bot-staging/v2beta3/google-cloud-tasks => google-cloud-tasks}/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java (100%) rename {owl-bot-staging/v2/grpc-google-cloud-tasks-v2 => grpc-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2 => grpc-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java (58%) rename {owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3 => grpc-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java (57%) delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java delete mode 100644 owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java delete mode 100644 owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Attempt.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java (88%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/LocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcToken.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Queue.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimits.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java (92%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java (50%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/Task.java (81%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java (93%) create mode 100644 proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/queue.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/target.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-tasks-v2 => proto-google-cloud-tasks-v2}/src/main/proto/google/cloud/tasks/v2/task.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java (67%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java (86%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java (92%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java (77%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java (68%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java (88%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java (59%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java (77%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java (92%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java (70%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java (81%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java (85%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java (70%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/Task.java (78%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java (83%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/queue.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/target.proto (100%) rename {owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2 => proto-google-cloud-tasks-v2beta2}/src/main/proto/google/cloud/tasks/v2beta2/task.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java (92%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java (89%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java (84%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java (62%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java (82%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java (87%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java (66%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java (63%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java (90%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java (79%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java (76%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java (78%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java (67%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java (74%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java (91%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java (69%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java (80%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java (65%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java (83%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java (93%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java (73%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java (70%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java (68%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java (51%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/Task.java (81%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java (94%) create mode 100644 proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java (72%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java (75%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/queue.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/target.proto (100%) rename {owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3 => proto-google-cloud-tasks-v2beta3}/src/main/proto/google/cloud/tasks/v2beta3/task.proto (100%) diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java index f4597d41..cf1c53d1 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksClient.java @@ -64,13 +64,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1191,7 +1191,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1226,7 +1226,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1258,7 +1258,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1283,6 +1283,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Returns an empty @@ -1292,7 +1296,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1328,7 +1332,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1371,7 +1375,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1411,7 +1415,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1437,6 +1441,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any @@ -1449,7 +1457,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1586,6 +1594,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. If the @@ -1904,7 +1917,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1963,7 +1976,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2019,7 +2032,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2051,7 +2064,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2399,7 +2412,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2446,7 +2462,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java index 45fc5a78..5ba02bdf 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2.stub.CloudTasksStubSettings; @@ -50,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/gapic_metadata.json diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/package-info.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java index 4f71f2eb..917761b9 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/CloudTasksStubSettings.java @@ -83,9 +83,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java index 7d1310a2..b0a36eed 100644 --- a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/GrpcCloudTasksStub.java @@ -53,7 +53,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/HttpJsonCloudTasksStub.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java index 2f00dcd2..2fb0f905 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksClient.java @@ -67,13 +67,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1204,7 +1204,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1239,7 +1239,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1271,7 +1271,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1296,6 +1296,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an @@ -1305,7 +1309,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1341,7 +1345,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1384,7 +1388,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1424,7 +1428,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1450,6 +1454,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any @@ -1462,7 +1470,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1599,6 +1607,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. If the @@ -1917,9 +1930,9 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -1978,9 +1991,9 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2036,9 +2049,9 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -2070,9 +2083,9 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum - * task size is 100KB. - *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + *
  • For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task + * size is 100KB. + *
  • For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. *
* *

Sample code: @@ -3096,7 +3109,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3143,7 +3159,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java similarity index 98% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java index 290df4eb..88d405e7 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta2.stub.CloudTasksStubSettings; @@ -50,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/gapic_metadata.json diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/package-info.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java index de4e0977..27411d78 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java @@ -88,9 +88,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java index a8b16134..1218f4ab 100644 --- a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/GrpcCloudTasksStub.java @@ -59,7 +59,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/HttpJsonCloudTasksStub.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java similarity index 98% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java index 33f72097..32fdf62d 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java @@ -65,13 +65,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1202,7 +1202,7 @@ public final UnaryCallable resumeQueueCallable() { * on the specified resource parent: * *
    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1237,7 +1237,7 @@ public final Policy getIamPolicy(ResourceName resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1269,7 +1269,7 @@ public final Policy getIamPolicy(String resource) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1294,6 +1294,10 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { return getIamPolicyCallable().call(request); } + public final Policy getIamPolicy(QueueName queueName) { + return getIamPolicy((ResourceName) queueName); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an @@ -1303,7 +1307,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.getIamPolicy` + *
  • `cloudtasks.queues.getIamPolicy` *
* *

Sample code: @@ -1339,7 +1343,7 @@ public final UnaryCallable getIamPolicyCallable() { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1382,7 +1386,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1422,7 +1426,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1448,6 +1452,10 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { return setIamPolicyCallable().call(request); } + public final Policy setIamPolicy(QueueName queue, Policy policy) { + return setIamPolicy((ResourceName) queue, policy); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any @@ -1460,7 +1468,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * on the specified resource parent: * *

    - *
  • `cloudtasks.queues.setIamPolicy` + *
  • `cloudtasks.queues.setIamPolicy` *
* *

Sample code: @@ -1597,6 +1605,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq return testIamPermissionsCallable().call(request); } + public final TestIamPermissionsResponse testIamPermissions( + QueueName queue, List permissions) { + return testIamPermissions((ResourceName) queue, permissions); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. If the @@ -1915,7 +1928,7 @@ public final UnaryCallable getTaskCallable() { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -1974,7 +1987,7 @@ public final Task createTask(QueueName parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2030,7 +2043,7 @@ public final Task createTask(String parent, Task task) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2062,7 +2075,7 @@ public final Task createTask(CreateTaskRequest request) { *

Tasks cannot be updated after creation; there is no UpdateTask command. * *

    - *
  • The maximum task size is 100KB. + *
  • The maximum task size is 100KB. *
* *

Sample code: @@ -2414,7 +2427,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListQueuesPagedResponse extends AbstractPagedListResponse< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2461,7 +2477,10 @@ public ApiFuture createPageAsync( public static class ListQueuesFixedSizeCollection extends AbstractFixedSizeCollection< - ListQueuesRequest, ListQueuesResponse, Queue, ListQueuesPage, + ListQueuesRequest, + ListQueuesResponse, + Queue, + ListQueuesPage, ListQueuesFixedSizeCollection> { private ListQueuesFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java similarity index 97% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java index 6e3e2093..027a308a 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.tasks.v2beta3.stub.CloudTasksStubSettings; @@ -50,9 +49,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/gapic_metadata.json diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/package-info.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStub.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java index 0e7734c5..f932d379 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/CloudTasksStubSettings.java @@ -83,9 +83,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java similarity index 99% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java index 00217250..3538397e 100644 --- a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java +++ b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/GrpcCloudTasksStub.java @@ -54,7 +54,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksCallableFactory.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java b/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java rename to google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/HttpJsonCloudTasksStub.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientHttpJsonTest.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasks.java diff --git a/owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientHttpJsonTest.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta2/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta2/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientHttpJsonTest.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasks.java diff --git a/owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java b/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java similarity index 100% rename from owl-bot-staging/v2beta3/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java rename to google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/MockCloudTasksImpl.java diff --git a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java similarity index 58% rename from owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java rename to grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java index e774c26c..7ce92264 100644 --- a/owl-bot-staging/v2/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java +++ b/grpc-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.tasks.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,733 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListQueuesRequest, com.google.cloud.tasks.v2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListQueuesRequest,
+            com.google.cloud.tasks.v2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListQueuesResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.UpdateQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.UpdateQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PurgeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.PauseQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ResumeQueueRequest, com.google.cloud.tasks.v2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ResumeQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.ListTasksRequest, com.google.cloud.tasks.v2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.ListTasksResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.CreateTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.DeleteTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +776,16 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +801,16 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +824,16 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +841,15 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +859,15 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +882,16 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +902,16 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -723,12 +923,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +942,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -754,34 +963,43 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1007,15 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1038,167 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListQueuesRequest, - com.google.cloud.tasks.v2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListQueuesRequest, + com.google.cloud.tasks.v2.ListQueuesResponse>(this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.UpdateQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.UpdateQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PurgeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PurgeQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.PauseQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.PauseQueueRequest, com.google.cloud.tasks.v2.Queue>( + this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ResumeQueueRequest, - com.google.cloud.tasks.v2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ResumeQueueRequest, + com.google.cloud.tasks.v2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.ListTasksRequest, - com.google.cloud.tasks.v2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.ListTasksRequest, + com.google.cloud.tasks.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.GetTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.GetTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.CreateTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.CreateTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2.RunTaskRequest, - com.google.cloud.tasks.v2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2.RunTaskRequest, com.google.cloud.tasks.v2.Task>( + this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1212,18 @@ public void getQueue(com.google.cloud.tasks.v2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1239,18 @@ public void createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request,
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1264,18 @@ public void updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request,
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1283,16 @@ public void deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request,
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1302,16 @@ public void purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1326,18 @@ public void pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1348,18 @@ public void resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request,
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1371,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1392,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1156,37 +1415,46 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2.ListTasksRequest request, + public void listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1462,16 @@ public void createTask(com.google.cloud.tasks.v2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1494,8 @@ public void deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1503,16 @@ public void runTask(com.google.cloud.tasks.v2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1523,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.cloud.tasks.v2.Queue getQueue( + com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1565,15 @@ public com.google.cloud.tasks.v2.Queue getQueue(com.google.cloud.tasks.v2.GetQue
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue createQueue( + com.google.cloud.tasks.v2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1589,15 @@ public com.google.cloud.tasks.v2.Queue createQueue(com.google.cloud.tasks.v2.Cre
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2.Queue updateQueue( + com.google.cloud.tasks.v2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1611,15 @@ public com.google.cloud.tasks.v2.Queue updateQueue(com.google.cloud.tasks.v2.Upd
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1627,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2.DeleteQue
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue purgeQueue( + com.google.cloud.tasks.v2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1645,15 @@ public com.google.cloud.tasks.v2.Queue purgeQueue(com.google.cloud.tasks.v2.Purg
      * [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2.Queue pauseQueue( + com.google.cloud.tasks.v2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1668,15 @@ public com.google.cloud.tasks.v2.Queue pauseQueue(com.google.cloud.tasks.v2.Paus
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2.Queue resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2.Queue resumeQueue( + com.google.cloud.tasks.v2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1693,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1712,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1723,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1435,34 +1742,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2.ListTasksResponse listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) { + public com.google.cloud.tasks.v2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2.Task getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.cloud.tasks.v2.Task getTask( + com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2.Task createTask( + com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1786,15 @@ public com.google.cloud.tasks.v2.Task createTask(com.google.cloud.tasks.v2.Creat
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1817,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2.DeleteTask
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2.Task runTask(com.google.cloud.tasks.v2.RunTaskRequest request) { + public com.google.cloud.tasks.v2.Task runTask( + com.google.cloud.tasks.v2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1887,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1911,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1933,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1949,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1967,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +1990,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2009,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2029,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2047,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
@@ -1720,37 +2067,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2119,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2143,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2167,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2185,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2283,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2327,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
similarity index 58%
rename from owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
index 2dea9a7e..4471b15a 100644
--- a/owl-bot-staging/v2beta2/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta2;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,700 +36,928 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta2.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta2.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta2.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta2.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta2.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.UpdateQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PurgeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta2.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.PauseQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ResumeQueueRequest, com.google.cloud.tasks.v2beta2.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta2.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.ListTasksRequest,
+          com.google.cloud.tasks.v2beta2.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.ListTasksRequest,
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta2.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.GetTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta2.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta2.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CreateTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getLeaseTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "LeaseTasks",
       requestType = com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getLeaseTasksMethod() {
-    io.grpc.MethodDescriptor getLeaseTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+          com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+      getLeaseTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.LeaseTasksRequest,
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        getLeaseTasksMethod;
     if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getLeaseTasksMethod = CloudTasksGrpc.getLeaseTasksMethod) == null) {
-          CloudTasksGrpc.getLeaseTasksMethod = getLeaseTasksMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
-              .build();
+          CloudTasksGrpc.getLeaseTasksMethod =
+              getLeaseTasksMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LeaseTasks"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.LeaseTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("LeaseTasks"))
+                      .build();
         }
       }
     }
     return getLeaseTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AcknowledgeTask",
       requestType = com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getAcknowledgeTaskMethod() {
-    io.grpc.MethodDescriptor getAcknowledgeTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+      getAcknowledgeTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, com.google.protobuf.Empty>
+        getAcknowledgeTaskMethod;
     if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getAcknowledgeTaskMethod = CloudTasksGrpc.getAcknowledgeTaskMethod) == null) {
-          CloudTasksGrpc.getAcknowledgeTaskMethod = getAcknowledgeTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
-              .build();
+          CloudTasksGrpc.getAcknowledgeTaskMethod =
+              getAcknowledgeTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcknowledgeTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new CloudTasksMethodDescriptorSupplier("AcknowledgeTask"))
+                      .build();
         }
       }
     }
     return getAcknowledgeTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRenewLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RenewLease",
       requestType = com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRenewLeaseMethod() {
-    io.grpc.MethodDescriptor getRenewLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRenewLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRenewLeaseMethod;
     if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRenewLeaseMethod = CloudTasksGrpc.getRenewLeaseMethod) == null) {
-          CloudTasksGrpc.getRenewLeaseMethod = getRenewLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
-              .build();
+          CloudTasksGrpc.getRenewLeaseMethod =
+              getRenewLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenewLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RenewLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RenewLease"))
+                      .build();
         }
       }
     }
     return getRenewLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCancelLeaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CancelLease",
       requestType = com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCancelLeaseMethod() {
-    io.grpc.MethodDescriptor getCancelLeaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+      getCancelLeaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest, com.google.cloud.tasks.v2beta2.Task>
+        getCancelLeaseMethod;
     if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCancelLeaseMethod = CloudTasksGrpc.getCancelLeaseMethod) == null) {
-          CloudTasksGrpc.getCancelLeaseMethod = getCancelLeaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
-              .build();
+          CloudTasksGrpc.getCancelLeaseMethod =
+              getCancelLeaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelLease"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.CancelLeaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CancelLease"))
+                      .build();
         }
       }
     }
     return getCancelLeaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta2.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta2.RunTaskRequest, com.google.cloud.tasks.v2beta2.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -726,12 +971,16 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -747,12 +996,16 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -766,12 +1019,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -779,12 +1036,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -794,12 +1054,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -814,12 +1077,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -830,12 +1097,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -847,12 +1118,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -862,12 +1137,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -878,22 +1158,29 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -902,12 +1189,15 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -915,12 +1205,15 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -943,12 +1236,16 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLeaseTasksMethod(), responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -963,12 +1260,16 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeTaskMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAcknowledgeTaskMethod(), responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -976,12 +1277,15 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenewLeaseMethod(), responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -990,12 +1294,16 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelLeaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelLeaseMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1020,199 +1328,193 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListQueuesRequest, - com.google.cloud.tasks.v2beta2.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListQueuesRequest, + com.google.cloud.tasks.v2beta2.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.UpdateQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.UpdateQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PurgeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PurgeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.PauseQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.PauseQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ResumeQueueRequest, - com.google.cloud.tasks.v2beta2.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ResumeQueueRequest, + com.google.cloud.tasks.v2beta2.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.ListTasksRequest, - com.google.cloud.tasks.v2beta2.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.ListTasksRequest, + com.google.cloud.tasks.v2beta2.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.GetTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.GetTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CreateTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CreateTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getLeaseTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.LeaseTasksRequest, - com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( - this, METHODID_LEASE_TASKS))) + getLeaseTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.LeaseTasksRequest, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse>( + this, METHODID_LEASE_TASKS))) .addMethod( - getAcknowledgeTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_ACKNOWLEDGE_TASK))) + getAcknowledgeTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, + com.google.protobuf.Empty>(this, METHODID_ACKNOWLEDGE_TASK))) .addMethod( - getRenewLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RenewLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RENEW_LEASE))) + getRenewLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RenewLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RENEW_LEASE))) .addMethod( - getCancelLeaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.CancelLeaseRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_CANCEL_LEASE))) + getCancelLeaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.CancelLeaseRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_CANCEL_LEASE))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta2.RunTaskRequest, - com.google.cloud.tasks.v2beta2.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta2.RunTaskRequest, + com.google.cloud.tasks.v2beta2.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1226,13 +1528,18 @@ public void getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1248,13 +1555,18 @@ public void createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1268,13 +1580,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1282,13 +1599,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1298,13 +1618,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1319,13 +1642,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1336,13 +1664,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1354,13 +1687,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1370,13 +1708,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1387,24 +1731,31 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1413,13 +1764,16 @@ public void getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request,
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1427,13 +1781,16 @@ public void createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1456,13 +1813,17 @@ public void deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request,
      * is exceeded.
      * 
*/ - public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1477,13 +1838,18 @@ public void leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request,
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, + public void acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1491,13 +1857,16 @@ public void acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskReques
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, + public void renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1506,13 +1875,18 @@ public void renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request,
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, + public void cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1537,7 +1911,8 @@ public void cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest reques
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1545,14 +1920,16 @@ public void runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1563,27 +1940,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta2.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue getQueue( + com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1597,12 +1982,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue createQueue( + com.google.cloud.tasks.v2beta2.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1618,12 +2006,15 @@ public com.google.cloud.tasks.v2beta2.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue updateQueue( + com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1637,12 +2028,15 @@ public com.google.cloud.tasks.v2beta2.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1650,12 +2044,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta2.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue purgeQueue( + com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1665,12 +2062,15 @@ public com.google.cloud.tasks.v2beta2.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue pauseQueue( + com.google.cloud.tasks.v2beta2.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1685,12 +2085,15 @@ public com.google.cloud.tasks.v2beta2.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta2.Queue resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta2.Queue resumeQueue( + com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1707,6 +2110,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -1724,6 +2129,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1733,12 +2140,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -1749,22 +2159,28 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta2.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta2.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task getTask( + com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -1773,12 +2189,15 @@ public com.google.cloud.tasks.v2beta2.Task getTask(com.google.cloud.tasks.v2beta
      * * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task createTask( + com.google.cloud.tasks.v2beta2.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1786,12 +2205,15 @@ public com.google.cloud.tasks.v2beta2.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta2.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -1814,12 +2236,15 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta2.Delet
      * is exceeded.
      * 
*/ - public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { + public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks( + com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLeaseTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -1834,12 +2259,15 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse leaseTasks(com.google.c
      * [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
      * 
*/ - public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { + public com.google.protobuf.Empty acknowledgeTask( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgeTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -1847,12 +2275,15 @@ public com.google.protobuf.Empty acknowledgeTask(com.google.cloud.tasks.v2beta2.
      * returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task renewLease( + com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenewLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -1861,12 +2292,15 @@ public com.google.cloud.tasks.v2beta2.Task renewLease(com.google.cloud.tasks.v2b
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { + public com.google.cloud.tasks.v2beta2.Task cancelLease( + com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelLeaseMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1891,54 +2325,63 @@ public com.google.cloud.tasks.v2beta2.Task cancelLease(com.google.cloud.tasks.v2
      * [pull task][google.cloud.tasks.v2beta2.PullMessage].
      * 
*/ - public com.google.cloud.tasks.v2beta2.Task runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta2.Task runTask( + com.google.cloud.tasks.v2beta2.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta2.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta2.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta2.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta2.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1952,13 +2395,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta2.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1974,13 +2419,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta2.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1994,13 +2441,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta2.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -2008,13 +2457,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta2.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -2024,13 +2475,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta2.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -2045,13 +2498,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta2.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -2062,13 +2517,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
      * policy.
@@ -2080,13 +2537,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta2.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -2096,13 +2555,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
@@ -2113,24 +2575,29 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta2.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta2.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta2.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
@@ -2139,13 +2606,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTask(
-        com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTask(com.google.cloud.tasks.v2beta2.CreateTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -2160,6 +2629,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Leases tasks from a pull queue for
      * [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
@@ -2182,13 +2653,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture leaseTasks(
-        com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta2.LeaseTasksResponse>
+        leaseTasks(com.google.cloud.tasks.v2beta2.LeaseTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getLeaseTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Acknowledges a pull task.
      * The worker, that is, the entity that
@@ -2203,13 +2677,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture acknowledgeTask(
-        com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        acknowledgeTask(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getAcknowledgeTaskMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Renew the current lease of a pull task.
      * The worker can use this method to extend the lease by a new
@@ -2217,13 +2693,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture renewLease(
-        com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        renewLease(com.google.cloud.tasks.v2beta2.RenewLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRenewLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Cancel a pull task's lease.
      * The worker can use this method to cancel a task's lease by
@@ -2232,13 +2710,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture cancelLease(
-        com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        cancelLease(com.google.cloud.tasks.v2beta2.CancelLeaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCancelLeaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -2263,8 +2743,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta2.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -2291,11 +2771,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -2309,83 +2789,107 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta2.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta2.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta2.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta2.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta2.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta2.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta2.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LEASE_TASKS:
-          serviceImpl.leaseTasks((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.leaseTasks(
+              (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_ACKNOWLEDGE_TASK:
-          serviceImpl.acknowledgeTask((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
+          serviceImpl.acknowledgeTask(
+              (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RENEW_LEASE:
-          serviceImpl.renewLease((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
+          serviceImpl.renewLease(
+              (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CANCEL_LEASE:
-          serviceImpl.cancelLease((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
+          serviceImpl.cancelLease(
+              (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta2.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -2404,8 +2908,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2447,29 +2952,31 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getLeaseTasksMethod())
-              .addMethod(getAcknowledgeTaskMethod())
-              .addMethod(getRenewLeaseMethod())
-              .addMethod(getCancelLeaseMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getLeaseTasksMethod())
+                      .addMethod(getAcknowledgeTaskMethod())
+                      .addMethod(getRenewLeaseMethod())
+                      .addMethod(getCancelLeaseMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
similarity index 57%
rename from owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
rename to grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
index 86628889..f661a208 100644
--- a/owl-bot-staging/v2beta3/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
+++ b/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.tasks.v2beta3;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Tasks allows developers to manage the execution of background
  * work in their applications.
@@ -19,576 +36,755 @@ private CloudTasksGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.tasks.v2beta3.CloudTasks";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListQueuesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListQueues",
       requestType = com.google.cloud.tasks.v2beta3.ListQueuesRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListQueuesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListQueuesMethod() {
-    io.grpc.MethodDescriptor getListQueuesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+          com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+      getListQueuesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListQueuesRequest,
+            com.google.cloud.tasks.v2beta3.ListQueuesResponse>
+        getListQueuesMethod;
     if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListQueuesMethod = CloudTasksGrpc.getListQueuesMethod) == null) {
-          CloudTasksGrpc.getListQueuesMethod = getListQueuesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
-              .build();
+          CloudTasksGrpc.getListQueuesMethod =
+              getListQueuesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueues"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListQueuesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListQueues"))
+                      .build();
         }
       }
     }
     return getListQueuesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetQueue",
       requestType = com.google.cloud.tasks.v2beta3.GetQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetQueueMethod() {
-    io.grpc.MethodDescriptor getGetQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getGetQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getGetQueueMethod;
     if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetQueueMethod = CloudTasksGrpc.getGetQueueMethod) == null) {
-          CloudTasksGrpc.getGetQueueMethod = getGetQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
-              .build();
+          CloudTasksGrpc.getGetQueueMethod =
+              getGetQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.GetQueueRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetQueue"))
+                      .build();
         }
       }
     }
     return getGetQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateQueue",
       requestType = com.google.cloud.tasks.v2beta3.CreateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateQueueMethod() {
-    io.grpc.MethodDescriptor getCreateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getCreateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getCreateQueueMethod;
     if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateQueueMethod = CloudTasksGrpc.getCreateQueueMethod) == null) {
-          CloudTasksGrpc.getCreateQueueMethod = getCreateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
-              .build();
+          CloudTasksGrpc.getCreateQueueMethod =
+              getCreateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateQueue"))
+                      .build();
         }
       }
     }
     return getCreateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateQueue",
       requestType = com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateQueueMethod() {
-    io.grpc.MethodDescriptor getUpdateQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getUpdateQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.UpdateQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getUpdateQueueMethod;
     if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getUpdateQueueMethod = CloudTasksGrpc.getUpdateQueueMethod) == null) {
-          CloudTasksGrpc.getUpdateQueueMethod = getUpdateQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
-              .build();
+          CloudTasksGrpc.getUpdateQueueMethod =
+              getUpdateQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.UpdateQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("UpdateQueue"))
+                      .build();
         }
       }
     }
     return getUpdateQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteQueue",
       requestType = com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteQueueMethod() {
-    io.grpc.MethodDescriptor getDeleteQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+      getDeleteQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>
+        getDeleteQueueMethod;
     if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteQueueMethod = CloudTasksGrpc.getDeleteQueueMethod) == null) {
-          CloudTasksGrpc.getDeleteQueueMethod = getDeleteQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
-              .build();
+          CloudTasksGrpc.getDeleteQueueMethod =
+              getDeleteQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteQueue"))
+                      .build();
         }
       }
     }
     return getDeleteQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPurgeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PurgeQueue",
       requestType = com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPurgeQueueMethod() {
-    io.grpc.MethodDescriptor getPurgeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPurgeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PurgeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPurgeQueueMethod;
     if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPurgeQueueMethod = CloudTasksGrpc.getPurgeQueueMethod) == null) {
-          CloudTasksGrpc.getPurgeQueueMethod = getPurgeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
-              .build();
+          CloudTasksGrpc.getPurgeQueueMethod =
+              getPurgeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PurgeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PurgeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PurgeQueue"))
+                      .build();
         }
       }
     }
     return getPurgeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseQueue",
       requestType = com.google.cloud.tasks.v2beta3.PauseQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseQueueMethod() {
-    io.grpc.MethodDescriptor getPauseQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getPauseQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.PauseQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getPauseQueueMethod;
     if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getPauseQueueMethod = CloudTasksGrpc.getPauseQueueMethod) == null) {
-          CloudTasksGrpc.getPauseQueueMethod = getPauseQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
-              .build();
+          CloudTasksGrpc.getPauseQueueMethod =
+              getPauseQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.PauseQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("PauseQueue"))
+                      .build();
         }
       }
     }
     return getPauseQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeQueueMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeQueue",
       requestType = com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Queue.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeQueueMethod() {
-    io.grpc.MethodDescriptor getResumeQueueMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+      getResumeQueueMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ResumeQueueRequest, com.google.cloud.tasks.v2beta3.Queue>
+        getResumeQueueMethod;
     if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getResumeQueueMethod = CloudTasksGrpc.getResumeQueueMethod) == null) {
-          CloudTasksGrpc.getResumeQueueMethod = getResumeQueueMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
-              .build();
+          CloudTasksGrpc.getResumeQueueMethod =
+              getResumeQueueMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeQueue"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ResumeQueueRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ResumeQueue"))
+                      .build();
         }
       }
     }
     return getResumeQueueMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  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 getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetIamPolicyMethod = CloudTasksGrpc.getGetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  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 getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getSetIamPolicyMethod = CloudTasksGrpc.getSetIamPolicyMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  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 = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getTestIamPermissionsMethod = CloudTasksGrpc.getTestIamPermissionsMethod) == null) {
-          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          CloudTasksGrpc.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 CloudTasksMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTasksMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTasks",
       requestType = com.google.cloud.tasks.v2beta3.ListTasksRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.ListTasksResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTasksMethod() {
-    io.grpc.MethodDescriptor getListTasksMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.ListTasksRequest,
+          com.google.cloud.tasks.v2beta3.ListTasksResponse>
+      getListTasksMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.ListTasksRequest,
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        getListTasksMethod;
     if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getListTasksMethod = CloudTasksGrpc.getListTasksMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.ListTasksRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.ListTasksResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("ListTasks"))
+                      .build();
         }
       }
     }
     return getListTasksMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTask",
       requestType = com.google.cloud.tasks.v2beta3.GetTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTaskMethod() {
-    io.grpc.MethodDescriptor getGetTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getGetTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.GetTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getGetTaskMethod;
     if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getGetTaskMethod = CloudTasksGrpc.getGetTaskMethod) == null) {
-          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
-              .build();
+          CloudTasksGrpc.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.tasks.v2beta3.GetTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("GetTask"))
+                      .build();
         }
       }
     }
     return getGetTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTask",
       requestType = com.google.cloud.tasks.v2beta3.CreateTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTaskMethod() {
-    io.grpc.MethodDescriptor getCreateTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getCreateTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.CreateTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getCreateTaskMethod;
     if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getCreateTaskMethod = CloudTasksGrpc.getCreateTaskMethod) == null) {
-          CloudTasksGrpc.getCreateTaskMethod = getCreateTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
-              .build();
+          CloudTasksGrpc.getCreateTaskMethod =
+              getCreateTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.CreateTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("CreateTask"))
+                      .build();
         }
       }
     }
     return getCreateTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTask",
       requestType = com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTaskMethod() {
-    io.grpc.MethodDescriptor getDeleteTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+      getDeleteTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>
+        getDeleteTaskMethod;
     if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getDeleteTaskMethod = CloudTasksGrpc.getDeleteTaskMethod) == null) {
-          CloudTasksGrpc.getDeleteTaskMethod = getDeleteTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
-              .build();
+          CloudTasksGrpc.getDeleteTaskMethod =
+              getDeleteTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.DeleteTaskRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("DeleteTask"))
+                      .build();
         }
       }
     }
     return getDeleteTaskMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunTaskMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunTask",
       requestType = com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
       responseType = com.google.cloud.tasks.v2beta3.Task.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunTaskMethod() {
-    io.grpc.MethodDescriptor getRunTaskMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+      getRunTaskMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.tasks.v2beta3.RunTaskRequest, com.google.cloud.tasks.v2beta3.Task>
+        getRunTaskMethod;
     if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
       synchronized (CloudTasksGrpc.class) {
         if ((getRunTaskMethod = CloudTasksGrpc.getRunTaskMethod) == null) {
-          CloudTasksGrpc.getRunTaskMethod = getRunTaskMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
-              .build();
+          CloudTasksGrpc.getRunTaskMethod =
+              getRunTaskMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunTask"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.RunTaskRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudTasksMethodDescriptorSupplier("RunTask"))
+                      .build();
         }
       }
     }
     return getRunTaskMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudTasksStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksStub(channel, callOptions);
+          }
+        };
     return CloudTasksStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudTasksBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudTasksBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksBlockingStub(channel, callOptions);
+          }
+        };
     return CloudTasksBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudTasksFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudTasksFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudTasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudTasksFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudTasksFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudTasksFutureStub(channel, callOptions);
+          }
+        };
     return CloudTasksFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static abstract class CloudTasksImplBase implements io.grpc.BindableService { + public abstract static class CloudTasksImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueuesMethod(), responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueueMethod(), responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -602,12 +798,16 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateQueueMethod(), responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -623,12 +823,16 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateQueueMethod(), responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -642,12 +846,16 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteQueueMethod(), responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -655,12 +863,15 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPurgeQueueMethod(), responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -670,12 +881,15 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseQueueMethod(), responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -690,12 +904,16 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeQueueMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResumeQueueMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -706,12 +924,16 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -723,12 +945,16 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -738,12 +964,17 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -754,34 +985,44 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaskMethod(), responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -789,12 +1030,15 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaskMethod(), responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -817,171 +1061,168 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunTaskMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListQueuesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListQueuesRequest, - com.google.cloud.tasks.v2beta3.ListQueuesResponse>( - this, METHODID_LIST_QUEUES))) + getListQueuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListQueuesRequest, + com.google.cloud.tasks.v2beta3.ListQueuesResponse>( + this, METHODID_LIST_QUEUES))) .addMethod( - getGetQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_GET_QUEUE))) + getGetQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_GET_QUEUE))) .addMethod( - getCreateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_CREATE_QUEUE))) + getCreateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_CREATE_QUEUE))) .addMethod( - getUpdateQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.UpdateQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_UPDATE_QUEUE))) + getUpdateQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.UpdateQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_UPDATE_QUEUE))) .addMethod( - getDeleteQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteQueueRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_QUEUE))) + getDeleteQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteQueueRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_QUEUE))) .addMethod( - getPurgeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PurgeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PURGE_QUEUE))) + getPurgeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PurgeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PURGE_QUEUE))) .addMethod( - getPauseQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.PauseQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_PAUSE_QUEUE))) + getPauseQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.PauseQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_PAUSE_QUEUE))) .addMethod( - getResumeQueueMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ResumeQueueRequest, - com.google.cloud.tasks.v2beta3.Queue>( - this, METHODID_RESUME_QUEUE))) + getResumeQueueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ResumeQueueRequest, + com.google.cloud.tasks.v2beta3.Queue>(this, METHODID_RESUME_QUEUE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + 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))) + 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))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.ListTasksRequest, - com.google.cloud.tasks.v2beta3.ListTasksResponse>( - this, METHODID_LIST_TASKS))) + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.ListTasksRequest, + com.google.cloud.tasks.v2beta3.ListTasksResponse>(this, METHODID_LIST_TASKS))) .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.GetTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_GET_TASK))) + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.GetTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_GET_TASK))) .addMethod( - getCreateTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.CreateTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_CREATE_TASK))) + getCreateTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.CreateTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_CREATE_TASK))) .addMethod( - getDeleteTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.DeleteTaskRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TASK))) + getDeleteTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.DeleteTaskRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TASK))) .addMethod( - getRunTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.tasks.v2beta3.RunTaskRequest, - com.google.cloud.tasks.v2beta3.Task>( - this, METHODID_RUN_TASK))) + getRunTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.tasks.v2beta3.RunTaskRequest, + com.google.cloud.tasks.v2beta3.Task>(this, METHODID_RUN_TASK))) .build(); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ public static final class CloudTasksStub extends io.grpc.stub.AbstractAsyncStub { - private CloudTasksStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CloudTasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public void listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a queue.
      * 
*/ - public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request, + public void getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -995,13 +1236,18 @@ public void getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request,
      * this method.
      * 
*/ - public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request, + public void createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1017,13 +1263,18 @@ public void createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest reques
      * this method.
      * 
*/ - public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, + public void updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1037,13 +1288,18 @@ public void updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest reques
      * this method.
      * 
*/ - public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, + public void deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1051,13 +1307,16 @@ public void deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest reques
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, + public void purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1067,13 +1326,16 @@ public void purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request,
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request, + public void pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1088,13 +1350,18 @@ public void pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request,
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, + public void resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getResumeQueueMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1105,13 +1372,18 @@ public void resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest reques
      * * `cloudtasks.queues.getIamPolicy`
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + 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); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1123,13 +1395,18 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * * `cloudtasks.queues.setIamPolicy`
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + 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); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1139,13 +1416,19 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * may "fail open" without warning.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + 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); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1156,37 +1439,47 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * time.
      * 
*/ - public void listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a task.
      * 
*/ - public void getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request, + public void getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request, + public void createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1194,13 +1487,16 @@ public void createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request,
      * failed.
      * 
*/ - public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, + public void deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTaskMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1223,7 +1519,8 @@ public void deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request,
      * task that has already succeeded or permanently failed.
      * 
*/ - public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, + public void runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunTaskMethod(), getCallOptions()), request, responseObserver); @@ -1231,14 +1528,16 @@ public void runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request, } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudTasksBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudTasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1249,27 +1548,35 @@ protected CloudTasksBlockingStub build( } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.cloud.tasks.v2beta3.ListQueuesResponse listQueues( + com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueuesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue getQueue( + com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1283,12 +1590,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(com.google.cloud.tasks.v2be
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue createQueue( + com.google.cloud.tasks.v2beta3.CreateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1304,12 +1614,15 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue updateQueue( + com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1323,12 +1636,15 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue(com.google.cloud.tasks.v
      * this method.
      * 
*/ - public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { + public com.google.protobuf.Empty deleteQueue( + com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1336,12 +1652,15 @@ public com.google.protobuf.Empty deleteQueue(com.google.cloud.tasks.v2beta3.Dele
      * might be dispatched before the purge takes effect. A purge is irreversible.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue purgeQueue( + com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPurgeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1351,12 +1670,15 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue(com.google.cloud.tasks.v2
      * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue pauseQueue( + com.google.cloud.tasks.v2beta3.PauseQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1371,12 +1693,15 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue(com.google.cloud.tasks.v2
      * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
      * 
*/ - public com.google.cloud.tasks.v2beta3.Queue resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { + public com.google.cloud.tasks.v2beta3.Queue resumeQueue( + com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeQueueMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1393,6 +1718,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1410,6 +1737,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1419,12 +1748,15 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      * may "fail open" without warning.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1435,34 +1767,43 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * time.
      * 
*/ - public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) { + public com.google.cloud.tasks.v2beta3.ListTasksResponse listTasks( + com.google.cloud.tasks.v2beta3.ListTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTasksMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a task.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task getTask( + com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task createTask( + com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1470,12 +1811,15 @@ public com.google.cloud.tasks.v2beta3.Task createTask(com.google.cloud.tasks.v2b
      * failed.
      * 
*/ - public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { + public com.google.protobuf.Empty deleteTask( + com.google.cloud.tasks.v2beta3.DeleteTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTaskMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1498,54 +1842,63 @@ public com.google.protobuf.Empty deleteTask(com.google.cloud.tasks.v2beta3.Delet
      * task that has already succeeded or permanently failed.
      * 
*/ - public com.google.cloud.tasks.v2beta3.Task runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) { + public com.google.cloud.tasks.v2beta3.Task runTask( + com.google.cloud.tasks.v2beta3.RunTaskRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunTaskMethod(), getCallOptions(), request); } } /** + * + * *
    * Cloud Tasks allows developers to manage the execution of background
    * work in their applications.
    * 
*/ - public static final class CloudTasksFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudTasksFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudTasksFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudTasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudTasksFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudTasksFutureStub(channel, callOptions); } /** + * + * *
      * Lists queues.
      * Queues are returned in lexicographical order.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listQueues( - com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.tasks.v2beta3.ListQueuesResponse> + listQueues(com.google.cloud.tasks.v2beta3.ListQueuesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueuesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a queue.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getQueue( - com.google.cloud.tasks.v2beta3.GetQueueRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getQueue(com.google.cloud.tasks.v2beta3.GetQueueRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueueMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
@@ -1559,13 +1912,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createQueue(
-        com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createQueue(com.google.cloud.tasks.v2beta3.CreateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates a queue.
      * This method creates the queue if it does not exist and updates
@@ -1581,13 +1936,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateQueue(
-        com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateQueue(com.google.cloud.tasks.v2beta3.UpdateQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a queue.
      * This command will delete the queue even if it has tasks in it.
@@ -1601,13 +1958,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteQueue(
-        com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteQueue(com.google.cloud.tasks.v2beta3.DeleteQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Purges a queue by deleting all of its tasks.
      * All tasks created before this method is called are permanently deleted.
@@ -1615,13 +1974,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture purgeQueue(
-        com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        purgeQueue(com.google.cloud.tasks.v2beta3.PurgeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPurgeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Pauses the queue.
      * If a queue is paused then the system will stop dispatching tasks
@@ -1631,13 +1992,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture pauseQueue(
-        com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        pauseQueue(com.google.cloud.tasks.v2beta3.PauseQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPauseQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Resume a queue.
      * This method resumes a queue after it has been
@@ -1652,13 +2015,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeQueue(
-        com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeQueue(com.google.cloud.tasks.v2beta3.ResumeQueueRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeQueueMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
      * Returns an empty policy if the resource exists and does not have a policy
@@ -1669,13 +2034,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
-        com.google.iam.v1.GetIamPolicyRequest request) {
+    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 access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
      * policy.
@@ -1687,13 +2054,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture setIamPolicy(
-        com.google.iam.v1.SetIamPolicyRequest request) {
+    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 a [Queue][google.cloud.tasks.v2beta3.Queue].
      * If the resource does not exist, this will return an empty set of
@@ -1703,13 +2072,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture testIamPermissions(
-        com.google.iam.v1.TestIamPermissionsRequest request) {
+    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);
     }
 
     /**
+     *
+     *
      * 
      * Lists the tasks in a queue.
      * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
@@ -1720,37 +2092,44 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listTasks(
-        com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.tasks.v2beta3.ListTasksResponse>
+        listTasks(com.google.cloud.tasks.v2beta3.ListTasksRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListTasksMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets a task.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.tasks.v2beta3.GetTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTask(com.google.cloud.tasks.v2beta3.GetTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
      * * The maximum task size is 100KB.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTask( - com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTask(com.google.cloud.tasks.v2beta3.CreateTaskRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTaskMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a task.
      * A task can be deleted if it is scheduled or dispatched. A task
@@ -1765,6 +2144,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
@@ -1787,8 +2168,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture runTask(
-        com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        runTask(com.google.cloud.tasks.v2beta3.RunTaskRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRunTaskMethod(), getCallOptions()), request);
     }
@@ -1811,11 +2192,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final CloudTasksImplBase serviceImpl;
     private final int methodId;
 
@@ -1829,67 +2210,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_QUEUES:
-          serviceImpl.listQueues((com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listQueues(
+              (com.google.cloud.tasks.v2beta3.ListQueuesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_QUEUE:
-          serviceImpl.getQueue((com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
+          serviceImpl.getQueue(
+              (com.google.cloud.tasks.v2beta3.GetQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_QUEUE:
-          serviceImpl.createQueue((com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
+          serviceImpl.createQueue(
+              (com.google.cloud.tasks.v2beta3.CreateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_QUEUE:
-          serviceImpl.updateQueue((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
+          serviceImpl.updateQueue(
+              (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_QUEUE:
-          serviceImpl.deleteQueue((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
+          serviceImpl.deleteQueue(
+              (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PURGE_QUEUE:
-          serviceImpl.purgeQueue((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
+          serviceImpl.purgeQueue(
+              (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PAUSE_QUEUE:
-          serviceImpl.pauseQueue((com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
+          serviceImpl.pauseQueue(
+              (com.google.cloud.tasks.v2beta3.PauseQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RESUME_QUEUE:
-          serviceImpl.resumeQueue((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
+          serviceImpl.resumeQueue(
+              (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_IAM_POLICY:
-          serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request,
+          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,
+          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);
+          serviceImpl.testIamPermissions(
+              (com.google.iam.v1.TestIamPermissionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_LIST_TASKS:
-          serviceImpl.listTasks((com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listTasks(
+              (com.google.cloud.tasks.v2beta3.ListTasksRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_TASK:
-          serviceImpl.getTask((com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
+          serviceImpl.getTask(
+              (com.google.cloud.tasks.v2beta3.GetTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_TASK:
-          serviceImpl.createTask((com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
+          serviceImpl.createTask(
+              (com.google.cloud.tasks.v2beta3.CreateTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_TASK:
-          serviceImpl.deleteTask((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
+          serviceImpl.deleteTask(
+              (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_RUN_TASK:
-          serviceImpl.runTask((com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
+          serviceImpl.runTask(
+              (com.google.cloud.tasks.v2beta3.RunTaskRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -1908,8 +2308,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class CloudTasksBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class CloudTasksBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     CloudTasksBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1951,25 +2352,27 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (CloudTasksGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
-              .addMethod(getListQueuesMethod())
-              .addMethod(getGetQueueMethod())
-              .addMethod(getCreateQueueMethod())
-              .addMethod(getUpdateQueueMethod())
-              .addMethod(getDeleteQueueMethod())
-              .addMethod(getPurgeQueueMethod())
-              .addMethod(getPauseQueueMethod())
-              .addMethod(getResumeQueueMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .addMethod(getListTasksMethod())
-              .addMethod(getGetTaskMethod())
-              .addMethod(getCreateTaskMethod())
-              .addMethod(getDeleteTaskMethod())
-              .addMethod(getRunTaskMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new CloudTasksFileDescriptorSupplier())
+                      .addMethod(getListQueuesMethod())
+                      .addMethod(getGetQueueMethod())
+                      .addMethod(getCreateQueueMethod())
+                      .addMethod(getUpdateQueueMethod())
+                      .addMethod(getDeleteQueueMethod())
+                      .addMethod(getPurgeQueueMethod())
+                      .addMethod(getPauseQueueMethod())
+                      .addMethod(getResumeQueueMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .addMethod(getListTasksMethod())
+                      .addMethod(getGetTaskMethod())
+                      .addMethod(getCreateTaskMethod())
+                      .addMethod(getDeleteTaskMethod())
+                      .addMethod(getRunTaskMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
deleted file mode 100644
index ff95f089..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
+++ /dev/null
@@ -1,349 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public final class CloudTasksProto {
-  private CloudTasksProto() {}
-  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_tasks_v2_ListQueuesRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto" +
-      "\022\025google.cloud.tasks.v2\032\034google/api/anno" +
-      "tations.proto\032\027google/api/client.proto\032\037" +
-      "google/api/field_behavior.proto\032\031google/" +
-      "api/resource.proto\032!google/cloud/tasks/v" +
-      "2/queue.proto\032 google/cloud/tasks/v2/tas" +
-      "k.proto\032\036google/iam/v1/iam_policy.proto\032" +
-      "\032google/iam/v1/policy.proto\032\033google/prot" +
-      "obuf/empty.proto\032 google/protobuf/field_" +
-      "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare" +
-      "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis." +
-      "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" +
-      " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe" +
-      "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta" +
-      "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n" +
-      "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037" +
-      "cloudtasks.googleapis.com/Queue\"\177\n\022Creat" +
-      "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c" +
-      "loudtasks.googleapis.com/Queue\0220\n\005queue\030" +
-      "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002" +
-      "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034." +
-      "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda" +
-      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
-      "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340" +
-      "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J" +
-      "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" +
-      "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa" +
-      "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c" +
-      "loudtasks.googleapis.com/Queue\"K\n\022Resume" +
-      "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou" +
-      "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask" +
-      "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt" +
-      "asks.googleapis.com/Task\0227\n\rresponse_vie" +
-      "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie" +
-      "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" +
-      "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g" +
-      "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t" +
-      "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001" +
-      "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta" +
-      "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud" +
-      ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques" +
-      "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go" +
-      "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google" +
-      ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi" +
-      "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi" +
-      "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340" +
-      "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n" +
-      "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c" +
-      "loudtasks.googleapis.com/Task\0227\n\rrespons" +
-      "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas" +
-      "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g" +
-      "oogle.cloud.tasks.v2.ListQueuesRequest\032)" +
-      ".google.cloud.tasks.v2.ListQueuesRespons" +
-      "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati" +
-      "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go" +
-      "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go" +
-      "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{" +
-      "name=projects/*/locations/*/queues/*}\332A\004" +
-      "name\022\240\001\n\013CreateQueue\022).google.cloud.task" +
-      "s.v2.CreateQueueRequest\032\034.google.cloud.t" +
-      "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje" +
-      "cts/*/locations/*}/queues:\005queue\332A\014paren" +
-      "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t" +
-      "asks.v2.UpdateQueueRequest\032\034.google.clou" +
-      "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam" +
-      "e=projects/*/locations/*/queues/*}:\005queu" +
-      "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)." +
-      "google.cloud.tasks.v2.DeleteQueueRequest" +
-      "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n" +
-      "ame=projects/*/locations/*/queues/*}\332A\004n" +
-      "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks." +
-      "v2.PurgeQueueRequest\032\034.google.cloud.task" +
-      "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*" +
-      "/locations/*/queues/*}:purge:\001*\332A\004name\022\230" +
-      "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa" +
-      "useQueueRequest\032\034.google.cloud.tasks.v2." +
-      "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca" +
-      "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re" +
-      "sumeQueue\022).google.cloud.tasks.v2.Resume" +
-      "QueueRequest\032\034.google.cloud.tasks.v2.Que" +
-      "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI" +
-      "amPolicy\022\".google.iam.v1.GetIamPolicyReq" +
-      "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2" +
-      "/{resource=projects/*/locations/*/queues" +
-      "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa" +
-      "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" +
-      "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/" +
-      "{resource=projects/*/locations/*/queues/" +
-      "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n" +
-      "\022TestIamPermissions\022(.google.iam.v1.Test" +
-      "IamPermissionsRequest\032).google.iam.v1.Te" +
-      "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r" +
-      "esource=projects/*/locations/*/queues/*}" +
-      ":testIamPermissions:\001*\332A\024resource,permis" +
-      "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks" +
-      ".v2.ListTasksRequest\032(.google.cloud.task" +
-      "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par" +
-      "ent=projects/*/locations/*/queues/*}/tas" +
-      "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t" +
-      "asks.v2.GetTaskRequest\032\033.google.cloud.ta" +
-      "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/" +
-      "*/locations/*/queues/*/tasks/*}\332A\004name\022\240" +
-      "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr" +
-      "eateTaskRequest\032\033.google.cloud.tasks.v2." +
-      "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc" +
-      "ations/*/queues/*}/tasks:\001*\332A\013parent,tas" +
-      "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2" +
-      ".DeleteTaskRequest\032\026.google.protobuf.Emp" +
-      "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio" +
-      "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas" +
-      "k\022%.google.cloud.tasks.v2.RunTaskRequest" +
-      "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/" +
-      "v2/{name=projects/*/locations/*/queues/*" +
-      "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" +
-      "oogleapis.com\322A.https://www.googleapis.c" +
-      "om/auth/cloud-platformBr\n\031com.google.clo" +
-      "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" +
-      "olang.org/genproto/googleapis/cloud/task" +
-      "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
-          com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
-          com.google.iam.v1.IamPolicyProto.getDescriptor(),
-          com.google.iam.v1.PolicyProto.getDescriptor(),
-          com.google.protobuf.EmptyProto.getDescriptor(),
-          com.google.protobuf.FieldMaskProto.getDescriptor(),
-        });
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
-        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
-        new java.lang.String[] { "Queues", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
-        new java.lang.String[] { "Parent", "Queue", });
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
-        new java.lang.String[] { "Queue", "UpdateMask", });
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
-        new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", });
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
-        new java.lang.String[] { "Tasks", "NextPageToken", });
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
-        new java.lang.String[] { "Parent", "Task", "ResponseView", });
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
-        new java.lang.String[] { "Name", "ResponseView", });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
-    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
-    com.google.iam.v1.IamPolicyProto.getDescriptor();
-    com.google.iam.v1.PolicyProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
deleted file mode 100644
index c9b6525f..00000000
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java
+++ /dev/null
@@ -1,31 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/cloud/tasks/v2/cloudtasks.proto
-
-package com.google.cloud.tasks.v2;
-
-public interface DeleteQueueRequestOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * 
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 29a262ab..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java deleted file mode 100644 index 7612fed1..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface GetQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the queue. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index 8258f7dd..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index 9b02b696..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java deleted file mode 100644 index dac47c22..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/queue.proto - -package com.google.cloud.tasks.v2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo" + - "gle.cloud.tasks.v2\032\031google/api/resource." + - "proto\032\"google/cloud/tasks/v2/target.prot" + - "o\032\036google/protobuf/duration.proto\032\037googl" + - "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004" + - "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid" + - "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin" + - "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c" + - "loud.tasks.v2.RateLimits\0228\n\014retry_config" + - "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf" + - "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v" + - "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022S\n\032stackdriver_log" + - "ging_config\030\t \001(\0132/.google.cloud.tasks.v" + - "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S" + - "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE" + - "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl" + - "eapis.com/Queue\0226projects/{project}/loca" + - "tions/{location}/queues/{queue}\"j\n\nRateL" + - "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001" + - "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre" + - "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m" + - "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030" + - "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_" + - "backoff\030\003 \001(\0132\031.google.protobuf.Duration" + - "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." + - "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" + - "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " + - "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineRoutingOverride", "RateLimits", "RetryConfig", "State", "PurgeTime", "StackdriverLoggingConfig", }); - internal_static_google_cloud_tasks_v2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b3d492e7..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/cloudtasks.proto - -package com.google.cloud.tasks.v2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java deleted file mode 100644 index 3e829b7e..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/target.proto - -package com.google.cloud.tasks.v2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/tasks/v2/target.proto\022\025go" + - "ogle.cloud.tasks.v2\032\037google/api/field_be" + - "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + - "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + - "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + - "/.google.cloud.tasks.v2.HttpRequest.Head" + - "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + - "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + - "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + - "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + - "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + - "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + - "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + - "google.cloud.tasks.v2.AppEngineRouting\022\024" + - "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + - "google.cloud.tasks.v2.AppEngineHttpReque" + - "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + - "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + - "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + - "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + - "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + - "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + - "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + - "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + - "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + - "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + - "rotoP\001Z:google.golang.org/genproto/googl" + - "eapis/cloud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - 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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java deleted file mode 100644 index 7bbc90b9..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ /dev/null @@ -1,102 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2/task.proto - -package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + - "le.cloud.tasks.v2\032\031google/api/resource.p" + - "roto\032\"google/cloud/tasks/v2/target.proto" + - "\032\036google/protobuf/duration.proto\032\037google" + - "/protobuf/timestamp.proto\032\027google/rpc/st" + - "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + - "_engine_http_request\030\002 \001(\0132+.google.clou" + - "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + - "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + - "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + - "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + - ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + - "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + - "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + - "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + - "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + - ".googleapis.com/Task\022Cprojects/{project}" + - "/locations/{location}/queues/{queue}/tas" + - "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + - "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + - ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + - "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + - "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + - "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/tasks/v2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "MessageType", }); - internal_static_google_cloud_tasks_v2_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java deleted file mode 100644 index 8ad64891..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ /dev/null @@ -1,462 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta2_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta2/queue.proto\032%google/clo" + - "ud/tasks/v2beta2/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\036google/protobuf/duration.proto\032" + - "\033google/protobuf/empty.proto\032 google/pro" + - "tobuf/field_mask.proto\032\037google/protobuf/" + - "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + - "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + - "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + - "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + - "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + - "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + - "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + - "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + - "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + - "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + - "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + - "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + - "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + - "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + - "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + - "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + - "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + - "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + - "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + - "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + - "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + - "loudtasks.googleapis.com/Task\022<\n\rrespons" + - "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + - "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + - "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + - "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + - "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + - "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + - "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + - "\0162%.google.cloud.tasks.v2beta2.Task.View" + - "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + - "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + - "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + - "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + - "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + - "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + - "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + - "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + - "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + - "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + - "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + - " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + - "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + - "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + - "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + - "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + - "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + - "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + - "sks.googleapis.com/Task\0226\n\rschedule_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + - "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + - "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + - ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + - "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + - "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + - "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + - "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + - "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + - "tasks.googleapis.com/Task\022<\n\rresponse_vi" + - "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + - "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + - "google.cloud.tasks.v2beta2.ListQueuesReq" + - "uest\032..google.cloud.tasks.v2beta2.ListQu" + - "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + - "rojects/*/locations/*}/queues\332A\006parent\022\232" + - "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + - ".GetQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + - "CreateQueue\022..google.cloud.tasks.v2beta2" + - ".CreateQueueRequest\032!.google.cloud.tasks" + - ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + - "=projects/*/locations/*}/queues:\005queue\332A" + - "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + - "loud.tasks.v2beta2.UpdateQueueRequest\032!." + - "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + - "25/v2beta2/{queue.name=projects/*/locati" + - "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + - "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + - "v2beta2.DeleteQueueRequest\032\026.google.prot" + - "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + - "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + - "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + - "urgeQueueRequest\032!.google.cloud.tasks.v2" + - "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + - "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + - "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + - ".v2beta2.PauseQueueRequest\032!.google.clou" + - "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + - "{name=projects/*/locations/*/queues/*}:p" + - "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + - "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + - ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + - ";\"6/v2beta2/{name=projects/*/locations/*" + - "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + - "licy\022\".google.iam.v1.GetIamPolicyRequest" + - "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + - "2/{resource=projects/*/locations/*/queue" + - "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + - "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + - "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + - "beta2/{resource=projects/*/locations/*/q" + - "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + - "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + - "1.TestIamPermissionsRequest\032).google.iam" + - ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + - "/v2beta2/{resource=projects/*/locations/" + - "*/queues/*}:testIamPermissions:\001*\332A\024reso" + - "urce,permissions\022\262\001\n\tListTasks\022,.google." + - "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + - "oogle.cloud.tasks.v2beta2.ListTasksRespo" + - "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + - "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + - "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + - "etTaskRequest\032 .google.cloud.tasks.v2bet" + - "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + - "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + - "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + - "ta2.CreateTaskRequest\032 .google.cloud.tas" + - "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + - "t=projects/*/locations/*/queues/*}/tasks" + - ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + - "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + - "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + - "2/{name=projects/*/locations/*/queues/*/" + - "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + - "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + - "google.cloud.tasks.v2beta2.LeaseTasksRes" + - "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + - "/*/locations/*/queues/*}/tasks:lease:\001*\332" + - "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + - "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + - "edgeTaskRequest\032\026.google.protobuf.Empty\"" + - "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + - "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + - "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + - "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + - "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + - "\344\223\002G\"B/v2beta2/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + - "me,schedule_time,lease_duration\022\304\001\n\013Canc" + - "elLease\022..google.cloud.tasks.v2beta2.Can" + - "celLeaseRequest\032 .google.cloud.tasks.v2b" + - "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + - "ts/*/locations/*/queues/*/tasks/*}:cance" + - "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + - "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + - "equest\032 .google.cloud.tasks.v2beta2.Task" + - "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + - "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + - "M\312A\031cloudtasks.googleapis.com\322A.https://" + - "www.googleapis.com/auth/cloud-platformB|" + - "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + - "asksProtoP\001Z?google.golang.org/genproto/" + - "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + - "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, - new java.lang.String[] { "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", }); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, - new java.lang.String[] { "Tasks", }); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", }); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "LeaseDuration", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, - new java.lang.String[] { "Name", "ScheduleTime", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index 4551caab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index 2bc96dd8..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a1261f9a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java deleted file mode 100644 index 27ec888a..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PullTargetOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index cef23931..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java deleted file mode 100644 index 26d91fab..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ /dev/null @@ -1,140 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/queue.proto - -package com.google.cloud.tasks.v2beta2; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta2_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + - "\022\032google.cloud.tasks.v2beta2\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + - "2/.google.cloud.tasks.v2beta2.AppEngineH" + - "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + - "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + - "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + - "google.cloud.tasks.v2beta2.RetryConfig\0226" + - "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + - "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + - "2\031.google.protobuf.Duration\0220\n\rtombstone" + - "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + - "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + - "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + - "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + - "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + - "/Queue\0226projects/{project}/locations/{lo" + - "cation}/queues/{queue}B\r\n\013target_type\"k\n" + - "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + - "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + - "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + - "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + - "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + - " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + - "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + - ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + - "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + - "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + - "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + - "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + - "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + - "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + - "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + - "ueProtoP\001Z?google.golang.org/genproto/go" + - "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpTarget", "PullTarget", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "Stats", "TargetType", }); - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, - new java.lang.String[] { "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", }); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "UnlimitedAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", "NumAttempts", }); - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index a5db637f..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/cloudtasks.proto - -package com.google.cloud.tasks.v2beta2; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java deleted file mode 100644 index 02a91a15..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ /dev/null @@ -1,125 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/target.proto - -package com.google.cloud.tasks.v2beta2; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + - "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + - "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + - "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + - "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + - "ing_override\030\001 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + - "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + - "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + - "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + - "v2beta2.AppEngineRouting\022\024\n\014relative_url" + - "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + - "asks.v2beta2.AppEngineHttpRequest.Header" + - "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + - "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + - "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + - "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + - "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + - "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + - "eta2B\013TargetProtoP\001Z?google.golang.org/g" + - "enproto/googleapis/cloud/tasks/v2beta2;t" + - "asksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java deleted file mode 100644 index 8b3416a2..00000000 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta2/task.proto - -package com.google.cloud.tasks.v2beta2; - -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_tasks_v2beta2_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + - "\032google.cloud.tasks.v2beta2\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a2/target.proto\032\037google/protobuf/timesta" + - "mp.proto\032\027google/rpc/status.proto\032\034googl" + - "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + - "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + - "0.google.cloud.tasks.v2beta2.AppEngineHt" + - "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + - "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + - "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + - "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + - "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + - "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + - ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + - "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + - "apis.com/Task\022Cprojects/{project}/locati" + - "ons/{location}/queues/{queue}/tasks/{tas" + - "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + - "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + - "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + - "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + - "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + - ").google.cloud.tasks.v2beta2.AttemptStat" + - "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + - "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + - "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + - ".google.rpc.StatusBn\n\036com.google.cloud.t" + - "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta2;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta2_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "Status", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, - new java.lang.String[] { "AttemptDispatchCount", "AttemptResponseCount", "FirstAttemptStatus", "LastAttemptStatus", }); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java deleted file mode 100644 index 13ed882f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ /dev/null @@ -1,359 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public final class CloudTasksProto { - private CloudTasksProto() {} - 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_tasks_v2beta3_ListQueuesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks." + - "proto\022\032google.cloud.tasks.v2beta3\032\034googl" + - "e/api/annotations.proto\032\027google/api/clie" + - "nt.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032&google/clo" + - "ud/tasks/v2beta3/queue.proto\032%google/clo" + - "ud/tasks/v2beta3/task.proto\032\036google/iam/" + - "v1/iam_policy.proto\032\032google/iam/v1/polic" + - "y.proto\032\033google/protobuf/empty.proto\032 go" + - "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ" + - "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl" + - "oudtasks.googleapis.com/Queue\022\016\n\006filter\030" + - "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" + - " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu" + - "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221" + - "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be" + - "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge" + - "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo" + - "udtasks.googleapis.com/Queue\0222\n\tread_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" + - "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB" + - "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue" + - "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b" + - "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n" + - "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta" + - "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ" + - "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go" + - "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022" + - "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google" + - "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n" + - "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis" + - ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name" + - "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co" + - "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001" + - " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/" + - "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" + - "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030" + - "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe" + - "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas" + - "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A" + - " \n\036cloudtasks.googleapis.com/Task\022<\n\rres" + - "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2" + - "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n" + - "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google" + - "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo" + - "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v" + - "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T" + - "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 " + - "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T" + - "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A" + - "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r" + - "response_view\030\002 \001(\0162%.google.cloud.tasks" + - ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi" + - "stQueues\022-.google.cloud.tasks.v2beta3.Li" + - "stQueuesRequest\032..google.cloud.tasks.v2b" + - "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta" + - "3/{parent=projects/*/locations/*}/queues" + - "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta" + - "sks.v2beta3.GetQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3" + - "/{name=projects/*/locations/*/queues/*}\332" + - "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta" + - "sks.v2beta3.CreateQueueRequest\032!.google." + - "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be" + - "ta3/{parent=projects/*/locations/*}/queu" + - "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue" + - "\022..google.cloud.tasks.v2beta3.UpdateQueu" + - "eRequest\032!.google.cloud.tasks.v2beta3.Qu" + - "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec" + - "ts/*/locations/*/queues/*}:\005queue\332A\021queu" + - "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c" + - "loud.tasks.v2beta3.DeleteQueueRequest\032\026." + - "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/" + - "{name=projects/*/locations/*/queues/*}\332A" + - "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task" + - "s.v2beta3.PurgeQueueRequest\032!.google.clo" + - "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3" + - "/{name=projects/*/locations/*/queues/*}:" + - "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google." + - "cloud.tasks.v2beta3.PauseQueueRequest\032!." + - "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:" + - "\"5/v2beta3/{name=projects/*/locations/*/" + - "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu" + - "e\022..google.cloud.tasks.v2beta3.ResumeQue" + - "ueRequest\032!.google.cloud.tasks.v2beta3.Q" + - "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/" + - "locations/*/queues/*}:resume:\001*\332A\004name\022\241" + - "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" + - "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223" + - "\002E\"@/v2beta3/{resource=projects/*/locati" + - "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour" + - "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI" + - "amPolicyRequest\032\025.google.iam.v1.Policy\"]" + - "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo" + - "cations/*/queues/*}:setIamPolicy:\001*\332A\017re" + - "source,policy\022\323\001\n\022TestIamPermissions\022(.g" + - "oogle.iam.v1.TestIamPermissionsRequest\032)" + - ".google.iam.v1.TestIamPermissionsRespons" + - "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*" + - "/locations/*/queues/*}:testIamPermission" + - "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask" + - "s\022,.google.cloud.tasks.v2beta3.ListTasks" + - "Request\032-.google.cloud.tasks.v2beta3.Lis" + - "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent" + - "=projects/*/locations/*/queues/*}/tasks\332" + - "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task" + - "s.v2beta3.GetTaskRequest\032 .google.cloud." + - "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na" + - "me=projects/*/locations/*/queues/*/tasks" + - "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud" + - ".tasks.v2beta3.CreateTaskRequest\032 .googl" + - "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b" + - "eta3/{parent=projects/*/locations/*/queu" + - "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT" + - "ask\022-.google.cloud.tasks.v2beta3.DeleteT" + - "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223" + - "\0029*7/v2beta3/{name=projects/*/locations/" + - "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*" + - ".google.cloud.tasks.v2beta3.RunTaskReque" + - "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323" + - "\344\223\002@\";/v2beta3/{name=projects/*/location" + - "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" + - "cloudtasks.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB|\n\036co" + - "m.google.cloud.tasks.v2beta3B\017CloudTasks" + - "ProtoP\001Z?google.golang.org/genproto/goog" + - "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" + - "b\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.tasks.v2beta3.QueueProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor, - new java.lang.String[] { "Queues", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor, - new java.lang.String[] { "Name", "ReadMask", }); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor, - new java.lang.String[] { "Parent", "Queue", }); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor, - new java.lang.String[] { "Queue", "UpdateMask", }); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor, - new java.lang.String[] { "Parent", "ResponseView", "PageSize", "PageToken", }); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor, - new java.lang.String[] { "Tasks", "NextPageToken", }); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor, - new java.lang.String[] { "Parent", "Task", "ResponseView", }); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor, - new java.lang.String[] { "Name", "ResponseView", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java deleted file mode 100644 index bf2e07c9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java deleted file mode 100644 index ba3331fa..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface DeleteTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The task name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java deleted file mode 100644 index a8a5bac9..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PauseQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java deleted file mode 100644 index e41738e8..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface PurgeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java deleted file mode 100644 index f0dac04f..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ /dev/null @@ -1,154 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/queue.proto - -package com.google.cloud.tasks.v2beta3; - -public final class QueueProto { - private QueueProto() {} - 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_tasks_v2beta3_Queue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + - "\022\032google.cloud.tasks.v2beta3\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + - "get.proto\032\036google/protobuf/duration.prot" + - "o\032\037google/protobuf/timestamp.proto\032\034goog" + - "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + - "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + - "..google.cloud.tasks.v2beta3.AppEngineHt" + - "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + - "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + - "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + - "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + - "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + - "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + - "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + - "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + - "buf.Duration\022X\n\032stackdriver_logging_conf" + - "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + - "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + - "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + - "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + - "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + - "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + - "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + - "googleapis.com/Queue\0226projects/{project}" + - "/locations/{location}/queues/{queue}B\014\n\n" + - "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + - "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + - "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + - "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + - "max_retry_duration\030\002 \001(\0132\031.google.protob" + - "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + - "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + - "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + - "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + - "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + - "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + - "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + - "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + - "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + - "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + - "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + - ".org/genproto/googleapis/cloud/tasks/v2b" + - "eta3;tasksb\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(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpQueue", "RateLimits", "RetryConfig", "State", "PurgeTime", "TaskTtl", "TombstoneTtl", "StackdriverLoggingConfig", "Type", "Stats", "QueueType", }); - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, - new java.lang.String[] { "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", }); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, - new java.lang.String[] { "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, - new java.lang.String[] { "SamplingRatio", }); - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, - new java.lang.String[] { "TasksCount", "OldestEstimatedArrivalTime", "ExecutedLastMinuteCount", "ConcurrentDispatchesCount", "EffectiveExecutionRate", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java deleted file mode 100644 index b0f21f71..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/cloudtasks.proto - -package com.google.cloud.tasks.v2beta3; - -public interface ResumeQueueRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The queue name. For example:
-   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java deleted file mode 100644 index a196a359..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ /dev/null @@ -1,170 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/target.proto - -package com.google.cloud.tasks.v2beta3; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/tasks/v2beta3/target.prot" + - "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + - "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + - "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + - "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + - "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + - "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + - ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + - "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + - "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + - "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + - "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + - "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + - "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + - "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + - "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + - "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + - "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + - "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + - ".v2beta3.AppEngineHttpRequest.HeadersEnt" + - "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + - "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + - "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + - "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + - "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + - "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + - "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + - "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + - "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + - "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + - "google.golang.org/genproto/googleapis/cl" + - "oud/tasks/v2beta3;tasksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, - new java.lang.String[] { "Payload", "Tag", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, - new java.lang.String[] { "Url", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, - new java.lang.String[] { "AppEngineRoutingOverride", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java deleted file mode 100644 index cb10c09a..00000000 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/tasks/v2beta3/task.proto - -package com.google.cloud.tasks.v2beta3; - -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_tasks_v2beta3_Task_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + - "\032google.cloud.tasks.v2beta3\032\031google/api/" + - "resource.proto\032\'google/cloud/tasks/v2bet" + - "a3/target.proto\032\036google/protobuf/duratio" + - "n.proto\032\037google/protobuf/timestamp.proto" + - "\032\027google/rpc/status.proto\032\034google/api/an" + - "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + - "\n\027app_engine_http_request\030\003 \001(\01320.google" + - ".cloud.tasks.v2beta3.AppEngineHttpReques" + - "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + - ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + - "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + - "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013create_time\030" + - "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + - "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + - "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + - "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + - ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + - "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + - "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + - "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + - "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + - "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + - "jects/{project}/locations/{location}/que" + - "ues/{queue}/tasks/{task}B\016\n\014payload_type" + - "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + - "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + - "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + - "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + - "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + - "proto/googleapis/cloud/tasks/v2beta3;tas" + - "ksb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_tasks_v2beta3_Task_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Task_descriptor, - new java.lang.String[] { "Name", "AppEngineHttpRequest", "HttpRequest", "PullMessage", "ScheduleTime", "CreateTime", "DispatchDeadline", "DispatchCount", "ResponseCount", "FirstAttempt", "LastAttempt", "View", "PayloadType", }); - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, - new java.lang.String[] { "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java index 6f52ba89..bb0cf20e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -58,15 +75,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -75,16 +93,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -104,56 +121,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,41 +184,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -230,17 +260,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -250,6 +285,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -257,6 +293,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -266,13 +304,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -291,6 +334,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -300,6 +345,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -308,14 +354,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -325,16 +372,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -343,24 +389,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -369,6 +414,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -407,22 +454,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -462,11 +509,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -506,16 +554,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -555,12 +603,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -570,6 +617,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -577,6 +626,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -585,6 +635,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -596,8 +647,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } @@ -607,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -626,29 +672,26 @@ public int getSerializedSize() { size = 0; if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -658,25 +701,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.tasks.v2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,97 +747,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -852,43 +899,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineHttpRequest}
    */
-  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.tasks.v2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder()
@@ -896,16 +943,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,9 +972,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -947,7 +993,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -967,38 +1014,39 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest 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.tasks.v2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1017,8 +1065,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.AppEngineHttpRequest other) {
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1050,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1068,12 +1118,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1088,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1112,15 +1169,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1135,6 +1196,7 @@ public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1142,12 +1204,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1162,10 +1226,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1173,8 +1238,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1184,12 +1254,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1199,16 +1272,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1233,6 +1311,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting va
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1255,6 +1335,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1269,7 +1351,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1281,6 +1365,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2.AppEngineRouting
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1303,6 +1389,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1314,11 +1402,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1333,11 +1423,14 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * * If [app_engine_routing_override is set on the
@@ -1349,14 +1442,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1364,6 +1460,8 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1373,13 +1471,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOr
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1388,6 +1486,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1397,15 +1497,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1413,6 +1512,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1422,20 +1523,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1445,15 +1548,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1463,37 +1569,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1505,6 +1610,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1543,22 +1650,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1598,11 +1705,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1642,16 +1750,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1691,12 +1800,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1704,11 +1812,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1747,23 +1856,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1802,19 +1909,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1853,16 +1961,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1870,6 +1977,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1877,6 +1985,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1884,19 +1994,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1904,17 +2017,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1924,12 +2038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineHttpRequest(); } @@ -1938,16 +2052,16 @@ public static com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1962,6 +2076,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java index f388450e..e2387d20 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -22,10 +40,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -40,11 +61,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -54,10 +78,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -67,10 +94,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * * If [app_engine_routing_override is set on the
@@ -84,6 +114,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -93,10 +125,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -106,12 +141,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -152,6 +189,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -190,15 +229,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -237,9 +274,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -280,11 +318,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -323,11 +363,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -335,6 +375,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java index 8600381d..2a3556d6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -26,15 +43,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -44,16 +62,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +89,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,29 +131,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -151,6 +176,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -159,14 +185,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -185,16 +212,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -205,6 +231,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -223,6 +251,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -231,14 +260,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -257,16 +287,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -277,6 +306,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -292,6 +323,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -300,14 +332,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -323,16 +356,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -343,6 +375,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -356,6 +390,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -364,14 +399,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -385,16 +421,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -403,6 +438,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +450,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -457,21 +492,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2.AppEngineRouting other = (com.google.cloud.tasks.v2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2.AppEngineRouting other = + (com.google.cloud.tasks.v2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -496,97 +528,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -609,21 +648,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.AppEngineRouting)
       com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.AppEngineRouting.class, com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.AppEngineRouting.newBuilder()
@@ -631,16 +672,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,9 +696,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -677,7 +717,8 @@ public com.google.cloud.tasks.v2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2.AppEngineRouting result = new com.google.cloud.tasks.v2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -690,38 +731,39 @@ public com.google.cloud.tasks.v2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -777,6 +819,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -795,13 +839,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -810,6 +854,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -828,15 +874,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -844,6 +889,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -862,20 +909,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -894,15 +943,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -921,16 +973,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -938,6 +990,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -956,13 +1010,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -971,6 +1025,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -989,15 +1045,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1005,6 +1060,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1023,20 +1080,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1055,15 +1114,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1082,16 +1144,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1099,6 +1161,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1114,13 +1178,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1129,6 +1193,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1144,15 +1210,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1160,6 +1225,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1175,20 +1242,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1204,15 +1273,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1228,16 +1300,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1245,6 +1317,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1258,13 +1332,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1273,6 +1347,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1286,15 +1362,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1302,6 +1377,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1315,20 +1392,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1342,15 +1421,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1364,23 +1446,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1390,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.AppEngineRouting) private static final com.google.cloud.tasks.v2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.AppEngineRouting(); } @@ -1404,16 +1486,16 @@ public static com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,6 +1510,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java index 2ff33a52..9399556f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java index 17ae3099..95c7a78e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Attempt parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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.tasks.v2.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2.Attempt} */ - 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.tasks.v2.Attempt) com.google.cloud.tasks.v2.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.Attempt.class, com.google.cloud.tasks.v2.Attempt.Builder.class); + com.google.cloud.tasks.v2.Attempt.class, + com.google.cloud.tasks.v2.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2.Attempt.newBuilder() @@ -542,16 +606,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Attempt_descriptor; } @java.lang.Override @@ -633,38 +696,39 @@ public com.google.cloud.tasks.v2.Attempt 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.tasks.v2.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +780,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +844,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +853,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +864,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +877,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +891,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +912,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +922,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +940,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +956,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +974,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1038,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1047,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1058,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1071,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1085,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1106,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1116,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1134,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1150,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1168,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1232,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1241,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1252,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1265,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1279,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1300,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1310,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1328,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1344,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1362,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1374,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1390,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1427,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1437,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1448,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1462,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1474,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1496,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1507,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1526,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1543,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1568,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Attempt)
   private static final com.google.cloud.tasks.v2.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Attempt();
   }
@@ -1404,16 +1582,16 @@ public static com.google.cloud.tasks.v2.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
index 9dab7f1d..3b1276d7 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2/task.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
new file mode 100644
index 00000000..afa82be4
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java
@@ -0,0 +1,378 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/cloudtasks.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RunTaskRequest_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/tasks/v2/cloudtasks.proto"
+          + "\022\025google.cloud.tasks.v2\032\034google/api/anno"
+          + "tations.proto\032\027google/api/client.proto\032\037"
+          + "google/api/field_behavior.proto\032\031google/"
+          + "api/resource.proto\032!google/cloud/tasks/v"
+          + "2/queue.proto\032 google/cloud/tasks/v2/tas"
+          + "k.proto\032\036google/iam/v1/iam_policy.proto\032"
+          + "\032google/iam/v1/policy.proto\032\033google/prot"
+          + "obuf/empty.proto\032 google/protobuf/field_"
+          + "mask.proto\"\203\001\n\021ListQueuesRequest\0227\n\006pare"
+          + "nt\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.googleapis."
+          + "com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
+          + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"[\n\022ListQueuesRe"
+          + "sponse\022,\n\006queues\030\001 \003(\0132\034.google.cloud.ta"
+          + "sks.v2.Queue\022\027\n\017next_page_token\030\002 \001(\t\"H\n"
+          + "\017GetQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037"
+          + "cloudtasks.googleapis.com/Queue\"\177\n\022Creat"
+          + "eQueueRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037c"
+          + "loudtasks.googleapis.com/Queue\0220\n\005queue\030"
+          + "\002 \001(\0132\034.google.cloud.tasks.v2.QueueB\003\340A\002"
+          + "\"w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132\034."
+          + "google.cloud.tasks.v2.QueueB\003\340A\002\022/\n\013upda"
+          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001(\tB\'\340"
+          + "A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"J"
+          + "\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A"
+          + "!\n\037cloudtasks.googleapis.com/Queue\"J\n\021Pa"
+          + "useQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037c"
+          + "loudtasks.googleapis.com/Queue\"K\n\022Resume"
+          + "QueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clou"
+          + "dtasks.googleapis.com/Queue\"\252\001\n\020ListTask"
+          + "sRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudt"
+          + "asks.googleapis.com/Task\0227\n\rresponse_vie"
+          + "w\030\002 \001(\0162 .google.cloud.tasks.v2.Task.Vie"
+          + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t"
+          + "\"X\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132\033.g"
+          + "oogle.cloud.tasks.v2.Task\022\027\n\017next_page_t"
+          + "oken\030\002 \001(\t\"\177\n\016GetTaskRequest\0224\n\004name\030\001 \001"
+          + "(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/Ta"
+          + "sk\0227\n\rresponse_view\030\002 \001(\0162 .google.cloud"
+          + ".tasks.v2.Task.View\"\264\001\n\021CreateTaskReques"
+          + "t\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.go"
+          + "ogleapis.com/Task\022.\n\004task\030\002 \001(\0132\033.google"
+          + ".cloud.tasks.v2.TaskB\003\340A\002\0227\n\rresponse_vi"
+          + "ew\030\003 \001(\0162 .google.cloud.tasks.v2.Task.Vi"
+          + "ew\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 \001(\tB&\340"
+          + "A\002\372A \n\036cloudtasks.googleapis.com/Task\"\177\n"
+          + "\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036c"
+          + "loudtasks.googleapis.com/Task\0227\n\rrespons"
+          + "e_view\030\002 \001(\0162 .google.cloud.tasks.v2.Tas"
+          + "k.View2\335\024\n\nCloudTasks\022\236\001\n\nListQueues\022(.g"
+          + "oogle.cloud.tasks.v2.ListQueuesRequest\032)"
+          + ".google.cloud.tasks.v2.ListQueuesRespons"
+          + "e\";\202\323\344\223\002,\022*/v2/{parent=projects/*/locati"
+          + "ons/*}/queues\332A\006parent\022\213\001\n\010GetQueue\022&.go"
+          + "ogle.cloud.tasks.v2.GetQueueRequest\032\034.go"
+          + "ogle.cloud.tasks.v2.Queue\"9\202\323\344\223\002,\022*/v2/{"
+          + "name=projects/*/locations/*/queues/*}\332A\004"
+          + "name\022\240\001\n\013CreateQueue\022).google.cloud.task"
+          + "s.v2.CreateQueueRequest\032\034.google.cloud.t"
+          + "asks.v2.Queue\"H\202\323\344\223\0023\"*/v2/{parent=proje"
+          + "cts/*/locations/*}/queues:\005queue\332A\014paren"
+          + "t,queue\022\253\001\n\013UpdateQueue\022).google.cloud.t"
+          + "asks.v2.UpdateQueueRequest\032\034.google.clou"
+          + "d.tasks.v2.Queue\"S\202\323\344\223\002920/v2/{queue.nam"
+          + "e=projects/*/locations/*/queues/*}:\005queu"
+          + "e\332A\021queue,update_mask\022\213\001\n\013DeleteQueue\022)."
+          + "google.cloud.tasks.v2.DeleteQueueRequest"
+          + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/{n"
+          + "ame=projects/*/locations/*/queues/*}\332A\004n"
+          + "ame\022\230\001\n\nPurgeQueue\022(.google.cloud.tasks."
+          + "v2.PurgeQueueRequest\032\034.google.cloud.task"
+          + "s.v2.Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*"
+          + "/locations/*/queues/*}:purge:\001*\332A\004name\022\230"
+          + "\001\n\nPauseQueue\022(.google.cloud.tasks.v2.Pa"
+          + "useQueueRequest\032\034.google.cloud.tasks.v2."
+          + "Queue\"B\202\323\344\223\0025\"0/v2/{name=projects/*/loca"
+          + "tions/*/queues/*}:pause:\001*\332A\004name\022\233\001\n\013Re"
+          + "sumeQueue\022).google.cloud.tasks.v2.Resume"
+          + "QueueRequest\032\034.google.cloud.tasks.v2.Que"
+          + "ue\"C\202\323\344\223\0026\"1/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*}:resume:\001*\332A\004name\022\234\001\n\014GetI"
+          + "amPolicy\022\".google.iam.v1.GetIamPolicyReq"
+          + "uest\032\025.google.iam.v1.Policy\"Q\202\323\344\223\002@\";/v2"
+          + "/{resource=projects/*/locations/*/queues"
+          + "/*}:getIamPolicy:\001*\332A\010resource\022\243\001\n\014SetIa"
+          + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ"
+          + "est\032\025.google.iam.v1.Policy\"X\202\323\344\223\002@\";/v2/"
+          + "{resource=projects/*/locations/*/queues/"
+          + "*}:setIamPolicy:\001*\332A\017resource,policy\022\316\001\n"
+          + "\022TestIamPermissions\022(.google.iam.v1.Test"
+          + "IamPermissionsRequest\032).google.iam.v1.Te"
+          + "stIamPermissionsResponse\"c\202\323\344\223\002F\"A/v2/{r"
+          + "esource=projects/*/locations/*/queues/*}"
+          + ":testIamPermissions:\001*\332A\024resource,permis"
+          + "sions\022\243\001\n\tListTasks\022\'.google.cloud.tasks"
+          + ".v2.ListTasksRequest\032(.google.cloud.task"
+          + "s.v2.ListTasksResponse\"C\202\323\344\223\0024\0222/v2/{par"
+          + "ent=projects/*/locations/*/queues/*}/tas"
+          + "ks\332A\006parent\022\220\001\n\007GetTask\022%.google.cloud.t"
+          + "asks.v2.GetTaskRequest\032\033.google.cloud.ta"
+          + "sks.v2.Task\"A\202\323\344\223\0024\0222/v2/{name=projects/"
+          + "*/locations/*/queues/*/tasks/*}\332A\004name\022\240"
+          + "\001\n\nCreateTask\022(.google.cloud.tasks.v2.Cr"
+          + "eateTaskRequest\032\033.google.cloud.tasks.v2."
+          + "Task\"K\202\323\344\223\0027\"2/v2/{parent=projects/*/loc"
+          + "ations/*/queues/*}/tasks:\001*\332A\013parent,tas"
+          + "k\022\221\001\n\nDeleteTask\022(.google.cloud.tasks.v2"
+          + ".DeleteTaskRequest\032\026.google.protobuf.Emp"
+          + "ty\"A\202\323\344\223\0024*2/v2/{name=projects/*/locatio"
+          + "ns/*/queues/*/tasks/*}\332A\004name\022\227\001\n\007RunTas"
+          + "k\022%.google.cloud.tasks.v2.RunTaskRequest"
+          + "\032\033.google.cloud.tasks.v2.Task\"H\202\323\344\223\002;\"6/"
+          + "v2/{name=projects/*/locations/*/queues/*"
+          + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g"
+          + "oogleapis.com\322A.https://www.googleapis.c"
+          + "om/auth/cloud-platformBr\n\031com.google.clo"
+          + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g"
+          + "olang.org/genproto/googleapis/cloud/task"
+          + "s/v2;tasks\242\002\005TASKSb\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.tasks.v2.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
index 34472349..3e89e7dc 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +106,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +141,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +153,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +170,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +192,15 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +208,15 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -189,6 +224,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
@@ -202,6 +239,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +251,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -234,8 +271,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -245,19 +281,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2.CreateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.CreateQueueRequest other = (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
+    com.google.cloud.tasks.v2.CreateQueueRequest other =
+        (com.google.cloud.tasks.v2.CreateQueueRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,118 +316,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.CreateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateQueueRequest} */ - 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.tasks.v2.CreateQueueRequest) com.google.cloud.tasks.v2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateQueueRequest.class, com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.CreateQueueRequest.class, + com.google.cloud.tasks.v2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateQueueRequest.newBuilder() @@ -400,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +489,8 @@ public com.google.cloud.tasks.v2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.CreateQueueRequest result = new com.google.cloud.tasks.v2.CreateQueueRequest(this); + com.google.cloud.tasks.v2.CreateQueueRequest result = + new com.google.cloud.tasks.v2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +505,39 @@ public com.google.cloud.tasks.v2.CreateQueueRequest 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.tasks.v2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,6 +584,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +594,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +612,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +622,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +640,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +650,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +677,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +700,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +720,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -685,12 +761,15 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +785,17 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +806,21 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -748,12 +832,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +854,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +926,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateQueueRequest) private static final com.google.cloud.tasks.v2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateQueueRequest(); } @@ -842,16 +940,16 @@ public static com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +964,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java index e3735d95..b858724d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,33 +52,43 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
similarity index 83%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
index 377596da..10c558c1 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,41 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +113,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +158,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +195,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -198,6 +229,7 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +237,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -237,6 +271,7 @@ public boolean hasTask() {
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ @java.lang.Override @@ -244,6 +279,8 @@ public com.google.cloud.tasks.v2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -285,6 +322,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
   public static final int RESPONSE_VIEW_FIELD_NUMBER = 3;
   private int responseView_;
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -299,12 +338,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -319,15 +362,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +409,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +422,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.CreateTaskRequest other = (com.google.cloud.tasks.v2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2.CreateTaskRequest other = + (com.google.cloud.tasks.v2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +460,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.CreateTaskRequest} */ - 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.tasks.v2.CreateTaskRequest) com.google.cloud.tasks.v2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.CreateTaskRequest.class, com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2.CreateTaskRequest.class, + com.google.cloud.tasks.v2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.CreateTaskRequest.newBuilder() @@ -536,16 +588,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +635,8 @@ public com.google.cloud.tasks.v2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2.CreateTaskRequest result = new com.google.cloud.tasks.v2.CreateTaskRequest(this); + com.google.cloud.tasks.v2.CreateTaskRequest result = + new com.google.cloud.tasks.v2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +652,39 @@ public com.google.cloud.tasks.v2.CreateTaskRequest 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.tasks.v2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -681,20 +734,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +760,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +786,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +860,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -821,12 +899,15 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -859,6 +940,7 @@ public boolean hasTask() {
      * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ public com.google.cloud.tasks.v2.Task getTask() { @@ -869,6 +951,8 @@ public com.google.cloud.tasks.v2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -916,6 +1000,8 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -949,8 +1035,7 @@ public Builder setTask(com.google.cloud.tasks.v2.Task value) {
      *
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setTask(
-        com.google.cloud.tasks.v2.Task.Builder builderForValue) {
+    public Builder setTask(com.google.cloud.tasks.v2.Task.Builder builderForValue) {
       if (taskBuilder_ == null) {
         task_ = builderForValue.build();
         onChanged();
@@ -961,6 +1046,8 @@ public Builder setTask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -997,8 +1084,7 @@ public Builder setTask(
     public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       if (taskBuilder_ == null) {
         if (task_ != null) {
-          task_ =
-            com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
+          task_ = com.google.cloud.tasks.v2.Task.newBuilder(task_).mergeFrom(value).buildPartial();
         } else {
           task_ = value;
         }
@@ -1010,6 +1096,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2.Task value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1055,6 +1143,8 @@ public Builder clearTask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1089,11 +1179,13 @@ public Builder clearTask() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.tasks.v2.Task.Builder getTaskBuilder() {
-      
+
       onChanged();
       return getTaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1131,11 +1223,12 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
       if (taskBuilder_ != null) {
         return taskBuilder_.getMessageOrBuilder();
       } else {
-        return task_ == null ?
-            com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
+        return task_ == null ? com.google.cloud.tasks.v2.Task.getDefaultInstance() : task_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The task to add.
      * Task names have the following format:
@@ -1170,14 +1263,17 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> 
+            com.google.cloud.tasks.v2.Task,
+            com.google.cloud.tasks.v2.Task.Builder,
+            com.google.cloud.tasks.v2.TaskOrBuilder>
         getTaskFieldBuilder() {
       if (taskBuilder_ == null) {
-        taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>(
-                getTask(),
-                getParentForChildren(),
-                isClean());
+        taskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Task,
+                com.google.cloud.tasks.v2.Task.Builder,
+                com.google.cloud.tasks.v2.TaskOrBuilder>(
+                getTask(), getParentForChildren(), isClean());
         task_ = null;
       }
       return taskBuilder_;
@@ -1185,6 +1281,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
 
     private int responseView_ = 0;
     /**
+     *
+     *
      * 
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1199,12 +1297,16 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1219,16 +1321,19 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1243,15 +1348,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1266,6 +1375,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1383,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -1293,17 +1405,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1426,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.CreateTaskRequest) private static final com.google.cloud.tasks.v2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.CreateTaskRequest(); } @@ -1327,16 +1440,16 @@ public static com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1464,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java index 56bc4ce8..6ec3193b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -64,10 +91,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -100,10 +130,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The task. */ com.google.cloud.tasks.v2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -140,6 +173,8 @@ public interface CreateTaskRequestOrBuilder extends
   com.google.cloud.tasks.v2.TaskOrBuilder getTaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -154,10 +189,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -172,6 +210,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java index 2ffa4e95..40511a70 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteQueueRequest other = (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.DeleteQueueRequest} */ - 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.tasks.v2.DeleteQueueRequest) com.google.cloud.tasks.v2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.DeleteQueueRequest.class, com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2.DeleteQueueRequest result = new com.google.cloud.tasks.v2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.DeleteQueueRequest 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.tasks.v2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..c38f781e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java index 5dad49b9..a62eb1e2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.DeleteTaskRequest other = (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.DeleteTaskRequest}
    */
-  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.tasks.v2.DeleteTaskRequest)
       com.google.cloud.tasks.v2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.DeleteTaskRequest.class, com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.DeleteTaskRequest result = new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2.DeleteTaskRequest 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.tasks.v2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,19 +488,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.DeleteTaskRequest(); } @@ -575,16 +632,16 @@ public static com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..0e7ab341 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java index d0e5bb3b..2e4dccd2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.GetQueueRequest other = (com.google.cloud.tasks.v2.GetQueueRequest) obj; + com.google.cloud.tasks.v2.GetQueueRequest other = + (com.google.cloud.tasks.v2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.GetQueueRequest} */ - 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.tasks.v2.GetQueueRequest) com.google.cloud.tasks.v2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetQueueRequest.class, com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2.GetQueueRequest.class, + com.google.cloud.tasks.v2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2.GetQueueRequest result = new com.google.cloud.tasks.v2.GetQueueRequest(this); + com.google.cloud.tasks.v2.GetQueueRequest result = + new com.google.cloud.tasks.v2.GetQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.GetQueueRequest 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.tasks.v2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetQueueRequest) private static final com.google.cloud.tasks.v2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java new file mode 100644 index 00000000..4c78cd4a --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface GetQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the queue. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java index 765d0a75..7e12b47b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,14 @@ 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.tasks.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.GetTaskRequest other = (com.google.cloud.tasks.v2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +302,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.GetTaskRequest) com.google.cloud.tasks.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.GetTaskRequest.class, com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2.GetTaskRequest.class, + com.google.cloud.tasks.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.GetTaskRequest.newBuilder() @@ -386,16 +430,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +471,8 @@ public com.google.cloud.tasks.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2.GetTaskRequest result = new com.google.cloud.tasks.v2.GetTaskRequest(this); + com.google.cloud.tasks.v2.GetTaskRequest result = + new com.google.cloud.tasks.v2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +483,39 @@ public com.google.cloud.tasks.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.tasks.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +562,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +587,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +612,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +683,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -632,12 +699,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -652,16 +723,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -676,15 +750,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -699,6 +777,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +785,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -726,17 +807,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.GetTaskRequest) private static final com.google.cloud.tasks.v2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.GetTaskRequest(); } @@ -760,16 +842,16 @@ public static com.google.cloud.tasks.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +866,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java index abab1ec9..2be6f178 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java index a993ae79..951743a2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * The HTTP method used to deliver the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2.HttpMethod) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java index 9bda9f38..84b5b41e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,80 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +175,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2.HttpRequest.class,
+            com.google.cloud.tasks.v2.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +235,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +271,7 @@ public int getNumber() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -244,14 +280,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +300,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +319,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2.TargetProto + .internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +378,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +406,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +449,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +482,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +519,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +533,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +543,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +553,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +565,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +573,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +585,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +612,15 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +632,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +640,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +653,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +681,13 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +699,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -669,30 +730,30 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
     if (httpMethod_ != com.google.cloud.tasks.v2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +763,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.tasks.v2.HttpRequest)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.HttpRequest other = (com.google.cloud.tasks.v2.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +823,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.HttpRequest parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +947,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.HttpRequest}
    */
-  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.tasks.v2.HttpRequest)
       com.google.cloud.tasks.v2.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.HttpRequest.class, com.google.cloud.tasks.v2.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2.HttpRequest.class,
+              com.google.cloud.tasks.v2.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.HttpRequest.newBuilder()
@@ -929,16 +991,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1016,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1037,8 @@ public com.google.cloud.tasks.v2.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2.HttpRequest result = new com.google.cloud.tasks.v2.HttpRequest(this);
+      com.google.cloud.tasks.v2.HttpRequest result =
+          new com.google.cloud.tasks.v2.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1068,39 @@ public com.google.cloud.tasks.v2.HttpRequest 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.tasks.v2.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1116,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1164,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1183,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1196,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1211,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1224,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1239,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1252,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1279,18 @@ public Builder setUrl(
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1302,16 @@ public Builder clearUrl() {
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1319,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.HttpMethod result = com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2.HttpMethod result = + com.google.cloud.tasks.v2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1385,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1434,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1462,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1505,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1538,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1576,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1588,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1620,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1661,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1701,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1718,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1726,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1736,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1760,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2.OAuthToken, + com.google.cloud.tasks.v2.OAuthToken.Builder, + com.google.cloud.tasks.v2.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1788,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1796,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1808,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1826,8 @@ public com.google.cloud.tasks.v2.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1853,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1753,8 +1866,7 @@ public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
      *
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(
-        com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(com.google.cloud.tasks.v2.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1765,6 +1877,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1892,13 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.newBuilder((com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1914,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1944,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1961,8 @@ public com.google.cloud.tasks.v2.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1986,8 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2000,38 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * .google.cloud.tasks.v2.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OAuthToken,
+            com.google.cloud.tasks.v2.OAuthToken.Builder,
+            com.google.cloud.tasks.v2.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OAuthToken, com.google.cloud.tasks.v2.OAuthToken.Builder, com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OAuthToken,
+                com.google.cloud.tasks.v2.OAuthToken.Builder,
+                com.google.cloud.tasks.v2.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2043,7 @@ public com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2051,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2064,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2082,8 @@ public com.google.cloud.tasks.v2.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2110,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2124,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
      *
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2135,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2151,13 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.newBuilder((com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_ != com.google.cloud.tasks.v2.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2173,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2204,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2222,8 @@ public com.google.cloud.tasks.v2.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2248,8 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2263,32 @@ public com.google.cloud.tasks.v2.OidcTokenOrBuilder getOidcTokenOrBuilder() {
      * .google.cloud.tasks.v2.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2.OidcToken,
+            com.google.cloud.tasks.v2.OidcToken.Builder,
+            com.google.cloud.tasks.v2.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.OidcToken, com.google.cloud.tasks.v2.OidcToken.Builder, com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.OidcToken,
+                com.google.cloud.tasks.v2.OidcToken.Builder,
+                com.google.cloud.tasks.v2.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2298,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.HttpRequest)
   private static final com.google.cloud.tasks.v2.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.HttpRequest();
   }
@@ -2150,16 +2312,16 @@ public static com.google.cloud.tasks.v2.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2336,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
index 2c4c0073..08196f38 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/target.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
index 3c80d743..9855ecb3 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -176,6 +207,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -184,14 +216,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -205,16 +238,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -225,6 +257,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -235,6 +269,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -245,6 +280,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -256,6 +293,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -264,14 +302,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -283,16 +322,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -301,6 +339,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -342,8 +380,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -356,21 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesRequest other = (com.google.cloud.tasks.v2.ListQueuesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.tasks.v2.ListQueuesRequest other = + (com.google.cloud.tasks.v2.ListQueuesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -395,118 +429,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesRequest} */ - 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.tasks.v2.ListQueuesRequest) com.google.cloud.tasks.v2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesRequest.class, com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2.ListQueuesRequest.class, + com.google.cloud.tasks.v2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesRequest.newBuilder() @@ -514,16 +557,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -560,7 +602,8 @@ public com.google.cloud.tasks.v2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2.ListQueuesRequest result = new com.google.cloud.tasks.v2.ListQueuesRequest(this); + com.google.cloud.tasks.v2.ListQueuesRequest result = + new com.google.cloud.tasks.v2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -573,38 +616,39 @@ public com.google.cloud.tasks.v2.ListQueuesRequest 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.tasks.v2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -659,19 +703,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -680,21 +728,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -702,57 +753,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -760,6 +824,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -773,13 +839,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -788,6 +854,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -801,15 +869,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -817,6 +884,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -830,20 +899,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -857,15 +928,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -879,23 +953,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -906,6 +982,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -913,6 +990,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -923,16 +1002,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -943,10 +1025,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -954,6 +1037,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -965,13 +1050,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -980,6 +1065,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -991,15 +1078,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1007,6 +1093,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1018,20 +1106,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1043,15 +1133,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1063,23 +1156,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +1182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesRequest) private static final com.google.cloud.tasks.v2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesRequest(); } @@ -1103,16 +1196,16 @@ public static com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,6 +1220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java index f57a7c9d..e9d4dd0b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,8 +145,8 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java index 98bdc543..7adf33da 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +112,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +144,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +153,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +171,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +184,8 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +193,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +212,7 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +240,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListQueuesResponse other = (com.google.cloud.tasks.v2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2.ListQueuesResponse other = + (com.google.cloud.tasks.v2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,118 +331,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListQueuesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ListQueuesResponse} */ - 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.tasks.v2.ListQueuesResponse) com.google.cloud.tasks.v2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListQueuesResponse.class, com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2.ListQueuesResponse.class, + com.google.cloud.tasks.v2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListQueuesResponse.newBuilder() @@ -419,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +506,8 @@ public com.google.cloud.tasks.v2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2.ListQueuesResponse result = new com.google.cloud.tasks.v2.ListQueuesResponse(this); + com.google.cloud.tasks.v2.ListQueuesResponse result = + new com.google.cloud.tasks.v2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +527,39 @@ public com.google.cloud.tasks.v2.ListQueuesResponse 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.tasks.v2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -544,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.ListQueuesResponse other) { queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -584,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +663,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +679,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +695,15 @@ public com.google.cloud.tasks.v2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,14 +717,15 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.set(index, builderForValue.build()); @@ -680,6 +736,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +758,15 @@ public Builder addQueues(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +780,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,14 +799,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder addQueues(int index, com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(index, builderForValue.build()); @@ -757,6 +818,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +830,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +838,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +857,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +876,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +921,8 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +930,47 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2.Queue queues = 1; */ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +978,8 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +990,13 @@ public com.google.cloud.tasks.v2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1005,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1044,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1070,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1092,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListQueuesResponse) private static final com.google.cloud.tasks.v2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListQueuesResponse(); } @@ -1044,16 +1132,16 @@ public static com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java index a1063d15..c1eb25f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2.Queue queues = 1; */ - com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java index 83b5f61e..595074bb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksRequest other = (com.google.cloud.tasks.v2.ListTasksRequest) obj; + com.google.cloud.tasks.v2.ListTasksRequest other = + (com.google.cloud.tasks.v2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksRequest) com.google.cloud.tasks.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksRequest.class, com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2.ListTasksRequest.class, + com.google.cloud.tasks.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2.ListTasksRequest result = new com.google.cloud.tasks.v2.ListTasksRequest(this); + com.google.cloud.tasks.v2.ListTasksRequest result = + new com.google.cloud.tasks.v2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -641,19 +691,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +716,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +741,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +812,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -756,12 +828,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -776,16 +852,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -800,15 +879,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -823,6 +906,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +914,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -850,17 +936,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +960,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +968,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +980,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1003,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1015,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1028,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1043,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1056,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1071,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1084,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1111,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1134,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1160,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksRequest) private static final com.google.cloud.tasks.v2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksRequest(); } @@ -1068,16 +1174,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1198,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java index fc372464..16d5eabb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java index 6249890a..8bcc41f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +112,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +144,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +153,12 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List - getTasksOrBuilderList() { + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +170,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +183,8 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +192,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +210,7 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +219,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +283,7 @@ 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_); @@ -265,17 +296,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ListTasksResponse other = (com.google.cloud.tasks.v2.ListTasksResponse) obj; + com.google.cloud.tasks.v2.ListTasksResponse other = + (com.google.cloud.tasks.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +328,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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 for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.ListTasksResponse) com.google.cloud.tasks.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ListTasksResponse.class, com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2.ListTasksResponse.class, + com.google.cloud.tasks.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2.ListTasksResponse.newBuilder() @@ -417,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +503,8 @@ public com.google.cloud.tasks.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2.ListTasksResponse result = new com.google.cloud.tasks.v2.ListTasksResponse(this); + com.google.cloud.tasks.v2.ListTasksResponse result = + new com.google.cloud.tasks.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +524,39 @@ public com.google.cloud.tasks.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.tasks.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -542,9 +583,10 @@ public Builder mergeFrom(com.google.cloud.tasks.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_); } @@ -582,21 +624,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +660,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +676,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +692,15 @@ public com.google.cloud.tasks.v2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,14 +714,15 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder setTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -678,6 +733,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +755,15 @@ public Builder addTasks(com.google.cloud.tasks.v2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +777,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,14 +796,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { + public Builder addTasks(int index, com.google.cloud.tasks.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -755,6 +815,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +827,7 @@ 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); @@ -774,6 +835,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +854,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +873,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +918,8 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +927,46 @@ public com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2.Task tasks = 1; */ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder(com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.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.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder> + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2.Task, com.google.cloud.tasks.v2.Task.Builder, com.google.cloud.tasks.v2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2.Task, + com.google.cloud.tasks.v2.Task.Builder, + com.google.cloud.tasks.v2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +974,8 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +985,13 @@ public com.google.cloud.tasks.v2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1000,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1011,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1037,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1062,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1083,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ListTasksResponse) private static final com.google.cloud.tasks.v2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ListTasksResponse(); } @@ -1037,16 +1123,16 @@ public static com.google.cloud.tasks.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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java index 1a7b2758..f5568056 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2.Task tasks = 1; */ - com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java index a34434b6..1d13e2be 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2.OAuthToken.class,
+            com.google.cloud.tasks.v2.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OAuthToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OAuthToken other = (com.google.cloud.tasks.v2.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken 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.tasks.v2.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OAuthToken)
       com.google.cloud.tasks.v2.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OAuthToken.class, com.google.cloud.tasks.v2.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2.OAuthToken.class,
+              com.google.cloud.tasks.v2.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OAuthToken.newBuilder()
@@ -403,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -456,38 +488,39 @@ public com.google.cloud.tasks.v2.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +568,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +579,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +594,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +605,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +620,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +631,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +656,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +677,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +694,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +703,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +718,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +727,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +742,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +751,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +774,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +793,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OAuthToken) private static final com.google.cloud.tasks.v2.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OAuthToken(); } @@ -780,16 +833,16 @@ public static com.google.cloud.tasks.v2.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +857,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java index b5bbd9b4..045cc073 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java index 94722f69..982de06e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2.TargetProto
+        .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2.OidcToken.class,
+            com.google.cloud.tasks.v2.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2.OidcToken other = (com.google.cloud.tasks.v2.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.OidcToken parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken 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.tasks.v2.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.OidcToken)
       com.google.cloud.tasks.v2.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.OidcToken.class, com.google.cloud.tasks.v2.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2.OidcToken.class,
+              com.google.cloud.tasks.v2.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.OidcToken.newBuilder()
@@ -405,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.TargetProto.internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.TargetProto
+          .internal_static_google_cloud_tasks_v2_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -458,38 +490,39 @@ public com.google.cloud.tasks.v2.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +581,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +596,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +607,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +622,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +633,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +658,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +679,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +696,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +719,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +742,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.OidcToken) private static final com.google.cloud.tasks.v2.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.OidcToken(); } @@ -777,16 +830,16 @@ public static com.google.cloud.tasks.v2.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java index af8fcaf6..fb4dbd64 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/target.proto package com.google.cloud.tasks.v2; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java index 48f8d6af..756d588f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PauseQueueRequest other = (com.google.cloud.tasks.v2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2.PauseQueueRequest other = + (com.google.cloud.tasks.v2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PauseQueueRequest} */ - 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.tasks.v2.PauseQueueRequest) com.google.cloud.tasks.v2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PauseQueueRequest.class, com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PauseQueueRequest.class, + com.google.cloud.tasks.v2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PauseQueueRequest result = new com.google.cloud.tasks.v2.PauseQueueRequest(this); + com.google.cloud.tasks.v2.PauseQueueRequest result = + new com.google.cloud.tasks.v2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PauseQueueRequest 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.tasks.v2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PauseQueueRequest) private static final com.google.cloud.tasks.v2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PauseQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..bd81aed6 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java index b5af3f22..ec7b1df4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.PurgeQueueRequest other = (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.PurgeQueueRequest} */ - 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.tasks.v2.PurgeQueueRequest) com.google.cloud.tasks.v2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.PurgeQueueRequest.class, com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.PurgeQueueRequest result = new com.google.cloud.tasks.v2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.PurgeQueueRequest 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.tasks.v2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.PurgeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..c701bf8c --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java index 68767a57..7bbe29d9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,90 +73,107 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+              name_ = s;
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 26:
+            {
+              com.google.cloud.tasks.v2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 40:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
-            }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 74: {
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -147,36 +181,40 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -185,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -199,6 +239,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -209,6 +251,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -230,6 +274,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -238,6 +284,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -252,6 +300,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -262,6 +312,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -280,7 +332,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -305,50 +356,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2.Queue.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;
@@ -368,6 +420,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -388,6 +442,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -396,14 +451,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -424,16 +480,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -444,6 +499,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -457,6 +514,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -464,6 +522,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -477,13 +537,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -499,13 +564,16 @@ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride()
    * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   public static final int RATE_LIMITS_FIELD_NUMBER = 3;
   private com.google.cloud.tasks.v2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -530,6 +598,7 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -537,6 +606,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -561,13 +632,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -601,6 +677,8 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
   public static final int RETRY_CONFIG_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -614,6 +692,7 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -621,6 +700,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -634,13 +715,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -663,6 +749,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -673,12 +761,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -689,17 +781,22 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -712,6 +809,7 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -719,6 +817,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -731,6 +831,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ @java.lang.Override @@ -738,6 +839,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -759,6 +862,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -766,6 +871,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -773,6 +879,8 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -780,13 +888,18 @@ public boolean hasStackdriverLoggingConfig() {
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -796,11 +909,13 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+  public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder() {
     return getStackdriverLoggingConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -812,8 +927,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -848,28 +962,26 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, getAppEngineRoutingOverride());
     }
     if (rateLimits_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRateLimits());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimits());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetryConfig());
     }
     if (state_ != com.google.cloud.tasks.v2.Queue.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_);
     }
     if (purgeTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getPurgeTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPurgeTime());
     }
     if (stackdriverLoggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getStackdriverLoggingConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              9, getStackdriverLoggingConfig());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -879,40 +991,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.tasks.v2.Queue)) {
       return super.equals(obj);
     }
     com.google.cloud.tasks.v2.Queue other = (com.google.cloud.tasks.v2.Queue) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (hasRateLimits() != other.hasRateLimits()) return false;
     if (hasRateLimits()) {
-      if (!getRateLimits()
-          .equals(other.getRateLimits())) return false;
+      if (!getRateLimits().equals(other.getRateLimits())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig()
-          .equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasPurgeTime() != other.hasPurgeTime()) return false;
     if (hasPurgeTime()) {
-      if (!getPurgeTime()
-          .equals(other.getPurgeTime())) return false;
+      if (!getPurgeTime().equals(other.getPurgeTime())) return false;
     }
     if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false;
     if (hasStackdriverLoggingConfig()) {
-      if (!getStackdriverLoggingConfig()
-          .equals(other.getStackdriverLoggingConfig())) return false;
+      if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -954,97 +1060,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.Queue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.Queue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.tasks.v2.Queue parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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.tasks.v2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1053,19 +1165,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.Queue}
    */
-  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.tasks.v2.Queue)
       com.google.cloud.tasks.v2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.tasks.v2.Queue.class, com.google.cloud.tasks.v2.Queue.Builder.class);
     }
@@ -1075,16 +1188,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1126,9 +1238,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1183,38 +1295,39 @@ public com.google.cloud.tasks.v2.Queue 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.tasks.v2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1276,6 +1389,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1296,13 +1411,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; @@ -1311,6 +1426,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1331,15 +1448,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1347,6 +1463,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1367,20 +1485,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1401,15 +1521,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1430,16 +1553,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; @@ -1447,8 +1570,13 @@ public Builder setNameBytes( private com.google.cloud.tasks.v2.AppEngineRouting appEngineRoutingOverride_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_; + com.google.cloud.tasks.v2.AppEngineRouting, + com.google.cloud.tasks.v2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> + appEngineRoutingOverrideBuilder_; /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1462,12 +1590,15 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1481,16 +1612,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1519,6 +1655,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngineRo
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1545,6 +1683,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1563,7 +1703,9 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -1575,6 +1717,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1601,6 +1745,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1616,11 +1762,13 @@ public Builder clearAppEngineRoutingOverride() {
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1635,15 +1783,19 @@ public com.google.cloud.tasks.v2.AppEngineRouting.Builder getAppEngineRoutingOve
      *
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
-    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for
      * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -1659,14 +1811,17 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineRouting,
+            com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineRouting, com.google.cloud.tasks.v2.AppEngineRouting.Builder, com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineRouting,
+                com.google.cloud.tasks.v2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
@@ -1674,8 +1829,13 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
 
     private com.google.cloud.tasks.v2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1700,12 +1860,15 @@ public com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOv
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1730,16 +1893,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1779,6 +1947,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1804,8 +1974,7 @@ public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
      *
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
-    public Builder setRateLimits(
-        com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
+    public Builder setRateLimits(com.google.cloud.tasks.v2.RateLimits.Builder builderForValue) {
       if (rateLimitsBuilder_ == null) {
         rateLimits_ = builderForValue.build();
         onChanged();
@@ -1816,6 +1985,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1845,7 +2016,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -1857,6 +2030,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1894,6 +2069,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1920,11 +2097,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     public com.google.cloud.tasks.v2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1954,11 +2133,14 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -1985,14 +2167,17 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * .google.cloud.tasks.v2.RateLimits rate_limits = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2.RateLimits,
+            com.google.cloud.tasks.v2.RateLimits.Builder,
+            com.google.cloud.tasks.v2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RateLimits, com.google.cloud.tasks.v2.RateLimits.Builder, com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RateLimits,
+                com.google.cloud.tasks.v2.RateLimits.Builder,
+                com.google.cloud.tasks.v2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2000,8 +2185,13 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
 
     private com.google.cloud.tasks.v2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2015,12 +2205,15 @@ public com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2034,16 +2227,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2072,6 +2270,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2086,8 +2286,7 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
      *
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
-    public Builder setRetryConfig(
-        com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
+    public Builder setRetryConfig(com.google.cloud.tasks.v2.RetryConfig.Builder builderForValue) {
       if (retryConfigBuilder_ == null) {
         retryConfig_ = builderForValue.build();
         onChanged();
@@ -2098,6 +2297,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2116,7 +2317,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2128,6 +2331,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2.RetryConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2154,6 +2359,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2169,11 +2376,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     public com.google.cloud.tasks.v2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2192,11 +2401,14 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2212,14 +2424,17 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * .google.cloud.tasks.v2.RetryConfig retry_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2.RetryConfig,
+            com.google.cloud.tasks.v2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.RetryConfig, com.google.cloud.tasks.v2.RetryConfig.Builder, com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.RetryConfig,
+                com.google.cloud.tasks.v2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2227,6 +2442,8 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2237,12 +2454,16 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2253,16 +2474,19 @@ public com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder()
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2273,15 +2497,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Queue.State result = com.google.cloud.tasks.v2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2.Queue.State result = + com.google.cloud.tasks.v2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2292,6 +2520,7 @@ public com.google.cloud.tasks.v2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2299,12 +2528,14 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by called
@@ -2315,10 +2546,11 @@ public Builder setState(com.google.cloud.tasks.v2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2326,8 +2558,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2340,12 +2577,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2358,6 +2598,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2368,6 +2609,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2395,6 +2638,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2408,8 +2653,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 6;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2420,6 +2664,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2437,7 +2683,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2449,6 +2695,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2474,6 +2722,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2488,11 +2738,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2510,11 +2762,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -2529,14 +2782,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 6;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2544,8 +2800,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2553,12 +2814,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2566,16 +2830,21 @@ public boolean hasStackdriverLoggingConfig() {
      * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2584,7 +2853,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingC
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder setStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2598,6 +2868,8 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriver
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2618,6 +2890,8 @@ public Builder setStackdriverLoggingConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2626,11 +2900,15 @@ public Builder setStackdriverLoggingConfig(
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
+    public Builder mergeStackdriverLoggingConfig(
+        com.google.cloud.tasks.v2.StackdriverLoggingConfig value) {
       if (stackdriverLoggingConfigBuilder_ == null) {
         if (stackdriverLoggingConfig_ != null) {
           stackdriverLoggingConfig_ =
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder(
+                      stackdriverLoggingConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           stackdriverLoggingConfig_ = value;
         }
@@ -2642,6 +2920,8 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2.Stackdriv
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2662,6 +2942,8 @@ public Builder clearStackdriverLoggingConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2670,12 +2952,15 @@ public Builder clearStackdriverLoggingConfig() {
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() {
-      
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder
+        getStackdriverLoggingConfigBuilder() {
+
       onChanged();
       return getStackdriverLoggingConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2684,15 +2969,19 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder getStackdriver
      *
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
-    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() {
+    public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+        getStackdriverLoggingConfigOrBuilder() {
       if (stackdriverLoggingConfigBuilder_ != null) {
         return stackdriverLoggingConfigBuilder_.getMessageOrBuilder();
       } else {
-        return stackdriverLoggingConfig_ == null ?
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_;
+        return stackdriverLoggingConfig_ == null
+            ? com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()
+            : stackdriverLoggingConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -2702,21 +2991,24 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdrive
      * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder> 
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>
         getStackdriverLoggingConfigFieldBuilder() {
       if (stackdriverLoggingConfigBuilder_ == null) {
-        stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
-                getStackdriverLoggingConfig(),
-                getParentForChildren(),
-                isClean());
+        stackdriverLoggingConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder,
+                com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder>(
+                getStackdriverLoggingConfig(), getParentForChildren(), isClean());
         stackdriverLoggingConfig_ = null;
       }
       return stackdriverLoggingConfigBuilder_;
     }
+
     @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);
     }
 
@@ -2726,12 +3018,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Queue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Queue)
   private static final com.google.cloud.tasks.v2.Queue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Queue();
   }
@@ -2740,16 +3032,16 @@ public static com.google.cloud.tasks.v2.Queue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Queue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Queue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Queue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Queue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2764,6 +3056,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.Queue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueName.java
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
similarity index 93%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
index 178b4959..b88abb66 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface QueueOrBuilder extends
+public interface QueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Queue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -71,10 +94,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -88,10 +114,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.AppEngineRouting app_engine_routing_override = 2; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for
    * [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
@@ -109,6 +138,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -133,10 +164,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -161,10 +195,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RateLimits rate_limits = 3; + * * @return The rateLimits. */ com.google.cloud.tasks.v2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
@@ -193,6 +230,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -206,10 +245,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -223,10 +265,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.RetryConfig retry_config = 4; + * * @return The retryConfig. */ com.google.cloud.tasks.v2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -244,6 +289,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -254,10 +301,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by called
@@ -268,11 +318,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue.State state = 5; + * * @return The state. */ com.google.cloud.tasks.v2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -285,10 +338,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -301,10 +357,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 6; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
@@ -321,6 +380,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -328,10 +389,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -339,10 +403,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9; + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
@@ -351,5 +418,6 @@ public interface QueueOrBuilder extends
    *
    * .google.cloud.tasks.v2.StackdriverLoggingConfig stackdriver_logging_config = 9;
    */
-  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder();
+  com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder
+      getStackdriverLoggingConfigOrBuilder();
 }
diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
new file mode 100644
index 00000000..db5e00c6
--- /dev/null
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2/queue.proto
+
+package com.google.cloud.tasks.v2;
+
+public final class QueueProto {
+  private QueueProto() {}
+
+  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_tasks_v2_Queue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_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/tasks/v2/queue.proto\022\025goo"
+          + "gle.cloud.tasks.v2\032\031google/api/resource."
+          + "proto\032\"google/cloud/tasks/v2/target.prot"
+          + "o\032\036google/protobuf/duration.proto\032\037googl"
+          + "e/protobuf/timestamp.proto\"\262\004\n\005Queue\022\014\n\004"
+          + "name\030\001 \001(\t\022L\n\033app_engine_routing_overrid"
+          + "e\030\002 \001(\0132\'.google.cloud.tasks.v2.AppEngin"
+          + "eRouting\0226\n\013rate_limits\030\003 \001(\0132!.google.c"
+          + "loud.tasks.v2.RateLimits\0228\n\014retry_config"
+          + "\030\004 \001(\0132\".google.cloud.tasks.v2.RetryConf"
+          + "ig\0221\n\005state\030\005 \001(\0162\".google.cloud.tasks.v"
+          + "2.Queue.State\022.\n\npurge_time\030\006 \001(\0132\032.goog"
+          + "le.protobuf.Timestamp\022S\n\032stackdriver_log"
+          + "ging_config\030\t \001(\0132/.google.cloud.tasks.v"
+          + "2.StackdriverLoggingConfig\"E\n\005State\022\025\n\021S"
+          + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSE"
+          + "D\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.googl"
+          + "eapis.com/Queue\0226projects/{project}/loca"
+          + "tions/{location}/queues/{queue}\"j\n\nRateL"
+          + "imits\022!\n\031max_dispatches_per_second\030\001 \001(\001"
+          + "\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_concurre"
+          + "nt_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014m"
+          + "ax_attempts\030\001 \001(\005\0225\n\022max_retry_duration\030"
+          + "\002 \001(\0132\031.google.protobuf.Duration\022.\n\013min_"
+          + "backoff\030\003 \001(\0132\031.google.protobuf.Duration"
+          + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf."
+          + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack"
+          + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 "
+          + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP"
+          + "rotoP\001Z:google.golang.org/genproto/googl"
+          + "eapis/cloud/tasks/v2;tasksb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.tasks.v2.TargetProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2_Queue_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2_Queue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_Queue_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "AppEngineRoutingOverride",
+              "RateLimits",
+              "RetryConfig",
+              "State",
+              "PurgeTime",
+              "StackdriverLoggingConfig",
+            });
+    internal_static_google_cloud_tasks_v2_RateLimits_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RateLimits_descriptor,
+            new java.lang.String[] {
+              "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches",
+            });
+    internal_static_google_cloud_tasks_v2_RetryConfig_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_RetryConfig_descriptor,
+            new java.lang.String[] {
+              "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings",
+            });
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor,
+            new java.lang.String[] {
+              "SamplingRatio",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
similarity index 80%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
index 1cdb7fca..ecc9472c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimits.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/queue.proto
 
 package com.google.cloud.tasks.v2;
 
 /**
+ *
+ *
  * 
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2.RateLimits.class,
+            com.google.cloud.tasks.v2.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -119,6 +139,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -129,6 +150,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,7 +268,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.tasks.v2.RateLimits)) { return super.equals(obj); @@ -252,12 +276,9 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.tasks.v2.RateLimits other = (com.google.cloud.tasks.v2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +291,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +304,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RateLimits parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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.tasks.v2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +411,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RateLimits}
    */
-  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.tasks.v2.RateLimits)
       com.google.cloud.tasks.v2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RateLimits.class, com.google.cloud.tasks.v2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2.RateLimits.class,
+              com.google.cloud.tasks.v2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RateLimits.newBuilder()
@@ -404,16 +435,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -460,38 +490,39 @@ public com.google.cloud.tasks.v2.RateLimits 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.tasks.v2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +569,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -551,6 +584,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -558,6 +592,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -569,16 +605,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -590,17 +629,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -633,6 +675,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -640,6 +683,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -672,16 +717,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +762,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +790,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +798,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +814,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +841,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +862,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RateLimits) private static final com.google.cloud.tasks.v2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RateLimits(); } @@ -818,16 +876,16 @@ public static com.google.cloud.tasks.v2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +900,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java index 5e4df2aa..838dcb63 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -19,11 +37,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * Output only. The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java index 62f9f735..619044c3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2.ResumeQueueRequest other = (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.ResumeQueueRequest} */ - 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.tasks.v2.ResumeQueueRequest) com.google.cloud.tasks.v2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.ResumeQueueRequest.class, com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2.ResumeQueueRequest result = new com.google.cloud.tasks.v2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2.ResumeQueueRequest 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.tasks.v2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.ResumeQueueRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..0b0b032e --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/cloudtasks.proto + +package com.google.cloud.tasks.v2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java index 7e5e827d..27cfb35c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2.RetryConfig.class,
+            com.google.cloud.tasks.v2.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,27 @@ 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.tasks.v2.RetryConfig)) { return super.equals(obj); } com.google.cloud.tasks.v2.RetryConfig other = (com.google.cloud.tasks.v2.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +575,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig 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.tasks.v2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +679,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2.RetryConfig)
       com.google.cloud.tasks.v2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RetryConfig.class, com.google.cloud.tasks.v2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2.RetryConfig.class,
+              com.google.cloud.tasks.v2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RetryConfig.newBuilder()
@@ -649,16 +703,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +741,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +762,8 @@ public com.google.cloud.tasks.v2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2.RetryConfig result = new com.google.cloud.tasks.v2.RetryConfig(this);
+      com.google.cloud.tasks.v2.RetryConfig result =
+          new com.google.cloud.tasks.v2.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +789,39 @@ public com.google.cloud.tasks.v2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +874,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +892,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +900,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +916,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +943,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +955,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +979,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1005,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1052,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1072,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1083,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1107,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1121,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1153,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1174,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1203,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1230,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1248,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1171,12 +1270,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1192,16 +1294,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1232,6 +1339,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1248,8 +1357,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1368,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1280,7 +1390,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1402,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1320,6 +1432,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1337,11 +1451,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1362,11 +1478,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1384,14 +1503,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1521,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1416,12 +1543,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1437,16 +1567,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1477,6 +1612,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1493,8 +1630,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1641,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1525,7 +1663,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1675,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1565,6 +1705,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1582,11 +1724,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1607,11 +1751,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -1629,21 +1776,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1821,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1829,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1856,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1894,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1915,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RetryConfig) private static final com.google.cloud.tasks.v2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RetryConfig(); } @@ -1770,16 +1929,16 @@ public static com.google.cloud.tasks.v2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1953,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java similarity index 92% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java index 08f2f02e..adf90087 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java index 0755fef1..27d0ddda 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,14 @@ 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.tasks.v2.RunTaskRequest)) { return super.equals(obj); } com.google.cloud.tasks.v2.RunTaskRequest other = (com.google.cloud.tasks.v2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +303,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
@@ -366,21 +408,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.RunTaskRequest}
    */
-  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.tasks.v2.RunTaskRequest)
       com.google.cloud.tasks.v2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.RunTaskRequest.class, com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.RunTaskRequest.newBuilder()
@@ -388,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +473,8 @@ public com.google.cloud.tasks.v2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2.RunTaskRequest result = new com.google.cloud.tasks.v2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +485,39 @@ public com.google.cloud.tasks.v2.RunTaskRequest 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.tasks.v2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +564,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +589,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +614,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +685,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -634,12 +701,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -654,16 +725,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -678,15 +752,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -701,6 +779,7 @@ public com.google.cloud.tasks.v2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +787,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
      * returned.
@@ -728,17 +809,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2.Task.View value) {
      * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.RunTaskRequest) private static final com.google.cloud.tasks.v2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.RunTaskRequest(); } @@ -762,16 +844,16 @@ public static com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java index 6685e46f..bf13da8d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java index 9e7b6ced..112d7577 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2.QueueProto
+        .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +304,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2.StackdriverLoggingConfig}
    */
-  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.tasks.v2.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +328,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +346,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2.QueueProto.internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2.QueueProto
+          .internal_static_google_cloud_tasks_v2_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +367,8 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +378,39 @@ public com.google.cloud.tasks.v2.StackdriverLoggingConfig 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.tasks.v2.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +442,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +453,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +465,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +473,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +483,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +504,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.StackdriverLoggingConfig(); } @@ -496,16 +539,16 @@ public static com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +563,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java index 90dc354b..af110ade 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/queue.proto package com.google.cloud.tasks.v2; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java new file mode 100644 index 00000000..38185289 --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -0,0 +1,177 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/target.proto + +package com.google.cloud.tasks.v2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/tasks/v2/target.proto\022\025go" + + "ogle.cloud.tasks.v2\032\037google/api/field_be" + + "havior.proto\"\341\002\n\013HttpRequest\022\020\n\003url\030\001 \001(" + + "\tB\003\340A\002\0226\n\013http_method\030\002 \001(\0162!.google.clo" + + "ud.tasks.v2.HttpMethod\022@\n\007headers\030\003 \003(\0132" + + "/.google.cloud.tasks.v2.HttpRequest.Head" + + "ersEntry\022\014\n\004body\030\004 \001(\014\0228\n\013oauth_token\030\005 " + + "\001(\0132!.google.cloud.tasks.v2.OAuthTokenH\000" + + "\0226\n\noidc_token\030\006 \001(\0132 .google.cloud.task" + + "s.v2.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizatio" + + "n_header\"\262\002\n\024AppEngineHttpRequest\0226\n\013htt" + + "p_method\030\001 \001(\0162!.google.cloud.tasks.v2.H" + + "ttpMethod\022C\n\022app_engine_routing\030\002 \001(\0132\'." + + "google.cloud.tasks.v2.AppEngineRouting\022\024" + + "\n\014relative_uri\030\003 \001(\t\022I\n\007headers\030\004 \003(\01328." + + "google.cloud.tasks.v2.AppEngineHttpReque" + + "st.HeadersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014Headers" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n" + + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 " + + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema" + + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025" + + "service_account_email\030\001 \001(\t\022\020\n\010audience\030" + + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" + + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z:google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + 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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java similarity index 81% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java index a34f293f..62fb0dd0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,128 +71,145 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 2) { - subBuilder = ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + name_ = s; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 2) { + subBuilder = + ((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.AppEngineHttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 2; + break; } - messageTypeCase_ = 2; - break; - } - case 26: { - com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; - if (messageTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + case 26: + { + com.google.cloud.tasks.v2.HttpRequest.Builder subBuilder = null; + if (messageTypeCase_ == 3) { + subBuilder = ((com.google.cloud.tasks.v2.HttpRequest) messageType_).toBuilder(); + } + messageType_ = + input.readMessage( + com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); + messageType_ = subBuilder.buildPartial(); + } + messageTypeCase_ = 3; + break; } - messageType_ = - input.readMessage(com.google.cloud.tasks.v2.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2.HttpRequest) messageType_); - messageType_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - messageTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 56: + { + dispatchCount_ = input.readInt32(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 64: + { + responseCount_ = input.readInt32(); + break; } - - break; - } - case 50: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 74: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } + + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } + case 88: + { + int rawValue = input.readEnum(); - break; - } - case 56: { - - dispatchCount_ = input.readInt32(); - break; - } - case 64: { - - responseCount_ = input.readInt32(); - break; - } - case 74: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.cloud.tasks.v2.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); - } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + view_ = rawValue; + break; } - - break; - } - case 88: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,27 +217,30 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
    * When a task is returned in a response, not all
@@ -215,9 +252,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -226,6 +264,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -240,6 +280,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -254,6 +296,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -262,6 +306,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -276,6 +322,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
@@ -287,7 +335,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -312,49 +359,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -373,13 +420,16 @@ private View(int value) {
 
   private int messageTypeCase_ = 0;
   private java.lang.Object messageType_;
+
   public enum MessageTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(2),
     HTTP_REQUEST(3),
     MESSAGETYPE_NOT_SET(0);
     private final int value;
+
     private MessageTypeCase(int value) {
       this.value = value;
     }
@@ -395,26 +445,31 @@ public static MessageTypeCase valueOf(int value) {
 
     public static MessageTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return APP_ENGINE_HTTP_REQUEST;
-        case 3: return HTTP_REQUEST;
-        case 0: return MESSAGETYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 3:
+          return HTTP_REQUEST;
+        case 0:
+          return MESSAGETYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MessageTypeCase
-  getMessageTypeCase() {
-    return MessageTypeCase.forNumber(
-        messageTypeCase_);
+  public MessageTypeCase getMessageTypeCase() {
+    return MessageTypeCase.forNumber(messageTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -436,6 +491,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -444,14 +500,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -473,16 +530,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,12 +548,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 2; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -505,22 +564,27 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() { if (messageTypeCase_ == 2) { - return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; + return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_; } return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -529,21 +593,25 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest()
    * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (messageTypeCase_ == 2) {
-       return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -551,22 +619,27 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { if (messageTypeCase_ == 3) { - return (com.google.cloud.tasks.v2.HttpRequest) messageType_; + return (com.google.cloud.tasks.v2.HttpRequest) messageType_; } return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -577,7 +650,7 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (messageTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
+      return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
     }
     return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
   }
@@ -585,12 +658,15 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -598,19 +674,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -626,12 +709,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -639,12 +725,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -652,6 +741,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -667,6 +758,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -697,6 +790,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -704,6 +798,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -734,13 +830,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -780,6 +881,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 7;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -787,6 +890,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -797,11 +901,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 8; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -812,6 +919,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 9; private com.google.cloud.tasks.v2.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -819,6 +928,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -826,6 +936,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -833,13 +945,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -856,11 +973,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -868,18 +988,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -894,33 +1021,42 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { public static final int VIEW_FIELD_NUMBER = 11; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -932,8 +1068,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -980,44 +1115,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (messageTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_); } if (messageTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2.HttpRequest) messageType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDispatchDeadline()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1027,54 +1156,44 @@ 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.tasks.v2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2.Task other = (com.google.cloud.tasks.v2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getMessageTypeCase().equals(other.getMessageTypeCase())) return false; switch (messageTypeCase_) { case 2: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 3: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 0: default: @@ -1135,116 +1254,123 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.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.tasks.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.tasks.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.tasks.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.tasks.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.tasks.v2.Task parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.tasks.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.tasks.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.tasks.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.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.tasks.v2.Task) com.google.cloud.tasks.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.tasks.v2.Task.class, com.google.cloud.tasks.v2.Task.Builder.class); } @@ -1254,16 +1380,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1311,9 +1436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.TaskProto.internal_static_google_cloud_tasks_v2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.TaskProto + .internal_static_google_cloud_tasks_v2_Task_descriptor; } @java.lang.Override @@ -1385,38 +1510,39 @@ public com.google.cloud.tasks.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.tasks.v2.Task) { - return mergeFrom((com.google.cloud.tasks.v2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2.Task) other); } else { super.mergeFrom(other); return this; @@ -1454,17 +1580,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2.Task other) { setViewValue(other.getViewValue()); } switch (other.getMessageTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case MESSAGETYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case MESSAGETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1494,12 +1623,12 @@ public Builder mergeFrom( } return this; } + private int messageTypeCase_ = 0; private java.lang.Object messageType_; - public MessageTypeCase - getMessageTypeCase() { - return MessageTypeCase.forNumber( - messageTypeCase_); + + public MessageTypeCase getMessageTypeCase() { + return MessageTypeCase.forNumber(messageTypeCase_); } public Builder clearMessageType() { @@ -1509,9 +1638,10 @@ public Builder clearMessageType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1533,13 +1663,13 @@ public Builder clearMessageType() {
      * 
* * 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; @@ -1548,6 +1678,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1569,15 +1701,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1585,6 +1716,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1606,20 +1739,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1641,15 +1776,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
      * The task name.
@@ -1671,30 +1809,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2.AppEngineHttpRequest, + com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1702,12 +1846,15 @@ public boolean hasAppEngineHttpRequest() { return messageTypeCase_ == 2; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1725,6 +1872,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest() } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1746,6 +1895,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRe
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1765,6 +1916,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1774,10 +1927,14 @@ public Builder setAppEngineHttpRequest(
      */
     public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 2 &&
-            messageType_ != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 2
+            && messageType_
+                != com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1793,6 +1950,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2.AppEngineHttp
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1817,6 +1976,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1828,6 +1989,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1836,7 +1999,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder getAppEngineHttpRe
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((messageTypeCase_ == 2) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1847,6 +2011,8 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -1855,33 +2021,45 @@ public com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpR
      * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 2)) {
           messageType_ = com.google.cloud.tasks.v2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.AppEngineHttpRequest, com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.AppEngineHttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1889,12 +2067,15 @@ public boolean hasHttpRequest() { return messageTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ @java.lang.Override @@ -1912,6 +2093,8 @@ public com.google.cloud.tasks.v2.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1933,6 +2116,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1940,8 +2125,7 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
      *
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
-    public Builder setHttpRequest(
-        com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
+    public Builder setHttpRequest(com.google.cloud.tasks.v2.HttpRequest.Builder builderForValue) {
       if (httpRequestBuilder_ == null) {
         messageType_ = builderForValue.build();
         onChanged();
@@ -1952,6 +2136,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -1961,10 +2147,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (messageTypeCase_ == 3 &&
-            messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
-          messageType_ = com.google.cloud.tasks.v2.HttpRequest.newBuilder((com.google.cloud.tasks.v2.HttpRequest) messageType_)
-              .mergeFrom(value).buildPartial();
+        if (messageTypeCase_ == 3
+            && messageType_ != com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance()) {
+          messageType_ =
+              com.google.cloud.tasks.v2.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2.HttpRequest) messageType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           messageType_ = value;
         }
@@ -1980,6 +2169,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2.HttpRequest value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2004,6 +2195,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2015,6 +2208,8 @@ public com.google.cloud.tasks.v2.HttpRequest.Builder getHttpRequestBuilder() {
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2034,6 +2229,8 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the worker.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -2042,56 +2239,75 @@ public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder()
      * .google.cloud.tasks.v2.HttpRequest http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2.HttpRequest,
+            com.google.cloud.tasks.v2.HttpRequest.Builder,
+            com.google.cloud.tasks.v2.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(messageTypeCase_ == 3)) {
           messageType_ = com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.HttpRequest, com.google.cloud.tasks.v2.HttpRequest.Builder, com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.HttpRequest,
+                com.google.cloud.tasks.v2.HttpRequest.Builder,
+                com.google.cloud.tasks.v2.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2.HttpRequest) messageType_,
                 getParentForChildren(),
                 isClean());
         messageType_ = null;
       }
       messageTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2113,6 +2329,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2120,8 +2338,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2132,6 +2349,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2143,7 +2362,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2155,6 +2376,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2174,6 +2397,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2182,11 +2407,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2198,11 +2425,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted or retried.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -2211,14 +2441,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2226,36 +2459,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2277,6 +2523,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2284,8 +2532,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2296,6 +2543,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2307,7 +2556,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;
         }
@@ -2319,6 +2568,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2338,6 +2589,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2346,11 +2599,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2362,11 +2617,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2375,14 +2633,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2390,8 +2651,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2422,12 +2688,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2458,16 +2727,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2513,6 +2787,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2544,8 +2820,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2556,6 +2831,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2591,7 +2868,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2603,6 +2882,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2646,6 +2927,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2678,11 +2961,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2718,11 +3003,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2755,21 +3043,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 6;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2777,6 +3070,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ @java.lang.Override @@ -2784,6 +3078,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2791,16 +3087,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 7; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -2808,22 +3107,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 7; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return The responseCount. */ @java.lang.Override @@ -2831,30 +3134,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 8; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -2862,8 +3171,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2871,12 +3185,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2884,16 +3201,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2916,6 +3238,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2924,8 +3248,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
      *
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -2936,6 +3259,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2948,7 +3273,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -2960,6 +3287,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2980,6 +3309,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -2989,11 +3320,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     public com.google.cloud.tasks.v2.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3006,11 +3339,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -3020,14 +3356,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
      * .google.cloud.tasks.v2.Attempt first_attempt = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2.Attempt,
+                com.google.cloud.tasks.v2.Attempt.Builder,
+                com.google.cloud.tasks.v2.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3035,34 +3374,47 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder() {
 
     private com.google.cloud.tasks.v2.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2.Attempt,
+            com.google.cloud.tasks.v2.Attempt.Builder,
+            com.google.cloud.tasks.v2.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3083,14 +3435,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3101,6 +3454,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3111,7 +3466,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3123,6 +3480,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3141,6 +3500,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3148,11 +3509,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ public com.google.cloud.tasks.v2.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3163,11 +3526,14 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3175,14 +3541,17 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { * .google.cloud.tasks.v2.Attempt last_attempt = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder> + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Attempt, com.google.cloud.tasks.v2.Attempt.Builder, com.google.cloud.tasks.v2.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Attempt, + com.google.cloud.tasks.v2.Attempt.Builder, + com.google.cloud.tasks.v2.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3190,55 +3559,69 @@ public com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2.Task.View result = com.google.cloud.tasks.v2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2.Task.View result = + com.google.cloud.tasks.v2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3246,29 +3629,32 @@ public Builder setView(com.google.cloud.tasks.v2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3278,12 +3664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.Task) private static final com.google.cloud.tasks.v2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.Task(); } @@ -3292,16 +3678,16 @@ public static com.google.cloud.tasks.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3316,6 +3702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java similarity index 93% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java index b785e0af..007aaaac 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/task.proto package com.google.cloud.tasks.v2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2.AppEngineHttpRequest app_engine_http_request = 2; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2.HttpRequest http_request = 3; + * * @return The httpRequest. */ com.google.cloud.tasks.v2.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the worker.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
@@ -120,26 +157,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted or retried.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -150,26 +195,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -180,6 +233,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -210,10 +265,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -244,10 +302,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 6; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -282,6 +343,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -289,21 +352,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 7; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 8; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -311,10 +380,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -322,10 +394,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Attempt first_attempt = 9; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
@@ -337,24 +412,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2.Attempt last_attempt = 10; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -364,22 +447,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2.Task.View view = 11; + * * @return The view. */ com.google.cloud.tasks.v2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java new file mode 100644 index 00000000..ed8a2c9b --- /dev/null +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2/task.proto + +package com.google.cloud.tasks.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_tasks_v2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2_Attempt_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/tasks/v2/task.proto\022\025goog" + + "le.cloud.tasks.v2\032\031google/api/resource.p" + + "roto\032\"google/cloud/tasks/v2/target.proto" + + "\032\036google/protobuf/duration.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\264\005\n\004Task\022\014\n\004name\030\001 \001(\t\022N\n\027app" + + "_engine_http_request\030\002 \001(\0132+.google.clou" + + "d.tasks.v2.AppEngineHttpRequestH\000\022:\n\014htt" + + "p_request\030\003 \001(\0132\".google.cloud.tasks.v2." + + "HttpRequestH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\006 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\007 \001(\005\022\026\n\016respo" + + "nse_count\030\010 \001(\005\0225\n\rfirst_attempt\030\t \001(\0132\036" + + ".google.cloud.tasks.v2.Attempt\0224\n\014last_a" + + "ttempt\030\n \001(\0132\036.google.cloud.tasks.v2.Att" + + "empt\022.\n\004view\030\013 \001(\0162 .google.cloud.tasks." + + "v2.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED" + + "\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks" + + ".googleapis.com/Task\022Cprojects/{project}" + + "/locations/{location}/queues/{queue}/tas" + + "ks/{task}B\016\n\014message_type\"\317\001\n\007Attempt\0221\n" + + "\rschedule_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/tasks/v2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "MessageType", + }); + internal_static_google_cloud_tasks_v2_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2.TargetProto.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/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java index 68da5cbe..efa8f447 100644 --- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2/cloudtasks.proto package com.google.cloud.tasks.v2; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage(com.google.cloud.tasks.v2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +112,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -124,6 +148,7 @@ private UpdateQueueRequest(
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +156,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -140,6 +167,7 @@ public boolean hasQueue() {
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ @java.lang.Override @@ -147,6 +175,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -165,12 +195,15 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +211,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +227,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +271,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +284,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.tasks.v2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2.UpdateQueueRequest other = (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -289,118 +324,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2.UpdateQueueRequest} */ - 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.tasks.v2.UpdateQueueRequest) com.google.cloud.tasks.v2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2.UpdateQueueRequest.class, com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2.UpdateQueueRequest.newBuilder() @@ -408,16 +452,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2.CloudTasksProto.internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2.CloudTasksProto + .internal_static_google_cloud_tasks_v2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2.UpdateQueueRequest result = new com.google.cloud.tasks.v2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +521,39 @@ public com.google.cloud.tasks.v2.UpdateQueueRequest 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.tasks.v2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -554,8 +599,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -564,13 +614,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -579,7 +633,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2.Queue getQueue() { @@ -590,6 +646,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -598,7 +656,8 @@ public com.google.cloud.tasks.v2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +673,8 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -622,10 +683,10 @@ public Builder setQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +697,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -644,13 +707,14 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); } else { queue_ = value; } @@ -662,6 +726,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -670,7 +736,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +751,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -692,14 +761,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -708,17 +780,19 @@ public com.google.cloud.tasks.v2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -727,17 +801,21 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder> + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2.Queue, com.google.cloud.tasks.v2.Queue.Builder, com.google.cloud.tasks.v2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2.Queue, + com.google.cloud.tasks.v2.Queue.Builder, + com.google.cloud.tasks.v2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +823,49 @@ public com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +887,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +896,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +907,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +920,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +932,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +953,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +963,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +981,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +997,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1024,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2.UpdateQueueRequest();
   }
@@ -932,16 +1038,16 @@ public static com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1062,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
index d3adfb72..769807c0 100644
--- a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -17,10 +35,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -30,10 +51,13 @@ public interface UpdateQueueRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The queue. */ com.google.cloud.tasks.v2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
@@ -47,26 +71,34 @@ public interface UpdateQueueRequestOrBuilder extends
   com.google.cloud.tasks.v2.QueueOrBuilder getQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto
diff --git a/owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
rename to proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
similarity index 69%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
index abcfe358..ea776bea 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for acknowledging a task using
  * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
  */
-public final class AcknowledgeTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AcknowledgeTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)
     AcknowledgeTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AcknowledgeTaskRequest.newBuilder() to construct.
   private AcknowledgeTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AcknowledgeTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AcknowledgeTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AcknowledgeTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,32 +71,35 @@ private AcknowledgeTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -87,35 +107,42 @@ private AcknowledgeTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -124,30 +151,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,6 +187,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -166,7 +197,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -174,6 +207,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -182,14 +217,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -198,7 +239,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -206,6 +248,7 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,8 +280,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -249,19 +290,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other = + (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,96 +326,104 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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 acknowledging a task using
    * [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
@@ -383,21 +431,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AcknowledgeTaskRequest}
    */
-  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.tasks.v2beta2.AcknowledgeTaskRequest)
       com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class, com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.newBuilder()
@@ -405,16 +455,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -451,7 +500,8 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -466,38 +516,39 @@ public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest 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.tasks.v2beta2.AcknowledgeTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -505,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -532,7 +584,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -544,19 +597,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -565,21 +622,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -587,57 +647,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -645,8 +718,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -655,13 +733,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -670,17 +752,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -689,7 +777,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -705,6 +794,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -713,10 +804,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -727,6 +818,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -735,13 +828,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -753,6 +849,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -761,7 +859,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -775,6 +874,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -783,14 +884,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -799,17 +903,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -818,24 +926,28 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; } + @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); } @@ -845,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) private static final com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest(); } @@ -859,16 +971,16 @@ public static com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcknowledgeTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AcknowledgeTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcknowledgeTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AcknowledgeTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,6 +995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java index aa7083e2..5836a48c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AcknowledgeTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface AcknowledgeTaskRequestOrBuilder extends +public interface AcknowledgeTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AcknowledgeTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,7 +99,8 @@ public interface AcknowledgeTaskRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java index 37163c60..bda8fe19 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -61,15 +78,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUrl_ = "";
@@ -78,16 +96,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -107,56 +124,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUrl_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUrl_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -164,41 +187,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -210,12 +236,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -227,17 +257,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -247,6 +282,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -254,6 +290,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -263,13 +301,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -288,6 +331,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URL_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUrl_;
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -297,6 +342,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ @java.lang.Override @@ -305,14 +351,15 @@ public java.lang.String getRelativeUrl() { 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(); relativeUrl_ = s; return s; } } /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -322,16 +369,15 @@ public java.lang.String getRelativeUrl() {
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -340,24 +386,23 @@ public java.lang.String getRelativeUrl() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -366,6 +411,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -404,22 +451,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -459,11 +506,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -503,16 +551,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -552,12 +600,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -567,6 +614,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int PAYLOAD_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -576,6 +625,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -584,6 +634,7 @@ public com.google.protobuf.ByteString getPayload() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,9 +646,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -606,12 +657,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUrl_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!payload_.isEmpty()) { output.writeBytes(5, payload_); } @@ -624,30 +671,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUrl_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, payload_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -657,25 +702,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.tasks.v2beta2.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUrl() - .equals(other.getRelativeUrl())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getPayload() - .equals(other.getPayload())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUrl().equals(other.getRelativeUrl())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getPayload().equals(other.getPayload())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -707,96 +749,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -854,43 +903,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpRequest}
    */
-  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.tasks.v2beta2.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder()
@@ -898,16 +947,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -928,9 +976,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -949,7 +997,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -969,38 +1018,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest 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.tasks.v2beta2.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1008,7 +1058,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1019,8 +1070,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest oth
         relativeUrl_ = other.relativeUrl_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getPayload() != com.google.protobuf.ByteString.EMPTY) {
         setPayload(other.getPayload());
       }
@@ -1043,7 +1093,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1052,10 +1103,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1067,12 +1121,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1084,16 +1142,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1105,15 +1166,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.HttpMethod result = com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta2.HttpMethod result = + com.google.cloud.tasks.v2beta2.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta2.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1125,6 +1190,7 @@ public com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1132,12 +1198,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1149,10 +1217,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta2.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1160,8 +1229,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineRouting, + com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1171,12 +1245,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1186,16 +1263,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1220,6 +1302,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1242,6 +1326,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1256,7 +1342,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1268,6 +1356,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta2.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1290,6 +1380,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1301,11 +1393,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1320,11 +1414,14 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1336,14 +1433,17 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1351,6 +1451,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUrl_ = "";
     /**
+     *
+     *
      * 
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1360,13 +1462,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_url = 3; + * * @return The relativeUrl. */ public java.lang.String getRelativeUrl() { java.lang.Object ref = relativeUrl_; 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(); relativeUrl_ = s; return s; @@ -1375,6 +1477,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1384,15 +1488,14 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - public com.google.protobuf.ByteString - getRelativeUrlBytes() { + public com.google.protobuf.ByteString getRelativeUrlBytes() { java.lang.Object ref = relativeUrl_; 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); relativeUrl_ = b; return b; } else { @@ -1400,6 +1503,8 @@ public java.lang.String getRelativeUrl() { } } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1409,20 +1514,22 @@ public java.lang.String getRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrl( - java.lang.String value) { + public Builder setRelativeUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUrl_ = value; onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1432,15 +1539,18 @@ public Builder setRelativeUrl(
      * 
* * string relative_url = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUrl() { - + relativeUrl_ = getDefaultInstance().getRelativeUrl(); onChanged(); return this; } /** + * + * *
      * The relative URL.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1450,37 +1560,36 @@ public Builder clearRelativeUrl() {
      * 
* * string relative_url = 3; + * * @param value The bytes for relativeUrl to set. * @return This builder for chaining. */ - public Builder setRelativeUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUrl_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1492,6 +1601,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1530,22 +1641,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1585,11 +1696,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1629,16 +1741,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1678,12 +1791,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1691,11 +1803,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1734,23 +1847,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1789,19 +1900,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1840,16 +1952,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1859,6 +1970,7 @@ public Builder putAllHeaders(
      * 
* * bytes payload = 5; + * * @return The payload. */ @java.lang.Override @@ -1866,6 +1978,8 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1875,19 +1989,22 @@ public com.google.protobuf.ByteString getPayload() {
      * 
* * bytes payload = 5; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * Payload.
      * The payload will be sent as the HTTP message body. A message
@@ -1897,17 +2014,18 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
      * 
* * bytes payload = 5; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); 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); } @@ -1917,12 +2035,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta2.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpRequest(); } @@ -1931,16 +2049,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,6 +2073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java index 0eee0ff6..4a27f8c2 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta2.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The relativeUrl. */ java.lang.String getRelativeUrl(); /** + * + * *
    * The relative URL.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_url = 3; + * * @return The bytes for relativeUrl. */ - com.google.protobuf.ByteString - getRelativeUrlBytes(); + com.google.protobuf.ByteString getRelativeUrlBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Payload.
    * The payload will be sent as the HTTP message body. A message
@@ -331,6 +371,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes payload = 5; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java index 43646f79..3633a62d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * App Engine HTTP target.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpTarget() {
-  }
+
+  private AppEngineHttpTarget() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpTarget(
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta2.AppEngineHttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
+    com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other =
+        (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP target.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineHttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
       com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.class,
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
+      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget result =
+          new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta2.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta2.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta2.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineRouting,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineRouting, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineRouting,
+                com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
   private static final com.google.cloud.tasks.v2beta2.AppEngineHttpTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineHttpTarget();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
index 6ac107fd..e4f6a8d5 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineHttpTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AppEngineHttpTargetOrBuilder extends
+public interface AppEngineHttpTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineHttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta2.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
similarity index 86%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
index 75151c07..ad2acdb0 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRouting.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/target.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -387,6 +421,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -395,14 +430,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -452,16 +488,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -470,6 +505,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -481,8 +517,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -524,21 +559,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.AppEngineRouting other = (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta2.AppEngineRouting other = + (com.google.cloud.tasks.v2beta2.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -563,97 +595,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -671,21 +710,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.AppEngineRouting)
       com.google.cloud.tasks.v2beta2.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.AppEngineRouting.class, com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta2.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.AppEngineRouting.newBuilder()
@@ -693,16 +734,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -718,9 +758,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -739,7 +779,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta2.AppEngineRouting result = new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta2.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta2.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -752,38 +793,39 @@ public com.google.cloud.tasks.v2beta2.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -791,7 +833,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -839,6 +882,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -857,13 +902,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -872,6 +917,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -890,15 +937,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -906,6 +952,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -924,20 +972,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -956,15 +1006,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -983,16 +1036,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -1000,6 +1053,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1018,13 +1073,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1033,6 +1088,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1051,15 +1108,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1067,6 +1123,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1085,20 +1143,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1117,15 +1177,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1144,16 +1207,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1161,6 +1224,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1176,13 +1241,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1191,6 +1256,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1206,15 +1273,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1222,6 +1288,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1237,20 +1305,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1266,15 +1336,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1290,16 +1363,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1307,6 +1380,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1356,13 +1431,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1371,6 +1446,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1420,15 +1497,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1436,6 +1512,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1485,20 +1563,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1548,15 +1628,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * For more information, see
@@ -1606,23 +1689,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1632,12 +1715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AppEngineRouting) private static final com.google.cloud.tasks.v2beta2.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AppEngineRouting(); } @@ -1646,16 +1729,16 @@ public static com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1670,6 +1753,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java index 3a191733..bc74a98e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -189,10 +222,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * For more information, see
@@ -242,8 +278,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java index a2e69197..28cd82db 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ -public final class AttemptStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttemptStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.AttemptStatus) AttemptStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttemptStatus.newBuilder() to construct. private AttemptStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttemptStatus() { - } + + private AttemptStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttemptStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AttemptStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private AttemptStatus( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); - } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private AttemptStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,32 +424,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.tasks.v2beta2.AttemptStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.AttemptStatus other = (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
+    com.google.cloud.tasks.v2beta2.AttemptStatus other =
+        (com.google.cloud.tasks.v2beta2.AttemptStatus) obj;
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +480,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.AttemptStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.AttemptStatus} */ - 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.tasks.v2beta2.AttemptStatus) com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.AttemptStatus.class, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); + com.google.cloud.tasks.v2beta2.AttemptStatus.class, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder() @@ -542,16 +608,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; } @java.lang.Override @@ -604,7 +669,8 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus buildPartial() { - com.google.cloud.tasks.v2beta2.AttemptStatus result = new com.google.cloud.tasks.v2beta2.AttemptStatus(this); + com.google.cloud.tasks.v2beta2.AttemptStatus result = + new com.google.cloud.tasks.v2beta2.AttemptStatus(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +699,39 @@ public com.google.cloud.tasks.v2beta2.AttemptStatus 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.tasks.v2beta2.AttemptStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.AttemptStatus) other); } else { super.mergeFrom(other); return this; @@ -716,36 +783,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +847,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +856,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +867,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +880,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +894,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +915,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +925,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +943,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +959,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +977,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1041,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1050,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1061,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1074,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1088,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1109,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1119,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1137,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1153,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1171,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1235,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1244,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1255,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1268,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1282,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1303,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1313,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1331,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1347,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1365,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1217,12 +1377,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1230,16 +1393,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1262,6 +1430,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1270,8 +1440,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1451,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1294,7 +1465,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1477,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1326,6 +1499,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1335,11 +1510,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1352,11 +1529,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the target for this attempt.
      * If the task has not been attempted or the task is currently running
@@ -1366,21 +1546,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1571,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.AttemptStatus)
   private static final com.google.cloud.tasks.v2beta2.AttemptStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.AttemptStatus();
   }
@@ -1404,16 +1585,16 @@ public static com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttemptStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AttemptStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttemptStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AttemptStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1609,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.AttemptStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
index 067732e6..04cba740 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/AttemptStatusOrBuilder.java
@@ -1,33 +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/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface AttemptStatusOrBuilder extends
+public interface AttemptStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.AttemptStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptStatusOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -105,10 +147,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
@@ -116,10 +161,13 @@ public interface AttemptStatusOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the target for this attempt.
    * If the task has not been attempted or the task is currently running
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
similarity index 74%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
index 8f7ffdf5..4f0d227b 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for canceling a lease using
  * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
  */
-public final class CancelLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CancelLeaseRequest)
     CancelLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelLeaseRequest.newBuilder() to construct.
   private CancelLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private CancelLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,38 +72,42 @@ private CancelLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +115,42 @@ private CancelLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -131,30 +159,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -165,6 +195,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -173,7 +205,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -181,6 +215,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -189,14 +225,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -205,7 +247,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -215,6 +258,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -229,12 +274,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -249,15 +298,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -293,12 +345,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -308,19 +358,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CancelLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.CancelLeaseRequest other = + (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -348,96 +397,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest 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 canceling a lease using
    * [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
@@ -445,21 +501,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.CancelLeaseRequest}
    */
-  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.tasks.v2beta2.CancelLeaseRequest)
       com.google.cloud.tasks.v2beta2.CancelLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class, com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.CancelLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.CancelLeaseRequest.newBuilder()
@@ -467,16 +525,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -494,9 +551,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -515,7 +572,8 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.CancelLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.CancelLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -531,38 +589,39 @@ public com.google.cloud.tasks.v2beta2.CancelLeaseRequest 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.tasks.v2beta2.CancelLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.CancelLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,7 +629,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CancelLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.CancelLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -600,7 +660,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta2.CancelLeaseRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -612,19 +673,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -633,21 +698,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -655,57 +723,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -713,8 +794,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -723,13 +809,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -738,17 +828,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -757,7 +853,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -773,6 +870,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -781,10 +880,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -795,6 +894,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -803,13 +904,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -821,6 +925,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -829,7 +935,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -843,6 +950,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -851,14 +960,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -867,17 +979,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -886,17 +1002,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -904,6 +1024,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -918,12 +1040,16 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -938,16 +1064,19 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -962,15 +1091,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -985,6 +1118,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -992,12 +1126,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1012,17 +1148,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1032,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CancelLeaseRequest) private static final com.google.cloud.tasks.v2beta2.CancelLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CancelLeaseRequest(); } @@ -1046,16 +1183,16 @@ public static com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CancelLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java index c38b4840..7e482e5c 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CancelLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CancelLeaseRequestOrBuilder extends +public interface CancelLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CancelLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,11 +99,14 @@ public interface CancelLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -83,10 +121,13 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -101,6 +142,7 @@ public interface CancelLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java new file mode 100644 index 00000000..e0f1f9cc --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -0,0 +1,496 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public final class CloudTasksProto { + private CloudTasksProto() {} + + 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_tasks_v2beta2_ListQueuesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_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/tasks/v2beta2/cloudtasks." + + "proto\022\032google.cloud.tasks.v2beta2\032\034googl" + + "e/api/annotations.proto\032\027google/api/clie" + + "nt.proto\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032&google/clo" + + "ud/tasks/v2beta2/queue.proto\032%google/clo" + + "ud/tasks/v2beta2/task.proto\032\036google/iam/" + + "v1/iam_policy.proto\032\032google/iam/v1/polic" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\033google/protobuf/empty.proto\032 google/pro" + + "tobuf/field_mask.proto\032\037google/protobuf/" + + "timestamp.proto\"\267\001\n\021ListQueuesRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudtasks.google" + + "apis.com/Queue\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\0222\n\tread_ma" + + "sk\030\005 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\001\"`\n\022ListQueuesResponse\0221\n\006queues\030\001 \003(\0132" + + "!.google.cloud.tasks.v2beta2.Queue\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"|\n\017GetQueueRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googlea" + + "pis.com/Queue\0222\n\tread_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\"\204\001\n\022CreateQueu" + + "eRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudt" + + "asks.googleapis.com/Queue\0225\n\005queue\030\002 \001(\013" + + "2!.google.cloud.tasks.v2beta2.QueueB\003\340A\002" + + "\"|\n\022UpdateQueueRequest\0225\n\005queue\030\001 \001(\0132!." + + "google.cloud.tasks.v2beta2.QueueB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"K\n\022DeleteQueueRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.com/Qu" + + "eue\"J\n\021PurgeQueueRequest\0225\n\004name\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037cloudtasks.googleapis.com/Queue\"" + + "J\n\021PauseQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" + + "A!\n\037cloudtasks.googleapis.com/Queue\"K\n\022R" + + "esumeQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037cloudtasks.googleapis.com/Queue\"\257\001\n\020Lis" + + "tTasksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036c" + + "loudtasks.googleapis.com/Task\022<\n\rrespons" + + "e_view\030\002 \001(\0162%.google.cloud.tasks.v2beta" + + "2.Task.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_t" + + "oken\030\005 \001(\t\"]\n\021ListTasksResponse\022/\n\005tasks" + + "\030\001 \003(\0132 .google.cloud.tasks.v2beta2.Task" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\016GetTaskReq" + + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.g" + + "oogleapis.com/Task\022<\n\rresponse_view\030\002 \001(" + + "\0162%.google.cloud.tasks.v2beta2.Task.View" + + "\"\276\001\n\021CreateTaskRequest\0226\n\006parent\030\001 \001(\tB&" + + "\340A\002\372A \022\036cloudtasks.googleapis.com/Task\0223" + + "\n\004task\030\002 \001(\0132 .google.cloud.tasks.v2beta" + + "2.TaskB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goo" + + "gle.cloud.tasks.v2beta2.Task.View\"I\n\021Del" + + "eteTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cl" + + "oudtasks.googleapis.com/Task\"\344\001\n\021LeaseTa" + + "sksRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036clou" + + "dtasks.googleapis.com/Task\022\021\n\tmax_tasks\030" + + "\002 \001(\005\0226\n\016lease_duration\030\003 \001(\0132\031.google.p" + + "rotobuf.DurationB\003\340A\002\022<\n\rresponse_view\030\004" + + " \001(\0162%.google.cloud.tasks.v2beta2.Task.V" + + "iew\022\016\n\006filter\030\005 \001(\t\"E\n\022LeaseTasksRespons" + + "e\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tasks.v2" + + "beta2.Task\"\206\001\n\026AcknowledgeTaskRequest\0224\n" + + "\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudtasks.googleap" + + "is.com/Task\0226\n\rschedule_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\002\"\367\001\n\021RenewLea" + + "seRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloudta" + + "sks.googleapis.com/Task\0226\n\rschedule_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "6\n\016lease_duration\030\003 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\002\022<\n\rresponse_view\030\004 \001(\0162%" + + ".google.cloud.tasks.v2beta2.Task.View\"\300\001" + + "\n\022CancelLeaseRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + + "A \n\036cloudtasks.googleapis.com/Task\0226\n\rsc" + + "hedule_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\002\022<\n\rresponse_view\030\003 \001(\0162%.goog" + + "le.cloud.tasks.v2beta2.Task.View\"\204\001\n\016Run" + + "TaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "tasks.googleapis.com/Task\022<\n\rresponse_vi" + + "ew\030\002 \001(\0162%.google.cloud.tasks.v2beta2.Ta" + + "sk.View2\324\034\n\nCloudTasks\022\255\001\n\nListQueues\022-." + + "google.cloud.tasks.v2beta2.ListQueuesReq" + + "uest\032..google.cloud.tasks.v2beta2.ListQu" + + "euesResponse\"@\202\323\344\223\0021\022//v2beta2/{parent=p" + + "rojects/*/locations/*}/queues\332A\006parent\022\232" + + "\001\n\010GetQueue\022+.google.cloud.tasks.v2beta2" + + ".GetQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\">\202\323\344\223\0021\022//v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}\332A\004name\022\257\001\n\013" + + "CreateQueue\022..google.cloud.tasks.v2beta2" + + ".CreateQueueRequest\032!.google.cloud.tasks" + + ".v2beta2.Queue\"M\202\323\344\223\0028\"//v2beta2/{parent" + + "=projects/*/locations/*}/queues:\005queue\332A" + + "\014parent,queue\022\272\001\n\013UpdateQueue\022..google.c" + + "loud.tasks.v2beta2.UpdateQueueRequest\032!." + + "google.cloud.tasks.v2beta2.Queue\"X\202\323\344\223\002>" + + "25/v2beta2/{queue.name=projects/*/locati" + + "ons/*/queues/*}:\005queue\332A\021queue,update_ma" + + "sk\022\225\001\n\013DeleteQueue\022..google.cloud.tasks." + + "v2beta2.DeleteQueueRequest\032\026.google.prot" + + "obuf.Empty\">\202\323\344\223\0021*//v2beta2/{name=proje" + + "cts/*/locations/*/queues/*}\332A\004name\022\247\001\n\nP" + + "urgeQueue\022-.google.cloud.tasks.v2beta2.P" + + "urgeQueueRequest\032!.google.cloud.tasks.v2" + + "beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/{name=proj" + + "ects/*/locations/*/queues/*}:purge:\001*\332A\004" + + "name\022\247\001\n\nPauseQueue\022-.google.cloud.tasks" + + ".v2beta2.PauseQueueRequest\032!.google.clou" + + "d.tasks.v2beta2.Queue\"G\202\323\344\223\002:\"5/v2beta2/" + + "{name=projects/*/locations/*/queues/*}:p" + + "ause:\001*\332A\004name\022\252\001\n\013ResumeQueue\022..google." + + "cloud.tasks.v2beta2.ResumeQueueRequest\032!" + + ".google.cloud.tasks.v2beta2.Queue\"H\202\323\344\223\002" + + ";\"6/v2beta2/{name=projects/*/locations/*" + + "/queues/*}:resume:\001*\332A\004name\022\241\001\n\014GetIamPo" + + "licy\022\".google.iam.v1.GetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"V\202\323\344\223\002E\"@/v2beta" + + "2/{resource=projects/*/locations/*/queue" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\250\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v2" + + "beta2/{resource=projects/*/locations/*/q" + + "ueues/*}:setIamPolicy:\001*\332A\017resource,poli" + + "cy\022\323\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"h\202\323\344\223\002K\"F" + + "/v2beta2/{resource=projects/*/locations/" + + "*/queues/*}:testIamPermissions:\001*\332A\024reso" + + "urce,permissions\022\262\001\n\tListTasks\022,.google." + + "cloud.tasks.v2beta2.ListTasksRequest\032-.g" + + "oogle.cloud.tasks.v2beta2.ListTasksRespo" + + "nse\"H\202\323\344\223\0029\0227/v2beta2/{parent=projects/*" + + "/locations/*/queues/*}/tasks\332A\006parent\022\237\001" + + "\n\007GetTask\022*.google.cloud.tasks.v2beta2.G" + + "etTaskRequest\032 .google.cloud.tasks.v2bet" + + "a2.Task\"F\202\323\344\223\0029\0227/v2beta2/{name=projects" + + "/*/locations/*/queues/*/tasks/*}\332A\004name\022" + + "\257\001\n\nCreateTask\022-.google.cloud.tasks.v2be" + + "ta2.CreateTaskRequest\032 .google.cloud.tas" + + "ks.v2beta2.Task\"P\202\323\344\223\002<\"7/v2beta2/{paren" + + "t=projects/*/locations/*/queues/*}/tasks" + + ":\001*\332A\013parent,task\022\233\001\n\nDeleteTask\022-.googl" + + "e.cloud.tasks.v2beta2.DeleteTaskRequest\032" + + "\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v2beta" + + "2/{name=projects/*/locations/*/queues/*/" + + "tasks/*}\332A\004name\022\315\001\n\nLeaseTasks\022-.google." + + "cloud.tasks.v2beta2.LeaseTasksRequest\032.." + + "google.cloud.tasks.v2beta2.LeaseTasksRes" + + "ponse\"`\202\323\344\223\002B\"=/v2beta2/{parent=projects" + + "/*/locations/*/queues/*}/tasks:lease:\001*\332" + + "A\025parent,lease_duration\022\302\001\n\017AcknowledgeT" + + "ask\0222.google.cloud.tasks.v2beta2.Acknowl" + + "edgeTaskRequest\032\026.google.protobuf.Empty\"" + + "c\202\323\344\223\002H\"C/v2beta2/{name=projects/*/locat" + + "ions/*/queues/*/tasks/*}:acknowledge:\001*\332" + + "A\022name,schedule_time\022\320\001\n\nRenewLease\022-.go" + + "ogle.cloud.tasks.v2beta2.RenewLeaseReque" + + "st\032 .google.cloud.tasks.v2beta2.Task\"q\202\323" + + "\344\223\002G\"B/v2beta2/{name=projects/*/location" + + "s/*/queues/*/tasks/*}:renewLease:\001*\332A!na" + + "me,schedule_time,lease_duration\022\304\001\n\013Canc" + + "elLease\022..google.cloud.tasks.v2beta2.Can" + + "celLeaseRequest\032 .google.cloud.tasks.v2b" + + "eta2.Task\"c\202\323\344\223\002H\"C/v2beta2/{name=projec" + + "ts/*/locations/*/queues/*/tasks/*}:cance" + + "lLease:\001*\332A\022name,schedule_time\022\246\001\n\007RunTa" + + "sk\022*.google.cloud.tasks.v2beta2.RunTaskR" + + "equest\032 .google.cloud.tasks.v2beta2.Task" + + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + + "M\312A\031cloudtasks.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB|" + + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" + + "asksProtoP\001Z?google.golang.org/genproto/" + + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" + + "ASKSb\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.tasks.v2beta2.QueueProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor, + new java.lang.String[] { + "Queues", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor, + new java.lang.String[] { + "Name", "ReadMask", + }); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor, + new java.lang.String[] { + "Parent", "Queue", + }); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor, + new java.lang.String[] { + "Queue", "UpdateMask", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "ResponseView", "PageSize", "PageToken", + }); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", "NextPageToken", + }); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor, + new java.lang.String[] { + "Parent", "Task", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor, + new java.lang.String[] { + "Parent", "MaxTasks", "LeaseDuration", "ResponseView", "Filter", + }); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor, + new java.lang.String[] { + "Tasks", + }); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AcknowledgeTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", + }); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "LeaseDuration", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_CancelLeaseRequest_descriptor, + new java.lang.String[] { + "Name", "ScheduleTime", "ResponseView", + }); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor, + new java.lang.String[] { + "Name", "ResponseView", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.QueueProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TaskProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java index 7a6c7007..2fff1143 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateQueueRequest other = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta2.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateQueueRequest} */ - 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.tasks.v2beta2.CreateQueueRequest) com.google.cloud.tasks.v2beta2.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta2.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateQueueRequest result = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta2.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta2.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta2.CreateQueueRequest 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.tasks.v2beta2.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta2.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java index f06e93f5..9676f059 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java index 5486174c..5b08ffe3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta2.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta2.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.CreateTaskRequest other = (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta2.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta2.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.CreateTaskRequest} */ - 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.tasks.v2beta2.CreateTaskRequest) com.google.cloud.tasks.v2beta2.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta2.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.CreateTaskRequest result = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta2.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta2.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta2.CreateTaskRequest 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.tasks.v2beta2.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta2.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta2.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta2.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta2.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta2.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta2.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta2.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java index d08c4552..efb3f667 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta2.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java index a7ff0f78..be30b05b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteQueueRequest} */ - 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.tasks.v2beta2.DeleteQueueRequest) com.google.cloud.tasks.v2beta2.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta2.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta2.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.DeleteQueueRequest 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.tasks.v2beta2.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta2.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..92e8ff23 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java index 470736a3..d8cdf272 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta2.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta2.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.DeleteTaskRequest}
    */
-  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.tasks.v2beta2.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta2.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta2.DeleteTaskRequest 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.tasks.v2beta2.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta2.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..f57510e9 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java index 3c31bbcb..098da970 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetQueueRequest other = (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta2.GetQueueRequest other = + (com.google.cloud.tasks.v2beta2.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.GetQueueRequest} */ - 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.tasks.v2beta2.GetQueueRequest) com.google.cloud.tasks.v2beta2.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetQueueRequest.class, com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetQueueRequest.class, + com.google.cloud.tasks.v2beta2.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetQueueRequest result = new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); + com.google.cloud.tasks.v2beta2.GetQueueRequest result = + new com.google.cloud.tasks.v2beta2.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta2.GetQueueRequest 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.tasks.v2beta2.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetQueueRequest) private static final com.google.cloud.tasks.v2beta2.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java index d0acb43e..8a94e8ad 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java index 47fe15e9..555bd07a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta2.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.GetTaskRequest other = (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta2.GetTaskRequest other = + (com.google.cloud.tasks.v2beta2.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) com.google.cloud.tasks.v2beta2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.GetTaskRequest.class, com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta2.GetTaskRequest.class, + com.google.cloud.tasks.v2beta2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta2.GetTaskRequest result = new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); + com.google.cloud.tasks.v2beta2.GetTaskRequest result = + new com.google.cloud.tasks.v2beta2.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.GetTaskRequest) private static final com.google.cloud.tasks.v2beta2.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java index 24915aa1..627e5389 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java similarity index 68% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java index abca6176..d06ae3b1 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -64,6 +92,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -72,6 +102,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -112,7 +152,6 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,55 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,4 +240,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta2.HttpMethod) } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java index 6aa2dbff..baf42571 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ -public final class LeaseTasksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksRequest) LeaseTasksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksRequest.newBuilder() to construct. private LeaseTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksRequest() { parent_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ private LeaseTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private LeaseTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - maxTasks_ = input.readInt32(); - break; - } - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (leaseDuration_ != null) { - subBuilder = leaseDuration_.toBuilder(); + parent_ = s; + break; } - leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(leaseDuration_); - leaseDuration_ = subBuilder.buildPartial(); + case 16: + { + maxTasks_ = input.readInt32(); + break; } + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (leaseDuration_ != null) { + subBuilder = leaseDuration_.toBuilder(); + } + leaseDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaseDuration_); + leaseDuration_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private LeaseTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int MAX_TASKS_FIELD_NUMBER = 2; private int maxTasks_; /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -187,6 +220,7 @@ public java.lang.String getParent() {
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -197,6 +231,8 @@ public int getMaxTasks() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -215,7 +251,9 @@ public int getMaxTasks() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -223,6 +261,8 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -241,14 +281,20 @@ public boolean hasLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -267,7 +313,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -277,6 +324,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -291,12 +340,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -311,17 +364,22 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -347,6 +405,7 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -355,14 +414,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -388,16 +448,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -406,6 +465,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +477,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -447,16 +506,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (maxTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTasks_); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -469,25 +525,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.tasks.v2beta2.LeaseTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksRequest other = + (com.google.cloud.tasks.v2beta2.LeaseTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getMaxTasks() - != other.getMaxTasks()) return false; + if (!getParent().equals(other.getParent())) return false; + if (getMaxTasks() != other.getMaxTasks()) return false; if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -516,118 +569,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest 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 leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksRequest} */ - 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.tasks.v2beta2.LeaseTasksRequest) com.google.cloud.tasks.v2beta2.LeaseTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.class, + com.google.cloud.tasks.v2beta2.LeaseTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksRequest.newBuilder() @@ -635,16 +697,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +727,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksRequest_descriptor; } @java.lang.Override @@ -687,7 +748,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); + com.google.cloud.tasks.v2beta2.LeaseTasksRequest result = + new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(this); result.parent_ = parent_; result.maxTasks_ = maxTasks_; if (leaseDurationBuilder_ == null) { @@ -705,38 +767,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksRequest 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.tasks.v2beta2.LeaseTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -744,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -793,19 +857,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -814,21 +882,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -836,64 +907,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int maxTasks_ ; + private int maxTasks_; /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -905,6 +991,7 @@ public Builder setParentBytes(
      * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ @java.lang.Override @@ -912,6 +999,8 @@ public int getMaxTasks() { return maxTasks_; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -923,16 +1012,19 @@ public int getMaxTasks() {
      * 
* * int32 max_tasks = 2; + * * @param value The maxTasks to set. * @return This builder for chaining. */ public Builder setMaxTasks(int value) { - + maxTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tasks to lease.
      * The system will make a best effort to return as close to as
@@ -944,10 +1036,11 @@ public Builder setMaxTasks(int value) {
      * 
* * int32 max_tasks = 2; + * * @return This builder for chaining. */ public Builder clearMaxTasks() { - + maxTasks_ = 0; onChanged(); return this; @@ -955,8 +1048,13 @@ public Builder clearMaxTasks() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -975,13 +1073,17 @@ public Builder clearMaxTasks() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1000,17 +1102,23 @@ public boolean hasLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1029,7 +1137,8 @@ public com.google.protobuf.Duration getLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,6 +1154,8 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1063,10 +1174,10 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1077,6 +1188,8 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1095,13 +1208,16 @@ public Builder setLeaseDuration(
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1113,6 +1229,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1131,7 +1249,8 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1145,6 +1264,8 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1163,14 +1284,17 @@ public Builder clearLeaseDuration() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1189,17 +1313,21 @@ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The duration of the lease.
      * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -1218,17 +1346,21 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1236,6 +1368,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1250,12 +1384,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1270,16 +1408,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1294,15 +1435,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1317,6 +1462,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1324,12 +1470,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1344,10 +1492,11 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; @@ -1355,6 +1504,8 @@ public Builder clearResponseView() { private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1380,13 +1531,13 @@ public Builder clearResponseView() {
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -1395,6 +1546,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1420,15 +1573,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -1436,6 +1588,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1461,20 +1615,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1500,15 +1656,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of tasks to lease.
      * When `filter` is set to `tag=<my-tag>` then the
@@ -1534,23 +1693,23 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1560,12 +1719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksRequest) private static final com.google.cloud.tasks.v2beta2.LeaseTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksRequest(); } @@ -1574,16 +1733,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1598,6 +1757,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java index e8ee7da0..8d97536d 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksRequestOrBuilder extends +public interface LeaseTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of tasks to lease.
    * The system will make a best effort to return as close to as
@@ -41,11 +68,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * int32 max_tasks = 2; + * * @return The maxTasks. */ int getMaxTasks(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -64,11 +94,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -87,11 +121,15 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The duration of the lease.
    * Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
@@ -110,11 +148,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -129,10 +170,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -147,11 +191,14 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -177,10 +224,13 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of tasks to lease.
    * When `filter` is set to `tag=<my-tag>` then the
@@ -206,8 +256,8 @@ public interface LeaseTasksRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java similarity index 72% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java index 785a15f5..db622add 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ -public final class LeaseTasksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LeaseTasksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.LeaseTasksResponse) LeaseTasksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LeaseTasksResponse.newBuilder() to construct. private LeaseTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LeaseTasksResponse() { tasks_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LeaseTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LeaseTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,24 @@ private LeaseTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +96,7 @@ private LeaseTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -87,22 +105,27 @@ private LeaseTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The leased tasks.
    * 
@@ -114,6 +137,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -121,11 +146,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The leased tasks.
    * 
@@ -137,6 +164,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The leased tasks.
    * 
@@ -148,6 +177,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The leased tasks.
    * 
@@ -155,12 +186,12 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { return tasks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -187,8 +217,7 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +227,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.tasks.v2beta2.LeaseTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; + com.google.cloud.tasks.v2beta2.LeaseTasksResponse other = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) obj; - if (!getTasksList() - .equals(other.getTasksList())) return false; + if (!getTasksList().equals(other.getTasksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +257,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.LeaseTasksResponse} */ - 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.tasks.v2beta2.LeaseTasksResponse) com.google.cloud.tasks.v2beta2.LeaseTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.class, + com.google.cloud.tasks.v2beta2.LeaseTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.LeaseTasksResponse.newBuilder() @@ -346,17 +384,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_LeaseTasksResponse_descriptor; } @java.lang.Override @@ -391,7 +429,8 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.LeaseTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); + com.google.cloud.tasks.v2beta2.LeaseTasksResponse result = + new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +449,39 @@ public com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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.tasks.v2beta2.LeaseTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.LeaseTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.LeaseTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -468,9 +509,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.LeaseTasksResponse 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_); } @@ -495,7 +537,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.LeaseTasksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +547,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The leased tasks.
      * 
@@ -533,6 +583,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -547,6 +599,8 @@ public int getTasksCount() { } } /** + * + * *
      * The leased tasks.
      * 
@@ -561,14 +615,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +637,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -600,6 +657,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -620,14 +679,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,14 +701,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -659,6 +720,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -677,6 +740,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -687,8 +752,7 @@ 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); @@ -696,6 +760,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -713,6 +779,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The leased tasks.
      * 
@@ -730,39 +798,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +843,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The leased tasks.
      * 
@@ -777,49 +852,54 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The leased tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; } + @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); } @@ -829,12 +909,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.LeaseTasksResponse) private static final com.google.cloud.tasks.v2beta2.LeaseTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.LeaseTasksResponse(); } @@ -843,16 +923,16 @@ public static com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LeaseTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LeaseTasksResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaseTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaseTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.LeaseTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java index 9fd3c606..be8e88b3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LeaseTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface LeaseTasksResponseOrBuilder extends +public interface LeaseTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.LeaseTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The leased tasks.
    * 
@@ -25,6 +44,8 @@ public interface LeaseTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The leased tasks.
    * 
@@ -33,21 +54,23 @@ public interface LeaseTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The leased tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java index ca1d881d..e54a748b 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta2.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesRequest other = (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta2.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta2.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesRequest} */ - 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.tasks.v2beta2.ListQueuesRequest) com.google.cloud.tasks.v2beta2.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta2.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesRequest result = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta2.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta2.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesRequest 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.tasks.v2beta2.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta2.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java index f3767022..167f4ec8 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java index c34490bd..b939f1fb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListQueuesResponse other = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta2.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ListQueuesResponse} */ - 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.tasks.v2beta2.ListQueuesResponse) com.google.cloud.tasks.v2beta2.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta2.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListQueuesResponse result = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta2.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta2.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta2.ListQueuesResponse 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.tasks.v2beta2.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta2.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta2.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta2.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta2.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java index 248518f9..98afbafd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta2.Queue queues = 1; */ - com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java index bb5156d1..7c714d8e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 32: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksRequest other = (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta2.ListTasksRequest other = + (com.google.cloud.tasks.v2beta2.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) com.google.cloud.tasks.v2beta2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksRequest.class, com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksRequest.class, + com.google.cloud.tasks.v2beta2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksRequest result = new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); + com.google.cloud.tasks.v2beta2.ListTasksRequest result = + new com.google.cloud.tasks.v2beta2.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksRequest) private static final com.google.cloud.tasks.v2beta2.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java index a9b7b18e..29a8834e 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java index 1ab20232..02a9e4ef 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta2.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ListTasksResponse other = (com.google.cloud.tasks.v2beta2.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta2.ListTasksResponse other = + (com.google.cloud.tasks.v2beta2.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) com.google.cloud.tasks.v2beta2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ListTasksResponse.class, com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta2.ListTasksResponse.class, + com.google.cloud.tasks.v2beta2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta2.ListTasksResponse result = new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); + com.google.cloud.tasks.v2beta2.ListTasksResponse result = + new com.google.cloud.tasks.v2beta2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta2.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta2.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta2.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder> + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Task, com.google.cloud.tasks.v2beta2.Task.Builder, com.google.cloud.tasks.v2beta2.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Task, + com.google.cloud.tasks.v2beta2.Task.Builder, + com.google.cloud.tasks.v2beta2.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta2.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ListTasksResponse) private static final com.google.cloud.tasks.v2beta2.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java index 8df40b84..65d2e1d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta2.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta2.Task tasks = 1; */ - com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta2.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/LocationName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java index 7c934fac..d0889429 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PauseQueueRequest other = (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta2.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PauseQueueRequest} */ - 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.tasks.v2beta2.PauseQueueRequest) com.google.cloud.tasks.v2beta2.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta2.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PauseQueueRequest result = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta2.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta2.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PauseQueueRequest 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.tasks.v2beta2.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta2.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..a65e03f3 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java similarity index 77% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java index 3ad4c05d..68114f46 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * The pull message contains data that can be used by the caller of
  * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -29,16 +47,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,24 +74,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -82,34 +100,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.TargetProto
+        .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta2.PullMessage.class,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -120,6 +143,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -139,6 +164,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -147,14 +173,15 @@ 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; } } /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -174,16 +201,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -192,6 +218,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -221,8 +247,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -235,17 +260,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullMessage other = (com.google.cloud.tasks.v2beta2.PullMessage) obj; + com.google.cloud.tasks.v2beta2.PullMessage other = + (com.google.cloud.tasks.v2beta2.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,97 +290,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage 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 pull message contains data that can be used by the caller of
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
@@ -366,21 +397,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.PullMessage}
    */
-  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.tasks.v2beta2.PullMessage)
       com.google.cloud.tasks.v2beta2.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.PullMessage.class, com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta2.PullMessage.class,
+              com.google.cloud.tasks.v2beta2.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.PullMessage.newBuilder()
@@ -388,16 +421,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.TargetProto
+          .internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +462,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta2.PullMessage result = new com.google.cloud.tasks.v2beta2.PullMessage(this);
+      com.google.cloud.tasks.v2beta2.PullMessage result =
+          new com.google.cloud.tasks.v2beta2.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -441,38 +474,39 @@ public com.google.cloud.tasks.v2beta2.PullMessage 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.tasks.v2beta2.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,11 +553,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -531,33 +568,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -565,6 +608,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -584,13 +629,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -599,6 +644,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -618,15 +665,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -634,6 +680,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -653,20 +701,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -686,15 +736,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The task's tag.
      * Tags allow similar tasks to be processed in a batch. If you label
@@ -714,23 +767,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -740,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullMessage) private static final com.google.cloud.tasks.v2beta2.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullMessage(); } @@ -754,16 +807,16 @@ public static com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java index 9a08cc45..3e9a9796 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -37,10 +58,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The task's tag.
    * Tags allow similar tasks to be processed in a batch. If you label
@@ -60,8 +84,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java similarity index 66% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java index c431c6ad..ac577696 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTarget.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/target.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Pull target.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ -public final class PullTarget extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PullTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PullTarget) PullTargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PullTarget.newBuilder() to construct. private PullTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PullTarget() { - } + + private PullTarget() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PullTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PullTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private PullTarget( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private PullTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ 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.tasks.v2beta2.PullTarget)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PullTarget other = (com.google.cloud.tasks.v2beta2.PullTarget) obj; + com.google.cloud.tasks.v2beta2.PullTarget other = + (com.google.cloud.tasks.v2beta2.PullTarget) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -140,118 +159,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PullTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PullTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget 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; } /** + * + * *
    * Pull target.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PullTarget} */ - 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.tasks.v2beta2.PullTarget) com.google.cloud.tasks.v2beta2.PullTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PullTarget.class, com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); + com.google.cloud.tasks.v2beta2.PullTarget.class, + com.google.cloud.tasks.v2beta2.PullTarget.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PullTarget.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TargetProto.internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TargetProto + .internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget buildPartial() { - com.google.cloud.tasks.v2beta2.PullTarget result = new com.google.cloud.tasks.v2beta2.PullTarget(this); + com.google.cloud.tasks.v2beta2.PullTarget result = + new com.google.cloud.tasks.v2beta2.PullTarget(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.tasks.v2beta2.PullTarget 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.tasks.v2beta2.PullTarget) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) other); } else { super.mergeFrom(other); return this; @@ -374,9 +403,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PullTarget) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PullTarget) private static final com.google.cloud.tasks.v2beta2.PullTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PullTarget(); } @@ -400,16 +429,16 @@ public static com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +453,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PullTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java new file mode 100644 index 00000000..86bed8df --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PullTargetOrBuilder.java @@ -0,0 +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/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PullTargetOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PullTarget) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java index 568db342..ffb1a8e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta2.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.PurgeQueueRequest} */ - 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.tasks.v2beta2.PurgeQueueRequest) com.google.cloud.tasks.v2beta2.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta2.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta2.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.PurgeQueueRequest 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.tasks.v2beta2.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta2.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..395d587e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 5c513533..31f4d38a 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,131 +73,155 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              name_ = s;
+              break;
             }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 3;
+              break;
             }
-            targetTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
-            if (targetTypeCase_ == 4) {
-              subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
-            }
-            targetType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
-              targetType_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta2.PullTarget.Builder subBuilder = null;
+              if (targetTypeCase_ == 4) {
+                subBuilder = ((com.google.cloud.tasks.v2beta2.PullTarget) targetType_).toBuilder();
+              }
+              targetType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.PullTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullTarget) targetType_);
+                targetType_ = subBuilder.buildPartial();
+              }
+              targetTypeCase_ = 4;
+              break;
             }
-            targetTypeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta2.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta2.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta2.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 130:
+            {
+              com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
-            }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 130: {
-            com.google.cloud.tasks.v2beta2.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta2.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -188,36 +229,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta2.Queue.class,
+            com.google.cloud.tasks.v2beta2.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta2.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -226,6 +272,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -240,6 +288,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -252,6 +302,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -275,6 +327,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -283,6 +337,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -297,6 +353,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +367,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -329,7 +389,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -354,50 +413,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta2.Queue.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;
@@ -416,13 +476,16 @@ private State(int value) {
 
   private int targetTypeCase_ = 0;
   private java.lang.Object targetType_;
+
   public enum TargetTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_TARGET(3),
     PULL_TARGET(4),
     TARGETTYPE_NOT_SET(0);
     private final int value;
+
     private TargetTypeCase(int value) {
       this.value = value;
     }
@@ -438,26 +501,31 @@ public static TargetTypeCase valueOf(int value) {
 
     public static TargetTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_TARGET;
-        case 4: return PULL_TARGET;
-        case 0: return TARGETTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_TARGET;
+        case 4:
+          return PULL_TARGET;
+        case 0:
+          return TARGETTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetTypeCase
-  getTargetTypeCase() {
-    return TargetTypeCase.forNumber(
-        targetTypeCase_);
+  public TargetTypeCase getTargetTypeCase() {
+    return TargetTypeCase.forNumber(targetTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -478,6 +546,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -486,14 +555,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -514,16 +584,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -533,12 +602,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -546,22 +618,27 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -570,21 +647,25 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
    * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+      getAppEngineHttpTargetOrBuilder() {
     if (targetTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
   }
 
   public static final int PULL_TARGET_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -592,22 +673,27 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { if (targetTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; + return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_; } return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance(); } /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -618,7 +704,7 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder() {
     if (targetTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
+      return (com.google.cloud.tasks.v2beta2.PullTarget) targetType_;
     }
     return com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
   }
@@ -626,6 +712,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
   public static final int RATE_LIMITS_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -643,6 +731,7 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -650,6 +739,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -667,13 +758,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -700,6 +796,8 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -713,6 +811,7 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -720,6 +819,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -733,13 +834,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -762,6 +868,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 7;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -772,12 +880,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -788,17 +900,22 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -811,6 +928,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -818,6 +936,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -830,6 +950,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ @java.lang.Override @@ -837,6 +958,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -858,6 +981,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -872,6 +997,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -879,6 +1005,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -893,6 +1021,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ @java.lang.Override @@ -900,6 +1029,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -923,6 +1054,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 10;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -935,6 +1068,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -942,6 +1076,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -954,13 +1090,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -982,13 +1123,18 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STATS_FIELD_NUMBER = 16;
   private com.google.cloud.tasks.v2beta2.QueueStats stats_;
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -996,13 +1142,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1010,13 +1161,17 @@ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1024,6 +1179,7 @@ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1035,8 +1191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1080,40 +1235,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_); } if (targetTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullTarget) targetType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta2.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTombstoneTtl()); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1123,55 +1273,46 @@ 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.tasks.v2beta2.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Queue other = (com.google.cloud.tasks.v2beta2.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 3: - if (!getAppEngineHttpTarget() - .equals(other.getAppEngineHttpTarget())) return false; + if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false; break; case 4: - if (!getPullTarget() - .equals(other.getPullTarget())) return false; + if (!getPullTarget().equals(other.getPullTarget())) return false; break; case 0: default: @@ -1232,97 +1373,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1331,21 +1478,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.Queue}
    */
-  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.tasks.v2beta2.Queue)
       com.google.cloud.tasks.v2beta2.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.Queue.class, com.google.cloud.tasks.v2beta2.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta2.Queue.class,
+              com.google.cloud.tasks.v2beta2.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.Queue.newBuilder()
@@ -1353,16 +1502,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1412,9 +1560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1489,38 +1637,39 @@ public com.google.cloud.tasks.v2beta2.Queue 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.tasks.v2beta2.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1555,17 +1704,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getTargetTypeCase()) {
-        case APP_ENGINE_HTTP_TARGET: {
-          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-          break;
-        }
-        case PULL_TARGET: {
-          mergePullTarget(other.getPullTarget());
-          break;
-        }
-        case TARGETTYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_TARGET:
+          {
+            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+            break;
+          }
+        case PULL_TARGET:
+          {
+            mergePullTarget(other.getPullTarget());
+            break;
+          }
+        case TARGETTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1595,12 +1747,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetTypeCase_ = 0;
     private java.lang.Object targetType_;
-    public TargetTypeCase
-        getTargetTypeCase() {
-      return TargetTypeCase.forNumber(
-          targetTypeCase_);
+
+    public TargetTypeCase getTargetTypeCase() {
+      return TargetTypeCase.forNumber(targetTypeCase_);
     }
 
     public Builder clearTargetType() {
@@ -1610,9 +1762,10 @@ public Builder clearTargetType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1633,13 +1786,13 @@ public Builder clearTargetType() {
      * 
* * 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; @@ -1648,6 +1801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1668,15 +1823,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1684,6 +1838,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1704,20 +1860,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1738,15 +1896,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1767,30 +1928,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, + com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> + appEngineHttpTargetBuilder_; /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -1798,12 +1965,15 @@ public boolean hasAppEngineHttpTarget() { return targetTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -1821,6 +1991,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget } } /** + * + * *
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1828,7 +2000,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder setAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1842,6 +2015,8 @@ public Builder setAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHt
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1861,6 +2036,8 @@ public Builder setAppEngineHttpTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1868,12 +2045,17 @@ public Builder setAppEngineHttpTarget(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
+    public Builder mergeAppEngineHttpTarget(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget value) {
       if (appEngineHttpTargetBuilder_ == null) {
-        if (targetTypeCase_ == 3 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 3
+            && targetType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -1889,6 +2071,8 @@ public Builder mergeAppEngineHttpTarget(com.google.cloud.tasks.v2beta2.AppEngine
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1913,6 +2097,8 @@ public Builder clearAppEngineHttpTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1920,10 +2106,13 @@ public Builder clearAppEngineHttpTarget() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder
+        getAppEngineHttpTargetBuilder() {
       return getAppEngineHttpTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1932,7 +2121,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder getAppEngineHt
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder
+        getAppEngineHttpTargetOrBuilder() {
       if ((targetTypeCase_ == 3) && (appEngineHttpTargetBuilder_ != null)) {
         return appEngineHttpTargetBuilder_.getMessageOrBuilder();
       } else {
@@ -1943,6 +2133,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP target.
      * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -1951,33 +2143,45 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>
         getAppEngineHttpTargetFieldBuilder() {
       if (appEngineHttpTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 3)) {
           targetType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.getDefaultInstance();
         }
-        appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpTarget, com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
+        appEngineHttpTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTarget.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpTargetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> pullTargetBuilder_;
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
+        pullTargetBuilder_;
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ @java.lang.Override @@ -1985,12 +2189,15 @@ public boolean hasPullTarget() { return targetTypeCase_ == 4; } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
      * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ @java.lang.Override @@ -2008,6 +2215,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget getPullTarget() { } } /** + * + * *
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2029,6 +2238,8 @@ public Builder setPullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2048,6 +2259,8 @@ public Builder setPullTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2057,10 +2270,13 @@ public Builder setPullTarget(
      */
     public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value) {
       if (pullTargetBuilder_ == null) {
-        if (targetTypeCase_ == 4 &&
-            targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
-          targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.newBuilder((com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
-              .mergeFrom(value).buildPartial();
+        if (targetTypeCase_ == 4
+            && targetType_ != com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance()) {
+          targetType_ =
+              com.google.cloud.tasks.v2beta2.PullTarget.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullTarget) targetType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           targetType_ = value;
         }
@@ -2076,6 +2292,8 @@ public Builder mergePullTarget(com.google.cloud.tasks.v2beta2.PullTarget value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2100,6 +2318,8 @@ public Builder clearPullTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2111,6 +2331,8 @@ public com.google.cloud.tasks.v2beta2.PullTarget.Builder getPullTargetBuilder()
       return getPullTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2130,6 +2352,8 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Pull target.
      * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -2138,28 +2362,39 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullTarget,
+            com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+            com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>
         getPullTargetFieldBuilder() {
       if (pullTargetBuilder_ == null) {
         if (!(targetTypeCase_ == 4)) {
           targetType_ = com.google.cloud.tasks.v2beta2.PullTarget.getDefaultInstance();
         }
-        pullTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullTarget, com.google.cloud.tasks.v2beta2.PullTarget.Builder, com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
+        pullTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullTarget,
+                com.google.cloud.tasks.v2beta2.PullTarget.Builder,
+                com.google.cloud.tasks.v2beta2.PullTargetOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullTarget) targetType_,
                 getParentForChildren(),
                 isClean());
         targetType_ = null;
       }
       targetTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullTargetBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta2.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2177,12 +2412,15 @@ public com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2200,16 +2438,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta2.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2242,6 +2485,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2272,6 +2517,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2294,7 +2541,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2306,6 +2555,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta2.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2336,6 +2587,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2355,11 +2608,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     public com.google.cloud.tasks.v2beta2.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2382,11 +2637,14 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta2.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -2406,14 +2664,17 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RateLimits,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RateLimits, com.google.cloud.tasks.v2beta2.RateLimits.Builder, com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RateLimits,
+                com.google.cloud.tasks.v2beta2.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2421,8 +2682,13 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta2.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2436,12 +2702,15 @@ public com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2455,16 +2724,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2493,6 +2767,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2519,6 +2795,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,7 +2815,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2549,6 +2829,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta2.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2575,6 +2857,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2590,11 +2874,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     public com.google.cloud.tasks.v2beta2.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2613,11 +2899,14 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta2.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2633,14 +2922,17 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta2.RetryConfig,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.RetryConfig, com.google.cloud.tasks.v2beta2.RetryConfig.Builder, com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.RetryConfig,
+                com.google.cloud.tasks.v2beta2.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2648,6 +2940,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2658,12 +2952,16 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2674,16 +2972,19 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2694,15 +2995,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Queue.State result = com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta2.Queue.State result = + com.google.cloud.tasks.v2beta2.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta2.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2713,6 +3018,7 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2720,12 +3026,14 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2736,10 +3044,11 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2747,8 +3056,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2761,12 +3075,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2779,6 +3096,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2789,6 +3107,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2816,6 +3136,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2829,8 +3151,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 8;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2841,6 +3162,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2858,7 +3181,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2870,6 +3193,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2895,6 +3220,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2909,11 +3236,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2931,11 +3260,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -2950,14 +3280,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 8;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -2965,8 +3298,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -2981,12 +3319,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3001,6 +3342,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3011,6 +3353,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3040,6 +3384,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3055,8 +3401,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 9;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3067,6 +3412,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3086,7 +3433,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3098,6 +3445,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3125,6 +3474,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,11 +3492,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3165,11 +3518,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3186,14 +3540,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 9;
      */
     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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3201,8 +3558,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3215,12 +3577,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3233,16 +3598,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3270,6 +3640,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3283,8 +3655,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3295,6 +3666,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3312,7 +3685,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3324,6 +3699,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3349,6 +3726,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3363,11 +3742,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3385,11 +3766,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or completed, the task's tombstone is
@@ -3404,14 +3788,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 10;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3419,45 +3806,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.QueueStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> statsBuilder_;
+            com.google.cloud.tasks.v2beta2.QueueStats,
+            com.google.cloud.tasks.v2beta2.QueueStats.Builder,
+            com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>
+        statsBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta2.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { @@ -3473,16 +3879,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta2.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3493,19 +3902,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3517,13 +3932,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta2.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3537,61 +3956,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta2.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.QueueStats, com.google.cloud.tasks.v2beta2.QueueStats.Builder, com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.QueueStats, + com.google.cloud.tasks.v2beta2.QueueStats.Builder, + com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3601,12 +4036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Queue) private static final com.google.cloud.tasks.v2beta2.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Queue(); } @@ -3615,16 +4050,16 @@ public static com.google.cloud.tasks.v2beta2.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3639,6 +4074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java index 11cda3ea..15bb0343 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,32 +73,40 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpTarget app_engine_http_target = 3; + * * @return The appEngineHttpTarget. */ com.google.cloud.tasks.v2beta2.AppEngineHttpTarget getAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
@@ -88,26 +117,34 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return Whether the pullTarget field is set. */ boolean hasPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
    * 
* * .google.cloud.tasks.v2beta2.PullTarget pull_target = 4; + * * @return The pullTarget. */ com.google.cloud.tasks.v2beta2.PullTarget getPullTarget(); /** + * + * *
    * Pull target.
    * A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
@@ -118,6 +155,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullTargetOrBuilder getPullTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -135,10 +174,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -156,10 +198,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RateLimits rate_limits = 5; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta2.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
@@ -181,6 +226,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -194,10 +241,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -211,10 +261,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.RetryConfig retry_config = 6; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta2.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -232,6 +285,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -242,10 +297,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -256,11 +314,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Queue.State state = 7; + * * @return The state. */ com.google.cloud.tasks.v2beta2.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -273,10 +334,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -289,10 +353,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 8; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
@@ -309,6 +376,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -323,10 +392,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -341,10 +413,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 9; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -363,6 +438,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -375,10 +452,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -391,10 +471,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 10; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or completed, the task's tombstone is
@@ -411,35 +494,49 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta2.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta2.QueueStats stats = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java new file mode 100644 index 00000000..39c576fa --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -0,0 +1,178 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/queue.proto + +package com.google.cloud.tasks.v2beta2; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta2_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_QueueStats_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/tasks/v2beta2/queue.proto" + + "\022\032google.cloud.tasks.v2beta2\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta2/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\332\005\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022Q\n\026app_engine_http_target\030\003 \001(\013" + + "2/.google.cloud.tasks.v2beta2.AppEngineH" + + "ttpTargetH\000\022=\n\013pull_target\030\004 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.PullTargetH\000\022;\n\013ra" + + "te_limits\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta2.RateLimits\022=\n\014retry_config\030\006 \001(\0132\'." + + "google.cloud.tasks.v2beta2.RetryConfig\0226" + + "\n\005state\030\007 \001(\0162\'.google.cloud.tasks.v2bet" + + "a2.Queue.State\022.\n\npurge_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022+\n\010task_ttl\030\t \001(\013" + + "2\031.google.protobuf.Duration\0220\n\rtombstone" + + "_ttl\030\n \001(\0132\031.google.protobuf.Duration\022:\n" + + "\005stats\030\020 \001(\0132&.google.cloud.tasks.v2beta" + + "2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" + + "SABLED\020\003:\\\352AY\n\037cloudtasks.googleapis.com" + + "/Queue\0226projects/{project}/locations/{lo" + + "cation}/queues/{queue}B\r\n\013target_type\"k\n" + + "\nRateLimits\022\'\n\037max_tasks_dispatched_per_" + + "second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024" + + "max_concurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConf" + + "ig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_" + + "attempts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003" + + " \001(\0132\031.google.protobuf.Duration\022.\n\013min_b" + + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" + + ".\n\013max_backoff\030\005 \001(\0132\031.google.protobuf.D" + + "uration\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_at" + + "tempts\"\350\001\n\nQueueStats\022\030\n\013tasks_count\030\001 \001" + + "(\003B\003\340A\003\022F\n\035oldest_estimated_arrival_time" + + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\'\n\032executed_last_minute_count\030\003 \001(\003B\003\340A\003" + + "\022(\n\033concurrent_dispatches_count\030\004 \001(\003B\003\340" + + "A\003\022%\n\030effective_execution_rate\030\005 \001(\001B\003\340A" + + "\003Bo\n\036com.google.cloud.tasks.v2beta2B\nQue" + + "ueProtoP\001Z?google.golang.org/genproto/go" + + "ogleapis/cloud/tasks/v2beta2;tasksb\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpTarget", + "PullTarget", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "Stats", + "TargetType", + }); + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor, + new java.lang.String[] { + "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks", + }); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", + "UnlimitedAttempts", + "MaxRetryDuration", + "MinBackoff", + "MaxBackoff", + "MaxDoublings", + "NumAttempts", + }); + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java index f6138f49..851774bb 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta2.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.QueueStats other = (com.google.cloud.tasks.v2beta2.QueueStats) obj; + com.google.cloud.tasks.v2beta2.QueueStats other = + (com.google.cloud.tasks.v2beta2.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.QueueStats} */ - 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.tasks.v2beta2.QueueStats) com.google.cloud.tasks.v2beta2.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.QueueStats.class, com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta2.QueueStats.class, + com.google.cloud.tasks.v2beta2.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.QueueProto + .internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta2.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta2.QueueStats result = new com.google.cloud.tasks.v2beta2.QueueStats(this); + com.google.cloud.tasks.v2beta2.QueueStats result = + new com.google.cloud.tasks.v2beta2.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta2.QueueStats 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.tasks.v2beta2.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.QueueStats) private static final com.google.cloud.tasks.v2beta2.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java index 877422f2..d65aa3fd 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java similarity index 81% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java index 2bb7a61a..ba22e1ca 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxTasksDispatchedPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentTasks_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxTasksDispatchedPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentTasks_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta2.RateLimits.class,
+            com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
   }
 
   public static final int MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER = 1;
   private double maxTasksDispatchedPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -123,6 +143,7 @@ private RateLimits(
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -133,6 +154,8 @@ public double getMaxTasksDispatchedPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -164,6 +187,7 @@ public double getMaxTasksDispatchedPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -174,6 +198,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_TASKS_FIELD_NUMBER = 3; private int maxConcurrentTasks_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -191,6 +217,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -199,6 +226,7 @@ public int getMaxConcurrentTasks() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { output.writeDouble(1, maxTasksDispatchedPerSecond_); } @@ -231,16 +258,14 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxTasksDispatchedPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxTasksDispatchedPerSecond_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxTasksDispatchedPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentTasks_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentTasks_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentTasks_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -250,20 +275,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RateLimits other = (com.google.cloud.tasks.v2beta2.RateLimits) obj; + com.google.cloud.tasks.v2beta2.RateLimits other = + (com.google.cloud.tasks.v2beta2.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxTasksDispatchedPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentTasks() - != other.getMaxConcurrentTasks()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxTasksDispatchedPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentTasks() != other.getMaxConcurrentTasks()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -276,8 +299,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_TASKS_DISPATCHED_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxTasksDispatchedPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_TASKS_FIELD_NUMBER; @@ -287,97 +312,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -388,21 +420,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RateLimits}
    */
-  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.tasks.v2beta2.RateLimits)
       com.google.cloud.tasks.v2beta2.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RateLimits.class, com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta2.RateLimits.class,
+              com.google.cloud.tasks.v2beta2.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RateLimits.newBuilder()
@@ -410,16 +444,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -433,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -454,7 +487,8 @@ public com.google.cloud.tasks.v2beta2.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta2.RateLimits result = new com.google.cloud.tasks.v2beta2.RateLimits(this);
+      com.google.cloud.tasks.v2beta2.RateLimits result =
+          new com.google.cloud.tasks.v2beta2.RateLimits(this);
       result.maxTasksDispatchedPerSecond_ = maxTasksDispatchedPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentTasks_ = maxConcurrentTasks_;
@@ -466,38 +500,39 @@ public com.google.cloud.tasks.v2beta2.RateLimits 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.tasks.v2beta2.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,8 +579,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxTasksDispatchedPerSecond_ ;
+    private double maxTasksDispatchedPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -561,6 +598,7 @@ public Builder mergeFrom(
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ @java.lang.Override @@ -568,6 +606,8 @@ public double getMaxTasksDispatchedPerSecond() { return maxTasksDispatchedPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -583,16 +623,19 @@ public double getMaxTasksDispatchedPerSecond() {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @param value The maxTasksDispatchedPerSecond to set. * @return This builder for chaining. */ public Builder setMaxTasksDispatchedPerSecond(double value) { - + maxTasksDispatchedPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -608,17 +651,20 @@ public Builder setMaxTasksDispatchedPerSecond(double value) {
      * 
* * double max_tasks_dispatched_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxTasksDispatchedPerSecond() { - + maxTasksDispatchedPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -650,6 +696,7 @@ public Builder clearMaxTasksDispatchedPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -657,6 +704,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -688,16 +737,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -729,17 +781,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentTasks_ ; + private int maxConcurrentTasks_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -757,6 +812,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ @java.lang.Override @@ -764,6 +820,8 @@ public int getMaxConcurrentTasks() { return maxConcurrentTasks_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -781,16 +839,19 @@ public int getMaxConcurrentTasks() {
      * 
* * int32 max_concurrent_tasks = 3; + * * @param value The maxConcurrentTasks to set. * @return This builder for chaining. */ public Builder setMaxConcurrentTasks(int value) { - + maxConcurrentTasks_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -808,17 +869,18 @@ public Builder setMaxConcurrentTasks(int value) {
      * 
* * int32 max_concurrent_tasks = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentTasks() { - + maxConcurrentTasks_ = 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); } @@ -828,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RateLimits) private static final com.google.cloud.tasks.v2beta2.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RateLimits(); } @@ -842,16 +904,16 @@ public static com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java similarity index 85% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java index 1e80375a..373ee8d6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -23,11 +41,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_tasks_dispatched_per_second = 1; + * * @return The maxTasksDispatchedPerSecond. */ double getMaxTasksDispatchedPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -59,11 +80,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -81,6 +105,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_tasks = 3; + * * @return The maxConcurrentTasks. */ int getMaxConcurrentTasks(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java index 86c724b4..91ce7c71 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for renewing a lease using
  * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
  */
-public final class RenewLeaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RenewLeaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RenewLeaseRequest)
     RenewLeaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RenewLeaseRequest.newBuilder() to construct.
   private RenewLeaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RenewLeaseRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RenewLeaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenewLeaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RenewLeaseRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,51 +72,57 @@ private RenewLeaseRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (leaseDuration_ != null) {
-              subBuilder = leaseDuration_.toBuilder();
-            }
-            leaseDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(leaseDuration_);
-              leaseDuration_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (leaseDuration_ != null) {
+                subBuilder = leaseDuration_.toBuilder();
+              }
+              leaseDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(leaseDuration_);
+                leaseDuration_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -107,35 +130,42 @@ private RenewLeaseRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+            com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -144,30 +174,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -178,6 +210,8 @@ public java.lang.String getName() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -186,7 +220,9 @@ public java.lang.String getName() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -194,6 +230,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -202,14 +240,20 @@ public boolean hasScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -218,7 +262,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { @@ -228,13 +273,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { public static final int LEASE_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration leaseDuration_; /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ @java.lang.Override @@ -242,27 +291,36 @@ public boolean hasLeaseDuration() { return leaseDuration_ != null; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ @java.lang.Override public com.google.protobuf.Duration getLeaseDuration() { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { @@ -272,6 +330,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 4; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -286,12 +346,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -306,15 +370,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,8 +394,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -353,16 +420,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getScheduleTime()); } if (leaseDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLeaseDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLeaseDuration()); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -372,24 +436,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.tasks.v2beta2.RenewLeaseRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; + com.google.cloud.tasks.v2beta2.RenewLeaseRequest other = + (com.google.cloud.tasks.v2beta2.RenewLeaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasLeaseDuration() != other.hasLeaseDuration()) return false; if (hasLeaseDuration()) { - if (!getLeaseDuration() - .equals(other.getLeaseDuration())) return false; + if (!getLeaseDuration().equals(other.getLeaseDuration())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -420,97 +482,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest 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 renewing a lease using
    * [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
@@ -518,21 +587,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RenewLeaseRequest}
    */
-  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.tasks.v2beta2.RenewLeaseRequest)
       com.google.cloud.tasks.v2beta2.RenewLeaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class, com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.class,
+              com.google.cloud.tasks.v2beta2.RenewLeaseRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RenewLeaseRequest.newBuilder()
@@ -540,16 +611,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +643,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RenewLeaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -594,7 +664,8 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RenewLeaseRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
+      com.google.cloud.tasks.v2beta2.RenewLeaseRequest result =
+          new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(this);
       result.name_ = name_;
       if (scheduleTimeBuilder_ == null) {
         result.scheduleTime_ = scheduleTime_;
@@ -615,38 +686,39 @@ public com.google.cloud.tasks.v2beta2.RenewLeaseRequest 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.tasks.v2beta2.RenewLeaseRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RenewLeaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -654,7 +726,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RenewLeaseRequest other) {
-      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta2.RenewLeaseRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -699,19 +772,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -720,21 +797,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -742,57 +822,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -800,8 +893,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -810,13 +908,17 @@ public Builder setNameBytes(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -825,17 +927,23 @@ public boolean hasScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -844,7 +952,8 @@ public com.google.protobuf.Timestamp getScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { @@ -860,6 +969,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -868,10 +979,10 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setScheduleTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (scheduleTimeBuilder_ == null) { scheduleTime_ = builderForValue.build(); onChanged(); @@ -882,6 +993,8 @@ public Builder setScheduleTime( return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -890,13 +1003,16 @@ public Builder setScheduleTime(
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { if (scheduleTimeBuilder_ == null) { if (scheduleTime_ != null) { scheduleTime_ = - com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(scheduleTime_) + .mergeFrom(value) + .buildPartial(); } else { scheduleTime_ = value; } @@ -908,6 +1024,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -916,7 +1034,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearScheduleTime() { if (scheduleTimeBuilder_ == null) { @@ -930,6 +1049,8 @@ public Builder clearScheduleTime() { return this; } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -938,14 +1059,17 @@ public Builder clearScheduleTime() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() { - + onChanged(); return getScheduleTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -954,17 +1078,21 @@ public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { if (scheduleTimeBuilder_ != null) { return scheduleTimeBuilder_.getMessageOrBuilder(); } else { - return scheduleTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } } /** + * + * *
      * Required. The task's current schedule time, available in the
      * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -973,17 +1101,21 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * to ensure that your worker currently holds the lease.
      * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getScheduleTimeFieldBuilder() { if (scheduleTimeBuilder_ == null) { - scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getScheduleTime(), - getParentForChildren(), - isClean()); + scheduleTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getScheduleTime(), getParentForChildren(), isClean()); scheduleTime_ = null; } return scheduleTimeBuilder_; @@ -991,45 +1123,61 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() { private com.google.protobuf.Duration leaseDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> leaseDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + leaseDurationBuilder_; /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ public boolean hasLeaseDuration() { return leaseDurationBuilder_ != null || leaseDuration_ != null; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ public com.google.protobuf.Duration getLeaseDuration() { if (leaseDurationBuilder_ == null) { - return leaseDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } else { return leaseDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { @@ -1045,16 +1193,18 @@ public Builder setLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLeaseDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLeaseDuration(com.google.protobuf.Duration.Builder builderForValue) { if (leaseDurationBuilder_ == null) { leaseDuration_ = builderForValue.build(); onChanged(); @@ -1065,19 +1215,24 @@ public Builder setLeaseDuration( return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { if (leaseDurationBuilder_ == null) { if (leaseDuration_ != null) { leaseDuration_ = - com.google.protobuf.Duration.newBuilder(leaseDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(leaseDuration_) + .mergeFrom(value) + .buildPartial(); } else { leaseDuration_ = value; } @@ -1089,13 +1244,16 @@ public Builder mergeLeaseDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLeaseDuration() { if (leaseDurationBuilder_ == null) { @@ -1109,54 +1267,67 @@ public Builder clearLeaseDuration() { return this; } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLeaseDurationBuilder() { - + onChanged(); return getLeaseDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { if (leaseDurationBuilder_ != null) { return leaseDurationBuilder_.getMessageOrBuilder(); } else { - return leaseDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : leaseDuration_; + return leaseDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : leaseDuration_; } } /** + * + * *
      * Required. The desired new lease duration, starting from now.
      * The maximum lease duration is 1 week.
      * `lease_duration` will be truncated to the nearest second.
      * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ 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> getLeaseDurationFieldBuilder() { if (leaseDurationBuilder_ == null) { - leaseDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLeaseDuration(), - getParentForChildren(), - isClean()); + leaseDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLeaseDuration(), getParentForChildren(), isClean()); leaseDuration_ = null; } return leaseDurationBuilder_; @@ -1164,6 +1335,8 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1178,12 +1351,16 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1198,16 +1375,19 @@ public com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1222,15 +1402,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1245,6 +1429,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1252,12 +1437,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -1272,17 +1459,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1292,12 +1480,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RenewLeaseRequest) private static final com.google.cloud.tasks.v2beta2.RenewLeaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RenewLeaseRequest(); } @@ -1306,16 +1494,16 @@ public static com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RenewLeaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RenewLeaseRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenewLeaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RenewLeaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1330,6 +1518,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RenewLeaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java index 0fb7d3e1..800dfd88 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RenewLeaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RenewLeaseRequestOrBuilder extends +public interface RenewLeaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RenewLeaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -38,11 +65,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -51,11 +82,15 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Required. The task's current schedule time, available in the
    * [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
@@ -64,44 +99,58 @@ public interface RenewLeaseRequestOrBuilder extends
    * to ensure that your worker currently holds the lease.
    * 
* - * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the leaseDuration field is set. */ boolean hasLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The leaseDuration. */ com.google.protobuf.Duration getLeaseDuration(); /** + * + * *
    * Required. The desired new lease duration, starting from now.
    * The maximum lease duration is 1 week.
    * `lease_duration` will be truncated to the nearest second.
    * 
* - * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lease_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getLeaseDurationOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -116,10 +165,13 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -134,6 +186,7 @@ public interface RenewLeaseRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 4; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java index 1c905c3a..66717318 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta2.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta2.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.ResumeQueueRequest} */ - 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.tasks.v2beta2.ResumeQueueRequest) com.google.cloud.tasks.v2beta2.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta2.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta2.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta2.ResumeQueueRequest 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.tasks.v2beta2.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta2.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..7e18051a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/cloudtasks.proto + +package com.google.cloud.tasks.v2beta2; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java index c8e6cb16..9a966fb3 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Retry config.
  * These settings determine how a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,67 +69,75 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-            numAttempts_ = input.readInt32();
-            numAttemptsCase_ = 1;
-            break;
-          }
-          case 16: {
-            numAttempts_ = input.readBool();
-            numAttemptsCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              numAttempts_ = input.readInt32();
+              numAttemptsCase_ = 1;
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 16:
+            {
+              numAttempts_ = input.readBool();
+              numAttemptsCase_ = 2;
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 42:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          case 48:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-
-            break;
-          }
-          case 48: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,35 +145,40 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.QueueProto
+        .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta2.RetryConfig.class,
+            com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
   }
 
   private int numAttemptsCase_ = 0;
   private java.lang.Object numAttempts_;
+
   public enum NumAttemptsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_ATTEMPTS(1),
     UNLIMITED_ATTEMPTS(2),
     NUMATTEMPTS_NOT_SET(0);
     private final int value;
+
     private NumAttemptsCase(int value) {
       this.value = value;
     }
@@ -165,25 +194,30 @@ public static NumAttemptsCase valueOf(int value) {
 
     public static NumAttemptsCase forNumber(int value) {
       switch (value) {
-        case 1: return MAX_ATTEMPTS;
-        case 2: return UNLIMITED_ATTEMPTS;
-        case 0: return NUMATTEMPTS_NOT_SET;
-        default: return null;
+        case 1:
+          return MAX_ATTEMPTS;
+        case 2:
+          return UNLIMITED_ATTEMPTS;
+        case 0:
+          return NUMATTEMPTS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public NumAttemptsCase
-  getNumAttemptsCase() {
-    return NumAttemptsCase.forNumber(
-        numAttemptsCase_);
+  public NumAttemptsCase getNumAttemptsCase() {
+    return NumAttemptsCase.forNumber(numAttemptsCase_);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -192,6 +226,7 @@ public int getNumber() {
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ @java.lang.Override @@ -199,6 +234,8 @@ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -207,6 +244,7 @@ public boolean hasMaxAttempts() {
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -219,11 +257,14 @@ public int getMaxAttempts() { public static final int UNLIMITED_ATTEMPTS_FIELD_NUMBER = 2; /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ @java.lang.Override @@ -231,11 +272,14 @@ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ @java.lang.Override @@ -249,6 +293,8 @@ public boolean getUnlimitedAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -267,6 +313,7 @@ public boolean getUnlimitedAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -274,6 +321,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -292,13 +341,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -326,6 +380,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -342,6 +398,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -349,6 +406,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -365,6 +424,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ @java.lang.Override @@ -372,6 +432,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -397,6 +459,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 5;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -413,6 +477,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -420,6 +485,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -436,6 +503,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ @java.lang.Override @@ -443,6 +511,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -468,6 +538,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 6;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -494,6 +566,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -502,6 +575,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,15 +587,12 @@ 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 (numAttemptsCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) numAttempts_)); + output.writeInt32(1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - output.writeBool( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + output.writeBool(2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { output.writeMessage(3, getMaxRetryDuration()); @@ -545,30 +616,26 @@ public int getSerializedSize() { size = 0; if (numAttemptsCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) numAttempts_)); } if (numAttemptsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 2, (boolean)((java.lang.Boolean) numAttempts_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, (boolean) ((java.lang.Boolean) numAttempts_)); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -578,39 +645,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.tasks.v2beta2.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RetryConfig other = (com.google.cloud.tasks.v2beta2.RetryConfig) obj; + com.google.cloud.tasks.v2beta2.RetryConfig other = + (com.google.cloud.tasks.v2beta2.RetryConfig) obj; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!getNumAttemptsCase().equals(other.getNumAttemptsCase())) return false; switch (numAttemptsCase_) { case 1: - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; break; case 2: - if (getUnlimitedAttempts() - != other.getUnlimitedAttempts()) return false; + if (getUnlimitedAttempts() != other.getUnlimitedAttempts()) return false; break; case 0: default: @@ -647,8 +709,7 @@ public int hashCode() { break; case 2: hash = (37 * hash) + UNLIMITED_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUnlimitedAttempts()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnlimitedAttempts()); break; case 0: default: @@ -658,97 +719,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta2.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine how a failed task attempt is retried.
@@ -756,21 +824,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta2.RetryConfig)
       com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RetryConfig.class, com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta2.RetryConfig.class,
+              com.google.cloud.tasks.v2beta2.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RetryConfig.newBuilder()
@@ -778,16 +848,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -817,9 +886,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.QueueProto.internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.QueueProto
+          .internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -838,7 +907,8 @@ public com.google.cloud.tasks.v2beta2.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta2.RetryConfig result = new com.google.cloud.tasks.v2beta2.RetryConfig(this);
+      com.google.cloud.tasks.v2beta2.RetryConfig result =
+          new com.google.cloud.tasks.v2beta2.RetryConfig(this);
       if (numAttemptsCase_ == 1) {
         result.numAttempts_ = numAttempts_;
       }
@@ -870,38 +940,39 @@ public com.google.cloud.tasks.v2beta2.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta2.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -923,17 +994,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.RetryConfig other) {
         setMaxDoublings(other.getMaxDoublings());
       }
       switch (other.getNumAttemptsCase()) {
-        case MAX_ATTEMPTS: {
-          setMaxAttempts(other.getMaxAttempts());
-          break;
-        }
-        case UNLIMITED_ATTEMPTS: {
-          setUnlimitedAttempts(other.getUnlimitedAttempts());
-          break;
-        }
-        case NUMATTEMPTS_NOT_SET: {
-          break;
-        }
+        case MAX_ATTEMPTS:
+          {
+            setMaxAttempts(other.getMaxAttempts());
+            break;
+          }
+        case UNLIMITED_ATTEMPTS:
+          {
+            setUnlimitedAttempts(other.getUnlimitedAttempts());
+            break;
+          }
+        case NUMATTEMPTS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -963,12 +1037,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int numAttemptsCase_ = 0;
     private java.lang.Object numAttempts_;
-    public NumAttemptsCase
-        getNumAttemptsCase() {
-      return NumAttemptsCase.forNumber(
-          numAttemptsCase_);
+
+    public NumAttemptsCase getNumAttemptsCase() {
+      return NumAttemptsCase.forNumber(numAttemptsCase_);
     }
 
     public Builder clearNumAttempts() {
@@ -978,8 +1052,9 @@ public Builder clearNumAttempts() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -988,12 +1063,15 @@ public Builder clearNumAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ public boolean hasMaxAttempts() { return numAttemptsCase_ == 1; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1002,6 +1080,7 @@ public boolean hasMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ public int getMaxAttempts() { @@ -1011,6 +1090,8 @@ public int getMaxAttempts() { return 0; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1019,6 +1100,7 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ @@ -1029,6 +1111,8 @@ public Builder setMaxAttempts(int value) { return this; } /** + * + * *
      * The maximum number of attempts for a task.
      * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -1037,6 +1121,7 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { @@ -1049,22 +1134,28 @@ public Builder clearMaxAttempts() { } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ public boolean hasUnlimitedAttempts() { return numAttemptsCase_ == 2; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ public boolean getUnlimitedAttempts() { @@ -1074,11 +1165,14 @@ public boolean getUnlimitedAttempts() { return false; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @param value The unlimitedAttempts to set. * @return This builder for chaining. */ @@ -1089,11 +1183,14 @@ public Builder setUnlimitedAttempts(boolean value) { return this; } /** + * + * *
      * If true, then the number of attempts is unlimited.
      * 
* * bool unlimited_attempts = 2; + * * @return This builder for chaining. */ public Builder clearUnlimitedAttempts() { @@ -1107,8 +1204,13 @@ public Builder clearUnlimitedAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1127,12 +1229,15 @@ public Builder clearUnlimitedAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1151,16 +1256,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1194,6 +1304,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1213,8 +1325,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 3;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1225,6 +1336,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1248,7 +1361,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1260,6 +1375,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1291,6 +1408,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1311,11 +1430,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1339,11 +1460,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1364,14 +1488,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1379,8 +1506,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1397,12 +1529,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1419,16 +1554,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1460,6 +1600,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1477,8 +1619,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 4;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1489,6 +1630,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1510,7 +1653,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1522,6 +1665,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1551,6 +1696,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1569,11 +1716,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1595,11 +1744,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1618,14 +1770,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 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>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1633,8 +1788,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1651,12 +1811,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1673,16 +1836,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1714,6 +1882,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1731,8 +1901,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 5;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1743,6 +1912,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1764,7 +1935,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1776,6 +1947,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1805,6 +1978,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1823,11 +1998,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1849,11 +2026,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -1872,21 +2052,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 5;
      */
     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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1913,6 +2098,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ @java.lang.Override @@ -1920,6 +2106,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1946,16 +2134,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 6; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1982,17 +2173,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 6; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2002,12 +2194,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RetryConfig) private static final com.google.cloud.tasks.v2beta2.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RetryConfig(); } @@ -2016,16 +2208,16 @@ public static com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2040,6 +2232,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java index ca066b67..f78d7ff0 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/queue.proto package com.google.cloud.tasks.v2beta2; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -16,10 +34,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return Whether the maxAttempts field is set. */ boolean hasMaxAttempts(); /** + * + * *
    * The maximum number of attempts for a task.
    * Cloud Tasks will attempt the task `max_attempts` times (that
@@ -28,30 +49,39 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return Whether the unlimitedAttempts field is set. */ boolean hasUnlimitedAttempts(); /** + * + * *
    * If true, then the number of attempts is unlimited.
    * 
* * bool unlimited_attempts = 2; + * * @return The unlimitedAttempts. */ boolean getUnlimitedAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -70,10 +100,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -92,10 +125,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 3; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -118,6 +154,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -134,10 +172,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -154,10 +195,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 4; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -178,6 +222,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -194,10 +240,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -214,10 +263,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 5; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
@@ -238,6 +290,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -264,6 +318,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 6; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java index f7120749..a8d244e6 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta2.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta2.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta2.RunTaskRequest other = (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta2.RunTaskRequest other = + (com.google.cloud.tasks.v2beta2.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta2.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta2.RunTaskRequest}
    */
-  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.tasks.v2beta2.RunTaskRequest)
       com.google.cloud.tasks.v2beta2.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta2.RunTaskRequest.class, com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta2.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta2.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta2.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta2_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta2.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta2.RunTaskRequest result = new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta2.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta2.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta2.RunTaskRequest 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.tasks.v2beta2.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta2.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta2.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta2.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.RunTaskRequest) private static final com.google.cloud.tasks.v2beta2.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java index fce8c1e0..8ce08688 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/cloudtasks.proto package com.google.cloud.tasks.v2beta2; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta2.Task.View getResponseView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java new file mode 100644 index 00000000..2ec60f36 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/target.proto + +package com.google.cloud.tasks.v2beta2; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_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/tasks/v2beta2/target.prot" + + "o\022\032google.cloud.tasks.v2beta2\032\034google/ap" + + "i/annotations.proto\"\014\n\nPullTarget\"+\n\013Pul" + + "lMessage\022\017\n\007payload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"h" + + "\n\023AppEngineHttpTarget\022Q\n\033app_engine_rout" + + "ing_override\030\001 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\"\304\002\n\024AppEngineHt" + + "tpRequest\022;\n\013http_method\030\001 \001(\0162&.google." + + "cloud.tasks.v2beta2.HttpMethod\022H\n\022app_en" + + "gine_routing\030\002 \001(\0132,.google.cloud.tasks." + + "v2beta2.AppEngineRouting\022\024\n\014relative_url" + + "\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.t" + + "asks.v2beta2.AppEngineHttpRequest.Header" + + "sEntry\022\017\n\007payload\030\005 \001(\014\032.\n\014HeadersEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*[\n" + + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" + + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" + + "\n\006DELETE\020\005Bp\n\036com.google.cloud.tasks.v2b" + + "eta2B\013TargetProtoP\001Z?google.golang.org/g" + + "enproto/googleapis/cloud/tasks/v2beta2;t" + + "asksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_PullTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullTarget_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpTarget_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUrl", "Headers", "Payload", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java similarity index 78% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java index d746a483..b4b9a701 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,92 +71,110 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 4) { - subBuilder = ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); - } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 4; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 34: + { + com.google.cloud.tasks.v2beta2.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 4) { + subBuilder = + ((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 4; + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } + case 64: + { + int rawValue = input.readEnum(); - break; - } - case 58: { - com.google.cloud.tasks.v2beta2.TaskStatus.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); + view_ = rawValue; + break; } - status_ = input.readMessage(com.google.cloud.tasks.v2beta2.TaskStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - case 64: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,27 +182,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
    * When a task is returned in a response, not all
@@ -179,9 +218,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta2.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -190,6 +230,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -205,6 +247,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -219,6 +263,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -227,6 +273,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -242,6 +290,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
@@ -253,7 +303,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -278,49 +327,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta2.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -339,13 +388,16 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     PULL_MESSAGE(4),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -361,26 +413,31 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 4: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 4:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -402,6 +459,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -410,14 +468,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -439,16 +498,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -458,6 +516,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -467,6 +527,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -474,6 +535,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -483,16 +546,19 @@ public boolean hasAppEngineHttpRequest() {
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -504,15 +570,18 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -520,6 +589,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -527,6 +597,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -534,16 +606,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { if (payloadTypeCase_ == 4) { - return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance(); } /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -555,7 +630,7 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 4) {
-       return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
   }
@@ -563,6 +638,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -574,6 +651,7 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -581,6 +659,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -592,13 +672,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -619,12 +704,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -632,12 +720,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -645,6 +736,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -660,11 +753,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 7;
   private com.google.cloud.tasks.v2beta2.TaskStatus status_;
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ @java.lang.Override @@ -672,18 +768,25 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } /** + * + * *
    * Output only. The task status.
    * 
@@ -698,33 +801,43 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { public static final int VIEW_FIELD_NUMBER = 8; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -736,8 +849,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -772,28 +884,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_); } if (payloadTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStatus()); } if (view_ != com.google.cloud.tasks.v2beta2.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -803,40 +913,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.tasks.v2beta2.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta2.Task other = (com.google.cloud.tasks.v2beta2.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 4: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -885,118 +989,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta2.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta2.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta2.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.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.tasks.v2beta2.Task 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.tasks.v2beta2.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.tasks.v2beta2.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) com.google.cloud.tasks.v2beta2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.Task.class, com.google.cloud.tasks.v2beta2.Task.Builder.class); + com.google.cloud.tasks.v2beta2.Task.class, + com.google.cloud.tasks.v2beta2.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.Task.newBuilder() @@ -1004,16 +1116,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1045,9 +1156,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_Task_descriptor; } @java.lang.Override @@ -1107,38 +1218,39 @@ public com.google.cloud.tasks.v2beta2.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.tasks.v2beta2.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta2.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.Task) other); } else { super.mergeFrom(other); return this; @@ -1164,17 +1276,20 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1204,12 +1319,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1219,9 +1334,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1243,13 +1359,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1258,6 +1374,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1279,15 +1397,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1295,6 +1412,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1316,20 +1435,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1351,15 +1472,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
      * The task name.
@@ -1381,24 +1505,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1408,6 +1537,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1415,6 +1545,8 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1424,6 +1556,7 @@ public boolean hasAppEngineHttpRequest() {
      * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1441,6 +1574,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1451,7 +1586,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1465,6 +1601,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1487,6 +1625,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1497,12 +1637,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1518,6 +1663,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta2.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1545,6 +1692,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1555,10 +1704,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1570,7 +1722,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1581,6 +1734,8 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * App Engine HTTP request that is sent to the task's target. Can
      * be set only if
@@ -1592,27 +1747,38 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AppEngineHttpRequest, com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1620,6 +1786,7 @@ public com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngine
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -1627,6 +1794,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 4; } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1634,6 +1803,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ @java.lang.Override @@ -1651,6 +1821,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage getPullMessage() { } } /** + * + * *
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1673,6 +1845,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta2.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1693,6 +1867,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1703,10 +1879,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 4 &&
-            payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.newBuilder((com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 4
+            && payloadType_ != com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta2.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1722,6 +1901,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta2.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1747,6 +1928,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1759,6 +1942,8 @@ public com.google.cloud.tasks.v2beta2.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1779,6 +1964,8 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
      * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -1788,28 +1975,39 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta2.PullMessage,
+            com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 4)) {
           payloadType_ = com.google.cloud.tasks.v2beta2.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.PullMessage, com.google.cloud.tasks.v2beta2.PullMessage.Builder, com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.PullMessage,
+                com.google.cloud.tasks.v2beta2.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta2.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta2.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 4;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1821,12 +2019,15 @@ public com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1838,16 +2039,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1874,6 +2080,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1886,8 +2094,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 5;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -1898,6 +2105,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1914,7 +2123,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -1926,6 +2137,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1950,6 +2163,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1963,11 +2178,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -1984,11 +2201,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2002,14 +2222,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2017,36 +2240,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2068,6 +2304,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2075,8 +2313,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    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();
@@ -2087,6 +2324,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2098,7 +2337,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;
         }
@@ -2110,6 +2349,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2129,6 +2370,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2137,11 +2380,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2153,11 +2398,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2166,14 +2414,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 6;
      */
     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_;
@@ -2181,34 +2432,47 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.cloud.tasks.v2beta2.TaskStatus status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> statusBuilder_;
+            com.google.cloud.tasks.v2beta2.TaskStatus,
+            com.google.cloud.tasks.v2beta2.TaskStatus.Builder,
+            com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ public com.google.cloud.tasks.v2beta2.TaskStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } else { return statusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2229,14 +2493,15 @@ public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ - public Builder setStatus( - com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { + public Builder setStatus(com.google.cloud.tasks.v2beta2.TaskStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -2247,6 +2512,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2257,7 +2524,9 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = - com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder(status_) + .mergeFrom(value) + .buildPartial(); } else { status_ = value; } @@ -2269,6 +2538,8 @@ public Builder mergeStatus(com.google.cloud.tasks.v2beta2.TaskStatus value) { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2287,6 +2558,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. The task status.
      * 
@@ -2294,11 +2567,13 @@ public Builder clearStatus() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ public com.google.cloud.tasks.v2beta2.TaskStatus.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The task status.
      * 
@@ -2309,11 +2584,14 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.tasks.v2beta2.TaskStatus.getDefaultInstance() + : status_; } } /** + * + * *
      * Output only. The task status.
      * 
@@ -2321,14 +2599,17 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { * .google.cloud.tasks.v2beta2.TaskStatus status = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.TaskStatus, com.google.cloud.tasks.v2beta2.TaskStatus.Builder, com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.TaskStatus, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder, + com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -2336,55 +2617,69 @@ public com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder() { private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta2.Task.View result = com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta2.Task.View result = + com.google.cloud.tasks.v2beta2.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta2.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @param value The view to set. * @return This builder for chaining. */ @@ -2392,29 +2687,32 @@ public Builder setView(com.google.cloud.tasks.v2beta2.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -2424,12 +2722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.Task) private static final com.google.cloud.tasks.v2beta2.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.Task(); } @@ -2438,16 +2736,16 @@ public static com.google.cloud.tasks.v2beta2.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2462,6 +2760,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskName.java diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java index cce77766..9b356802 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
    * The task name.
@@ -54,12 +75,14 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -69,10 +92,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -82,10 +108,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta2.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * App Engine HTTP request that is sent to the task's target. Can
    * be set only if
@@ -99,6 +128,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -106,10 +137,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -117,10 +151,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.PullMessage pull_message = 4; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta2.PullMessage getPullMessage(); /** + * + * *
    * [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
    * set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
@@ -132,6 +169,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta2.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -143,10 +182,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -158,10 +200,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 5; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -177,26 +222,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -207,24 +260,32 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. The task status.
    * 
* * .google.cloud.tasks.v2beta2.TaskStatus status = 7; + * * @return The status. */ com.google.cloud.tasks.v2beta2.TaskStatus getStatus(); /** + * + * *
    * Output only. The task status.
    * 
@@ -234,22 +295,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta2.Task.View view = 8; + * * @return The view. */ com.google.cloud.tasks.v2beta2.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java new file mode 100644 index 00000000..a0c50640 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -0,0 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta2/task.proto + +package com.google.cloud.tasks.v2beta2; + +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_tasks_v2beta2_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_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/tasks/v2beta2/task.proto\022" + + "\032google.cloud.tasks.v2beta2\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a2/target.proto\032\037google/protobuf/timesta" + + "mp.proto\032\027google/rpc/status.proto\032\034googl" + + "e/api/annotations.proto\"\250\004\n\004Task\022\014\n\004name" + + "\030\001 \001(\t\022S\n\027app_engine_http_request\030\003 \001(\0132" + + "0.google.cloud.tasks.v2beta2.AppEngineHt" + + "tpRequestH\000\022?\n\014pull_message\030\004 \001(\0132\'.goog" + + "le.cloud.tasks.v2beta2.PullMessageH\000\0221\n\r" + + "schedule_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022/\n\013create_time\030\006 \001(\0132\032.google.pr" + + "otobuf.Timestamp\0226\n\006status\030\007 \001(\0132&.googl" + + "e.cloud.tasks.v2beta2.TaskStatus\0223\n\004view" + + "\030\010 \001(\0162%.google.cloud.tasks.v2beta2.Task" + + ".View\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005B" + + "ASIC\020\001\022\010\n\004FULL\020\002:h\352Ae\n\036cloudtasks.google" + + "apis.com/Task\022Cprojects/{project}/locati" + + "ons/{location}/queues/{queue}/tasks/{tas" + + "k}B\016\n\014payload_type\"\335\001\n\nTaskStatus\022\036\n\026att" + + "empt_dispatch_count\030\001 \001(\005\022\036\n\026attempt_res" + + "ponse_count\030\002 \001(\005\022G\n\024first_attempt_statu" + + "s\030\003 \001(\0132).google.cloud.tasks.v2beta2.Att" + + "emptStatus\022F\n\023last_attempt_status\030\004 \001(\0132" + + ").google.cloud.tasks.v2beta2.AttemptStat" + + "us\"\325\001\n\rAttemptStatus\0221\n\rschedule_time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rdispa" + + "tch_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mp\0221\n\rresponse_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022+\n\017response_status\030\004 \001(\0132\022" + + ".google.rpc.StatusBn\n\036com.google.cloud.t" + + "asks.v2beta2B\tTaskProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta2;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta2_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta2_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "Status", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor, + new java.lang.String[] { + "AttemptDispatchCount", + "AttemptResponseCount", + "FirstAttemptStatus", + "LastAttemptStatus", + }); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta2_AttemptStatus_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java similarity index 75% rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java index f8ed0ce2..361386df 100644 --- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta2/task.proto package com.google.cloud.tasks.v2beta2; /** + * + * *
  * Status of the task.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ -public final class TaskStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TaskStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.TaskStatus) TaskStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TaskStatus.newBuilder() to construct. private TaskStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TaskStatus() { - } + + private TaskStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TaskStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TaskStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,49 +68,55 @@ private TaskStatus( case 0: done = true; break; - case 8: { - - attemptDispatchCount_ = input.readInt32(); - break; - } - case 16: { - - attemptResponseCount_ = input.readInt32(); - break; - } - case 26: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (firstAttemptStatus_ != null) { - subBuilder = firstAttemptStatus_.toBuilder(); + case 8: + { + attemptDispatchCount_ = input.readInt32(); + break; } - firstAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttemptStatus_); - firstAttemptStatus_ = subBuilder.buildPartial(); + case 16: + { + attemptResponseCount_ = input.readInt32(); + break; } + case 26: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (firstAttemptStatus_ != null) { + subBuilder = firstAttemptStatus_.toBuilder(); + } + firstAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttemptStatus_); + firstAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; - if (lastAttemptStatus_ != null) { - subBuilder = lastAttemptStatus_.toBuilder(); - } - lastAttemptStatus_ = input.readMessage(com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttemptStatus_); - lastAttemptStatus_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder subBuilder = null; + if (lastAttemptStatus_ != null) { + subBuilder = lastAttemptStatus_.toBuilder(); + } + lastAttemptStatus_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.AttemptStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttemptStatus_); + lastAttemptStatus_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,29 +124,33 @@ private TaskStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } public static final int ATTEMPT_DISPATCH_COUNT_FIELD_NUMBER = 1; private int attemptDispatchCount_; /** + * + * *
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -132,6 +158,7 @@ private TaskStatus(
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -142,12 +169,15 @@ public int getAttemptDispatchCount() { public static final int ATTEMPT_RESPONSE_COUNT_FIELD_NUMBER = 2; private int attemptResponseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -158,6 +188,8 @@ public int getAttemptResponseCount() { public static final int FIRST_ATTEMPT_STATUS_FIELD_NUMBER = 3; private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -166,6 +198,7 @@ public int getAttemptResponseCount() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ @java.lang.Override @@ -173,6 +206,8 @@ public boolean hasFirstAttemptStatus() { return firstAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -181,13 +216,18 @@ public boolean hasFirstAttemptStatus() {
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -205,12 +245,15 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
   public static final int LAST_ATTEMPT_STATUS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ @java.lang.Override @@ -218,19 +261,26 @@ public boolean hasLastAttemptStatus() { return lastAttemptStatus_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ @java.lang.Override public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -244,6 +294,7 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -255,8 +306,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (attemptDispatchCount_ != 0) {
       output.writeInt32(1, attemptDispatchCount_);
     }
@@ -279,20 +329,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (attemptDispatchCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, attemptDispatchCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptDispatchCount_);
     }
     if (attemptResponseCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, attemptResponseCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, attemptResponseCount_);
     }
     if (firstAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getFirstAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFirstAttemptStatus());
     }
     if (lastAttemptStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getLastAttemptStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastAttemptStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -302,26 +348,23 @@ 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.tasks.v2beta2.TaskStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.TaskStatus other = (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
+    com.google.cloud.tasks.v2beta2.TaskStatus other =
+        (com.google.cloud.tasks.v2beta2.TaskStatus) obj;
 
-    if (getAttemptDispatchCount()
-        != other.getAttemptDispatchCount()) return false;
-    if (getAttemptResponseCount()
-        != other.getAttemptResponseCount()) return false;
+    if (getAttemptDispatchCount() != other.getAttemptDispatchCount()) return false;
+    if (getAttemptResponseCount() != other.getAttemptResponseCount()) return false;
     if (hasFirstAttemptStatus() != other.hasFirstAttemptStatus()) return false;
     if (hasFirstAttemptStatus()) {
-      if (!getFirstAttemptStatus()
-          .equals(other.getFirstAttemptStatus())) return false;
+      if (!getFirstAttemptStatus().equals(other.getFirstAttemptStatus())) return false;
     }
     if (hasLastAttemptStatus() != other.hasLastAttemptStatus()) return false;
     if (hasLastAttemptStatus()) {
-      if (!getLastAttemptStatus()
-          .equals(other.getLastAttemptStatus())) return false;
+      if (!getLastAttemptStatus().equals(other.getLastAttemptStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -351,118 +394,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.TaskStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus 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;
   }
   /**
+   *
+   *
    * 
    * Status of the task.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus} */ - 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.tasks.v2beta2.TaskStatus) com.google.cloud.tasks.v2beta2.TaskStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.TaskStatus.class, com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); + com.google.cloud.tasks.v2beta2.TaskStatus.class, + com.google.cloud.tasks.v2beta2.TaskStatus.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.TaskStatus.newBuilder() @@ -470,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.TaskProto.internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.TaskProto + .internal_static_google_cloud_tasks_v2beta2_TaskStatus_descriptor; } @java.lang.Override @@ -524,7 +575,8 @@ public com.google.cloud.tasks.v2beta2.TaskStatus build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.TaskStatus buildPartial() { - com.google.cloud.tasks.v2beta2.TaskStatus result = new com.google.cloud.tasks.v2beta2.TaskStatus(this); + com.google.cloud.tasks.v2beta2.TaskStatus result = + new com.google.cloud.tasks.v2beta2.TaskStatus(this); result.attemptDispatchCount_ = attemptDispatchCount_; result.attemptResponseCount_ = attemptResponseCount_; if (firstAttemptStatusBuilder_ == null) { @@ -545,38 +597,39 @@ public com.google.cloud.tasks.v2beta2.TaskStatus 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.tasks.v2beta2.TaskStatus) { - return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.TaskStatus) other); } else { super.mergeFrom(other); return this; @@ -626,8 +679,10 @@ public Builder mergeFrom( return this; } - private int attemptDispatchCount_ ; + private int attemptDispatchCount_; /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -635,6 +690,7 @@ public Builder mergeFrom(
      * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ @java.lang.Override @@ -642,6 +698,8 @@ public int getAttemptDispatchCount() { return attemptDispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -649,16 +707,19 @@ public int getAttemptDispatchCount() {
      * 
* * int32 attempt_dispatch_count = 1; + * * @param value The attemptDispatchCount to set. * @return This builder for chaining. */ public Builder setAttemptDispatchCount(int value) { - + attemptDispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -666,23 +727,27 @@ public Builder setAttemptDispatchCount(int value) {
      * 
* * int32 attempt_dispatch_count = 1; + * * @return This builder for chaining. */ public Builder clearAttemptDispatchCount() { - + attemptDispatchCount_ = 0; onChanged(); return this; } - private int attemptResponseCount_ ; + private int attemptResponseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ @java.lang.Override @@ -690,32 +755,38 @@ public int getAttemptResponseCount() { return attemptResponseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @param value The attemptResponseCount to set. * @return This builder for chaining. */ public Builder setAttemptResponseCount(int value) { - + attemptResponseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * int32 attempt_response_count = 2; + * * @return This builder for chaining. */ public Builder clearAttemptResponseCount() { - + attemptResponseCount_ = 0; onChanged(); return this; @@ -723,8 +794,13 @@ public Builder clearAttemptResponseCount() { private com.google.cloud.tasks.v2beta2.AttemptStatus firstAttemptStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> firstAttemptStatusBuilder_; + com.google.cloud.tasks.v2beta2.AttemptStatus, + com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, + com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> + firstAttemptStatusBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -733,12 +809,15 @@ public Builder clearAttemptResponseCount() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ public boolean hasFirstAttemptStatus() { return firstAttemptStatusBuilder_ != null || firstAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -747,16 +826,21 @@ public boolean hasFirstAttemptStatus() {
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus() { if (firstAttemptStatusBuilder_ == null) { - return firstAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_; + return firstAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : firstAttemptStatus_; } else { return firstAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -780,6 +864,8 @@ public Builder setFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatu
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -801,6 +887,8 @@ public Builder setFirstAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -814,7 +902,9 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       if (firstAttemptStatusBuilder_ == null) {
         if (firstAttemptStatus_ != null) {
           firstAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(firstAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttemptStatus_ = value;
         }
@@ -826,6 +916,8 @@ public Builder mergeFirstAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -847,6 +939,8 @@ public Builder clearFirstAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -857,11 +951,13 @@ public Builder clearFirstAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getFirstAttemptStatusBuilder() {
-      
+
       onChanged();
       return getFirstAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -875,11 +971,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
       if (firstAttemptStatusBuilder_ != null) {
         return firstAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : firstAttemptStatus_;
+        return firstAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : firstAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -890,14 +989,17 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
      * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getFirstAttemptStatusFieldBuilder() {
       if (firstAttemptStatusBuilder_ == null) {
-        firstAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getFirstAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getFirstAttemptStatus(), getParentForChildren(), isClean());
         firstAttemptStatus_ = null;
       }
       return firstAttemptStatusBuilder_;
@@ -905,36 +1007,49 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStat
 
     private com.google.cloud.tasks.v2beta2.AttemptStatus lastAttemptStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> lastAttemptStatusBuilder_;
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
+        lastAttemptStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ public boolean hasLastAttemptStatus() { return lastAttemptStatusBuilder_ != null || lastAttemptStatus_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
      * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ public com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus() { if (lastAttemptStatusBuilder_ == null) { - return lastAttemptStatus_ == null ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_; + return lastAttemptStatus_ == null + ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() + : lastAttemptStatus_; } else { return lastAttemptStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -956,6 +1071,8 @@ public Builder setLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -975,6 +1092,8 @@ public Builder setLastAttemptStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -986,7 +1105,9 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       if (lastAttemptStatusBuilder_ == null) {
         if (lastAttemptStatus_ != null) {
           lastAttemptStatus_ =
-            com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta2.AttemptStatus.newBuilder(lastAttemptStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           lastAttemptStatus_ = value;
         }
@@ -998,6 +1119,8 @@ public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStat
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1017,6 +1140,8 @@ public Builder clearLastAttemptStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1025,11 +1150,13 @@ public Builder clearLastAttemptStatus() {
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     public com.google.cloud.tasks.v2beta2.AttemptStatus.Builder getLastAttemptStatusBuilder() {
-      
+
       onChanged();
       return getLastAttemptStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1041,11 +1168,14 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
       if (lastAttemptStatusBuilder_ != null) {
         return lastAttemptStatusBuilder_.getMessageOrBuilder();
       } else {
-        return lastAttemptStatus_ == null ?
-            com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance() : lastAttemptStatus_;
+        return lastAttemptStatus_ == null
+            ? com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()
+            : lastAttemptStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
@@ -1054,21 +1184,24 @@ public com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getLastAttemptStatu
      * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder> 
+            com.google.cloud.tasks.v2beta2.AttemptStatus,
+            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
         getLastAttemptStatusFieldBuilder() {
       if (lastAttemptStatusBuilder_ == null) {
-        lastAttemptStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta2.AttemptStatus, com.google.cloud.tasks.v2beta2.AttemptStatus.Builder, com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
-                getLastAttemptStatus(),
-                getParentForChildren(),
-                isClean());
+        lastAttemptStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta2.AttemptStatus,
+                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
+                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
+                getLastAttemptStatus(), getParentForChildren(), isClean());
         lastAttemptStatus_ = null;
       }
       return lastAttemptStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1078,12 +1211,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.TaskStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.TaskStatus)
   private static final com.google.cloud.tasks.v2beta2.TaskStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.TaskStatus();
   }
@@ -1092,16 +1225,16 @@ public static com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TaskStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TaskStatus(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TaskStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TaskStatus(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1116,6 +1249,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.TaskStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
index 4a065e60..b0d40449 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/task.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface TaskStatusOrBuilder extends
+public interface TaskStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.TaskStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -15,22 +33,28 @@ public interface TaskStatusOrBuilder extends
    * 
* * int32 attempt_dispatch_count = 1; + * * @return The attemptDispatchCount. */ int getAttemptDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * int32 attempt_response_count = 2; + * * @return The attemptResponseCount. */ int getAttemptResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -39,10 +63,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return Whether the firstAttemptStatus field is set. */ boolean hasFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -51,10 +78,13 @@ public interface TaskStatusOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3; + * * @return The firstAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getFirstAttemptStatus(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
@@ -67,26 +97,34 @@ public interface TaskStatusOrBuilder extends
   com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return Whether the lastAttemptStatus field is set. */ boolean hasLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
    * 
* * .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4; + * * @return The lastAttemptStatus. */ com.google.cloud.tasks.v2beta2.AttemptStatus getLastAttemptStatus(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
similarity index 72%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
index eb8253bd..c862f9eb 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
 /**
+ *
+ *
  * 
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta2.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta2.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta2.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta2.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta2.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta2.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta2.UpdateQueueRequest} */ - 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.tasks.v2beta2.UpdateQueueRequest) com.google.cloud.tasks.v2beta2.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta2.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta2.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta2.CloudTasksProto.internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta2.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta2_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta2.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta2.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta2.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta2.UpdateQueueRequest 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.tasks.v2beta2.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta2.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta2.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta2.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta2.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta2.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta2.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta2.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta2.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta2.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta2.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder> + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta2.Queue, com.google.cloud.tasks.v2beta2.Queue.Builder, com.google.cloud.tasks.v2beta2.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta2.Queue, + com.google.cloud.tasks.v2beta2.Queue.Builder, + com.google.cloud.tasks.v2beta2.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta2.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta2.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta2.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta2.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
index 8314ea6a..61d01622 100644
--- a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta2/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta2;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta2.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta2.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta2.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto
diff --git a/owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta2/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
rename to proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
similarity index 72%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
index f7b2a5bb..2443b42f 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
@@ -19,30 +36,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
  */
-public final class AppEngineHttpQueue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpQueue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     AppEngineHttpQueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpQueue.newBuilder() to construct.
   private AppEngineHttpQueue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AppEngineHttpQueue() {
-  }
+
+  private AppEngineHttpQueue() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpQueue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpQueue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,26 +77,29 @@ private AppEngineHttpQueue(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRoutingOverride_ != null) {
-              subBuilder = appEngineRoutingOverride_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRoutingOverride_ != null) {
+                subBuilder = appEngineRoutingOverride_.toBuilder();
+              }
+              appEngineRoutingOverride_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRoutingOverride_);
+                appEngineRoutingOverride_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            appEngineRoutingOverride_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRoutingOverride_);
-              appEngineRoutingOverride_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +107,33 @@ private AppEngineHttpQueue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
   }
 
   public static final int APP_ENGINE_ROUTING_OVERRIDE_FIELD_NUMBER = 1;
   private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -120,6 +143,7 @@ private AppEngineHttpQueue(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ @java.lang.Override @@ -127,6 +151,8 @@ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverride_ != null; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -136,13 +162,18 @@ public boolean hasAppEngineRoutingOverride() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -154,11 +185,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
    * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+      getAppEngineRoutingOverrideOrBuilder() {
     return getAppEngineRoutingOverride();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -170,8 +203,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (appEngineRoutingOverride_ != null) {
       output.writeMessage(1, getAppEngineRoutingOverride());
     }
@@ -185,8 +217,9 @@ public int getSerializedSize() {
 
     size = 0;
     if (appEngineRoutingOverride_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getAppEngineRoutingOverride());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, getAppEngineRoutingOverride());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -196,17 +229,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.tasks.v2beta3.AppEngineHttpQueue)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
+    com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other =
+        (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) obj;
 
     if (hasAppEngineRoutingOverride() != other.hasAppEngineRoutingOverride()) return false;
     if (hasAppEngineRoutingOverride()) {
-      if (!getAppEngineRoutingOverride()
-          .equals(other.getAppEngineRoutingOverride())) return false;
+      if (!getAppEngineRoutingOverride().equals(other.getAppEngineRoutingOverride())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -229,96 +262,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
@@ -334,21 +374,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpQueue}
    */
-  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.tasks.v2beta3.AppEngineHttpQueue)
       com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder()
@@ -356,16 +398,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +441,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue(this);
       if (appEngineRoutingOverrideBuilder_ == null) {
         result.appEngineRoutingOverride_ = appEngineRoutingOverride_;
       } else {
@@ -414,38 +456,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue 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.tasks.v2beta3.AppEngineHttpQueue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance())
+        return this;
       if (other.hasAppEngineRoutingOverride()) {
         mergeAppEngineRoutingOverride(other.getAppEngineRoutingOverride());
       }
@@ -476,7 +520,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -488,8 +533,13 @@ public Builder mergeFrom(
 
     private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRoutingOverride_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingOverrideBuilder_;
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
+        appEngineRoutingOverrideBuilder_;
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -499,12 +549,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ public boolean hasAppEngineRoutingOverride() { return appEngineRoutingOverrideBuilder_ != null || appEngineRoutingOverride_ != null; } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -514,16 +567,21 @@ public boolean hasAppEngineRoutingOverride() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride() { if (appEngineRoutingOverrideBuilder_ == null) { - return appEngineRoutingOverride_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_; + return appEngineRoutingOverride_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRoutingOverride_; } else { return appEngineRoutingOverrideBuilder_.getMessage(); } } /** + * + * *
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -534,7 +592,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder setAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -548,6 +607,8 @@ public Builder setAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEng
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -570,6 +631,8 @@ public Builder setAppEngineRoutingOverride(
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -580,11 +643,14 @@ public Builder setAppEngineRoutingOverride(
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
+    public Builder mergeAppEngineRoutingOverride(
+        com.google.cloud.tasks.v2beta3.AppEngineRouting value) {
       if (appEngineRoutingOverrideBuilder_ == null) {
         if (appEngineRoutingOverride_ != null) {
           appEngineRoutingOverride_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRoutingOverride_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRoutingOverride_ = value;
         }
@@ -596,6 +662,8 @@ public Builder mergeAppEngineRoutingOverride(com.google.cloud.tasks.v2beta3.AppE
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -618,6 +686,8 @@ public Builder clearAppEngineRoutingOverride() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -628,12 +698,15 @@ public Builder clearAppEngineRoutingOverride() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingOverrideBuilder() {
-      
+    public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder
+        getAppEngineRoutingOverrideBuilder() {
+
       onChanged();
       return getAppEngineRoutingOverrideFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -644,15 +717,19 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRouti
      *
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOverrideOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder
+        getAppEngineRoutingOverrideOrBuilder() {
       if (appEngineRoutingOverrideBuilder_ != null) {
         return appEngineRoutingOverrideBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRoutingOverride_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRoutingOverride_;
+        return appEngineRoutingOverride_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRoutingOverride_;
       }
     }
     /**
+     *
+     *
      * 
      * Overrides for the
      * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -664,21 +741,24 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingOverrideFieldBuilder() {
       if (appEngineRoutingOverrideBuilder_ == null) {
-        appEngineRoutingOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRoutingOverride(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingOverrideBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRoutingOverride(), getParentForChildren(), isClean());
         appEngineRoutingOverride_ = null;
       }
       return appEngineRoutingOverrideBuilder_;
     }
+
     @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);
     }
 
@@ -688,12 +768,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
   private static final com.google.cloud.tasks.v2beta3.AppEngineHttpQueue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpQueue();
   }
@@ -702,16 +782,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppEngineHttpQueue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AppEngineHttpQueue(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppEngineHttpQueue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AppEngineHttpQueue(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -726,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
index 0abf3214..1f9d6f5b 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AppEngineHttpQueueOrBuilder extends
+public interface AppEngineHttpQueueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpQueue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -17,10 +35,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return Whether the appEngineRoutingOverride field is set. */ boolean hasAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
@@ -30,10 +51,13 @@ public interface AppEngineHttpQueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; + * * @return The appEngineRoutingOverride. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverride(); /** + * + * *
    * Overrides for the
    * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
similarity index 81%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
index e8370812..c4f1b564 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * App Engine HTTP request.
  * The message defines the HTTP request that is sent to an App Engine app when
@@ -59,15 +76,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
  */
-public final class AppEngineHttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineHttpRequest)
     AppEngineHttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpRequest.newBuilder() to construct.
   private AppEngineHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpRequest() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -76,16 +94,15 @@ private AppEngineHttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -105,56 +122,62 @@ private AppEngineHttpRequest(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -162,41 +185,44 @@ private AppEngineHttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -208,12 +234,16 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -225,17 +255,22 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -245,6 +280,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -252,6 +288,8 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -261,13 +299,18 @@ public boolean hasAppEngineRouting() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -286,6 +329,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
   public static final int RELATIVE_URI_FIELD_NUMBER = 3;
   private volatile java.lang.Object relativeUri_;
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -295,6 +340,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -303,14 +349,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -320,16 +367,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -338,24 +384,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -364,6 +409,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -402,22 +449,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -457,11 +504,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -501,16 +549,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -550,12 +598,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -565,6 +612,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -572,6 +621,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -580,6 +630,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,9 +642,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -602,12 +653,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -620,30 +667,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -653,25 +698,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.tasks.v2beta3.AppEngineHttpRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other = + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -703,96 +745,103 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine HTTP request.
    * The message defines the HTTP request that is sent to an App Engine app when
@@ -848,43 +897,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineHttpRequest}
    */
-  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.tasks.v2beta3.AppEngineHttpRequest)
       com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.class,
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder()
@@ -892,16 +941,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -922,9 +970,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -943,7 +991,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
+      com.google.cloud.tasks.v2beta3.AppEngineHttpRequest result =
+          new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -963,38 +1012,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest 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.tasks.v2beta3.AppEngineHttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1002,7 +1052,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -1013,8 +1064,7 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest oth
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -1037,7 +1087,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1046,10 +1097,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1061,12 +1115,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1078,16 +1136,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1099,15 +1160,19 @@ public Builder setHttpMethodValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1119,6 +1184,7 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1126,12 +1192,14 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * The app's request handler for the task's target URL must be able to handle
@@ -1143,10 +1211,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1154,8 +1223,13 @@ public Builder clearHttpMethod() { private com.google.cloud.tasks.v2beta3.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineRouting, + com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, + com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1165,12 +1239,15 @@ public Builder clearHttpMethod() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1180,16 +1257,21 @@ public boolean hasAppEngineRouting() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * Task-level setting for App Engine routing.
      * If set,
@@ -1214,6 +1296,8 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1236,6 +1320,8 @@ public Builder setAppEngineRouting(
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1250,7 +1336,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       if (appEngineRoutingBuilder_ == null) {
         if (appEngineRouting_ != null) {
           appEngineRouting_ =
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder(appEngineRouting_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           appEngineRouting_ = value;
         }
@@ -1262,6 +1350,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1284,6 +1374,8 @@ public Builder clearAppEngineRouting() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1295,11 +1387,13 @@ public Builder clearAppEngineRouting() {
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRoutingBuilder() {
-      
+
       onChanged();
       return getAppEngineRoutingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1314,11 +1408,14 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
       if (appEngineRoutingBuilder_ != null) {
         return appEngineRoutingBuilder_.getMessageOrBuilder();
       } else {
-        return appEngineRouting_ == null ?
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance() : appEngineRouting_;
+        return appEngineRouting_ == null
+            ? com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()
+            : appEngineRouting_;
       }
     }
     /**
+     *
+     *
      * 
      * Task-level setting for App Engine routing.
      * If set,
@@ -1330,14 +1427,17 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineRouting,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>
         getAppEngineRoutingFieldBuilder() {
       if (appEngineRoutingBuilder_ == null) {
-        appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineRouting, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder, com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
-                getAppEngineRouting(),
-                getParentForChildren(),
-                isClean());
+        appEngineRoutingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineRouting,
+                com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder>(
+                getAppEngineRouting(), getParentForChildren(), isClean());
         appEngineRouting_ = null;
       }
       return appEngineRoutingBuilder_;
@@ -1345,6 +1445,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
 
     private java.lang.Object relativeUri_ = "";
     /**
+     *
+     *
      * 
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1354,13 +1456,13 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1369,6 +1471,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1378,15 +1482,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1394,6 +1497,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1403,20 +1508,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1426,15 +1533,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -1444,37 +1554,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1486,6 +1595,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1524,22 +1635,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1579,11 +1690,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1623,16 +1735,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1672,12 +1785,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1685,11 +1797,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1728,23 +1841,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1783,19 +1894,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1834,16 +1946,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1851,6 +1962,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1858,6 +1970,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1865,19 +1979,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -1885,17 +2002,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1905,12 +2023,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineHttpRequest) private static final com.google.cloud.tasks.v2beta3.AppEngineHttpRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineHttpRequest(); } @@ -1919,16 +2037,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1943,6 +2061,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index 8b399cf6..b7415b57 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineHttpRequestOrBuilder extends +public interface AppEngineHttpRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineHttpRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -19,10 +37,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * The app's request handler for the task's target URL must be able to handle
@@ -34,11 +55,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -48,10 +72,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -61,10 +88,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * Task-level setting for App Engine routing.
    * If set,
@@ -78,6 +108,8 @@ public interface AppEngineHttpRequestOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -87,10 +119,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URI must begin with "/" and must be a valid HTTP relative URI.
@@ -100,12 +135,14 @@ public interface AppEngineHttpRequestOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -146,6 +183,8 @@ public interface AppEngineHttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -184,15 +223,13 @@ public interface AppEngineHttpRequestOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -231,9 +268,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -274,11 +312,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -317,11 +357,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
@@ -329,6 +369,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index 5941632c..99d0cc4b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * App Engine Routing.
  * Defines routing characteristics specific to App Engine - service, version,
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -39,16 +57,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -67,37 +84,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,29 +126,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+            com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the task is sent to the service which is the default
@@ -146,6 +171,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -154,14 +180,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -180,16 +207,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -200,6 +226,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -218,6 +246,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -226,14 +255,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -252,16 +282,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -272,6 +301,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -287,6 +318,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -295,14 +327,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -318,16 +351,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -338,6 +370,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -351,6 +385,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -359,14 +394,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -380,16 +416,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -398,6 +433,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,8 +445,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -452,21 +487,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.AppEngineRouting other = (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.tasks.v2beta3.AppEngineRouting other = + (com.google.cloud.tasks.v2beta3.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,97 +523,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * Defines routing characteristics specific to App Engine - service, version,
@@ -599,21 +638,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.AppEngineRouting)
       com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.AppEngineRouting.class, com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.class,
+              com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.AppEngineRouting.newBuilder()
@@ -621,16 +662,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -646,9 +686,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -667,7 +707,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
-      com.google.cloud.tasks.v2beta3.AppEngineRouting result = new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
+      com.google.cloud.tasks.v2beta3.AppEngineRouting result =
+          new com.google.cloud.tasks.v2beta3.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -680,38 +721,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -719,7 +761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.AppEngineRouting other) {
-      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -767,6 +810,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the task is sent to the service which is the default
@@ -785,13 +830,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -800,6 +845,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -818,15 +865,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -834,6 +880,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -852,20 +900,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -884,15 +934,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the task is sent to the service which is the default
@@ -911,16 +964,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -928,6 +981,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -946,13 +1001,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -961,6 +1016,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -979,15 +1036,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -995,6 +1051,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1013,20 +1071,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1045,15 +1105,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the task is sent to the version which is the default
@@ -1072,16 +1135,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1089,6 +1152,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1104,13 +1169,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1119,6 +1184,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1134,15 +1201,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1150,6 +1216,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1165,20 +1233,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1194,15 +1264,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the task is sent to an instance which is available when
@@ -1218,16 +1291,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1235,6 +1308,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1248,13 +1323,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1263,6 +1338,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1276,15 +1353,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1292,6 +1368,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1305,20 +1383,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1332,15 +1412,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the task is sent to.
      * The host is constructed from the domain name of the app associated with
@@ -1354,23 +1437,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1380,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.AppEngineRouting) private static final com.google.cloud.tasks.v2beta3.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.AppEngineRouting(); } @@ -1394,16 +1477,16 @@ public static com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1418,6 +1501,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java similarity index 89% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index c7550993..b6a7c17e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -26,10 +44,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the task is sent to the service which is the default
@@ -48,12 +69,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -72,10 +95,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the task is sent to the version which is the default
@@ -94,12 +120,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -115,10 +143,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the task is sent to an instance which is available when
@@ -134,12 +165,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -153,10 +186,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the task is sent to.
    * The host is constructed from the domain name of the app associated with
@@ -170,8 +206,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java index 2a3aa36d..178ff60f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Attempt.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The status of a task attempt.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ -public final class Attempt extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Attempt extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Attempt) AttemptOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Attempt.newBuilder() to construct. private Attempt(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Attempt() { - } + + private Attempt() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Attempt(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Attempt( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,73 @@ private Attempt( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } + + break; } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (dispatchTime_ != null) { + subBuilder = dispatchTime_.toBuilder(); + } + dispatchTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchTime_); + dispatchTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (dispatchTime_ != null) { - subBuilder = dispatchTime_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (responseTime_ != null) { + subBuilder = responseTime_.toBuilder(); + } + responseTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseTime_); + responseTime_ = subBuilder.buildPartial(); + } + + break; } - dispatchTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchTime_); - dispatchTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseStatus_ != null) { + subBuilder = responseStatus_.toBuilder(); + } + responseStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(responseStatus_); + responseStatus_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (responseTime_ != null) { - subBuilder = responseTime_.toBuilder(); - } - responseTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseTime_); - responseTime_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseStatus_ != null) { - subBuilder = responseStatus_.toBuilder(); - } - responseStatus_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(responseStatus_); - responseStatus_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,35 +142,40 @@ private Attempt( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } public static final int SCHEDULE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -154,19 +183,26 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -182,12 +218,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int DISPATCH_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp dispatchTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ @java.lang.Override @@ -195,19 +234,26 @@ public boolean hasDispatchTime() { return dispatchTime_ != null; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDispatchTime() { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -223,12 +269,15 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
   public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp responseTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ @java.lang.Override @@ -236,19 +285,26 @@ public boolean hasResponseTime() { return responseTime_ != null; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getResponseTime() { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -264,6 +320,8 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
   public static final int RESPONSE_STATUS_FIELD_NUMBER = 4;
   private com.google.rpc.Status responseStatus_;
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -271,6 +329,7 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ @java.lang.Override @@ -278,6 +337,8 @@ public boolean hasResponseStatus() { return responseStatus_ != null; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -285,6 +346,7 @@ public boolean hasResponseStatus() {
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ @java.lang.Override @@ -292,6 +354,8 @@ public com.google.rpc.Status getResponseStatus() { return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; } /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -306,6 +370,7 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -317,8 +382,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (scheduleTime_ != null) {
       output.writeMessage(1, getScheduleTime());
     }
@@ -341,20 +405,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getScheduleTime());
     }
     if (dispatchTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDispatchTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDispatchTime());
     }
     if (responseTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getResponseTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
     }
     if (responseStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getResponseStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getResponseStatus());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,7 +424,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.tasks.v2beta3.Attempt)) {
       return super.equals(obj);
@@ -373,23 +433,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasDispatchTime() != other.hasDispatchTime()) return false;
     if (hasDispatchTime()) {
-      if (!getDispatchTime()
-          .equals(other.getDispatchTime())) return false;
+      if (!getDispatchTime().equals(other.getDispatchTime())) return false;
     }
     if (hasResponseTime() != other.hasResponseTime()) return false;
     if (hasResponseTime()) {
-      if (!getResponseTime()
-          .equals(other.getResponseTime())) return false;
+      if (!getResponseTime().equals(other.getResponseTime())) return false;
     }
     if (hasResponseStatus() != other.hasResponseStatus()) return false;
     if (hasResponseStatus()) {
-      if (!getResponseStatus()
-          .equals(other.getResponseStatus())) return false;
+      if (!getResponseStatus().equals(other.getResponseStatus())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -423,118 +479,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.Attempt parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt 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 status of a task attempt.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.Attempt} */ - 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.tasks.v2beta3.Attempt) com.google.cloud.tasks.v2beta3.AttemptOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Attempt.class, com.google.cloud.tasks.v2beta3.Attempt.Builder.class); + com.google.cloud.tasks.v2beta3.Attempt.class, + com.google.cloud.tasks.v2beta3.Attempt.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Attempt.newBuilder() @@ -542,16 +607,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; } @java.lang.Override @@ -604,7 +668,8 @@ public com.google.cloud.tasks.v2beta3.Attempt build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt buildPartial() { - com.google.cloud.tasks.v2beta3.Attempt result = new com.google.cloud.tasks.v2beta3.Attempt(this); + com.google.cloud.tasks.v2beta3.Attempt result = + new com.google.cloud.tasks.v2beta3.Attempt(this); if (scheduleTimeBuilder_ == null) { result.scheduleTime_ = scheduleTime_; } else { @@ -633,38 +698,39 @@ public com.google.cloud.tasks.v2beta3.Attempt 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.tasks.v2beta3.Attempt) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Attempt) other); } else { super.mergeFrom(other); return this; @@ -716,36 +782,49 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -767,6 +846,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -774,8 +855,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 1;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -786,6 +866,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -797,7 +879,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -809,6 +893,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -828,6 +914,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -836,11 +924,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -852,11 +942,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was scheduled.
      * `schedule_time` will be truncated to the nearest microsecond.
@@ -865,14 +958,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -880,36 +976,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp dispatchTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> dispatchTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        dispatchTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ public boolean hasDispatchTime() { return dispatchTimeBuilder_ != null || dispatchTime_ != null; } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ public com.google.protobuf.Timestamp getDispatchTime() { if (dispatchTimeBuilder_ == null) { - return dispatchTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_; + return dispatchTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : dispatchTime_; } else { return dispatchTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -931,6 +1040,8 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -938,8 +1049,7 @@ public Builder setDispatchTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
-    public Builder setDispatchTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (dispatchTimeBuilder_ == null) {
         dispatchTime_ = builderForValue.build();
         onChanged();
@@ -950,6 +1060,8 @@ public Builder setDispatchTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -961,7 +1073,9 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       if (dispatchTimeBuilder_ == null) {
         if (dispatchTime_ != null) {
           dispatchTime_ =
-            com.google.protobuf.Timestamp.newBuilder(dispatchTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(dispatchTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchTime_ = value;
         }
@@ -973,6 +1087,8 @@ public Builder mergeDispatchTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -992,6 +1108,8 @@ public Builder clearDispatchTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1000,11 +1118,13 @@ public Builder clearDispatchTime() {
      * .google.protobuf.Timestamp dispatch_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getDispatchTimeBuilder() {
-      
+
       onChanged();
       return getDispatchTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1016,11 +1136,14 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
       if (dispatchTimeBuilder_ != null) {
         return dispatchTimeBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : dispatchTime_;
+        return dispatchTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : dispatchTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt was dispatched.
      * `dispatch_time` will be truncated to the nearest microsecond.
@@ -1029,14 +1152,17 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
      * .google.protobuf.Timestamp dispatch_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>
         getDispatchTimeFieldBuilder() {
       if (dispatchTimeBuilder_ == null) {
-        dispatchTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getDispatchTime(),
-                getParentForChildren(),
-                isClean());
+        dispatchTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getDispatchTime(), getParentForChildren(), isClean());
         dispatchTime_ = null;
       }
       return dispatchTimeBuilder_;
@@ -1044,36 +1170,49 @@ public com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp responseTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> responseTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        responseTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ public boolean hasResponseTime() { return responseTimeBuilder_ != null || responseTime_ != null; } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
      * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ public com.google.protobuf.Timestamp getResponseTime() { if (responseTimeBuilder_ == null) { - return responseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_; + return responseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : responseTime_; } else { return responseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1095,6 +1234,8 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1102,8 +1243,7 @@ public Builder setResponseTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp response_time = 3;
      */
-    public Builder setResponseTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (responseTimeBuilder_ == null) {
         responseTime_ = builderForValue.build();
         onChanged();
@@ -1114,6 +1254,8 @@ public Builder setResponseTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1125,7 +1267,9 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       if (responseTimeBuilder_ == null) {
         if (responseTime_ != null) {
           responseTime_ =
-            com.google.protobuf.Timestamp.newBuilder(responseTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(responseTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseTime_ = value;
         }
@@ -1137,6 +1281,8 @@ public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1156,6 +1302,8 @@ public Builder clearResponseTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1164,11 +1312,13 @@ public Builder clearResponseTime() {
      * .google.protobuf.Timestamp response_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
-      
+
       onChanged();
       return getResponseTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1180,11 +1330,14 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
       if (responseTimeBuilder_ != null) {
         return responseTimeBuilder_.getMessageOrBuilder();
       } else {
-        return responseTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : responseTime_;
+        return responseTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : responseTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time that this attempt response was received.
      * `response_time` will be truncated to the nearest microsecond.
@@ -1193,14 +1346,17 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * .google.protobuf.Timestamp response_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>
         getResponseTimeFieldBuilder() {
       if (responseTimeBuilder_ == null) {
-        responseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getResponseTime(),
-                getParentForChildren(),
-                isClean());
+        responseTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getResponseTime(), getParentForChildren(), isClean());
         responseTime_ = null;
       }
       return responseTimeBuilder_;
@@ -1208,8 +1364,11 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
 
     private com.google.rpc.Status responseStatus_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> responseStatusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        responseStatusBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1217,12 +1376,15 @@ public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ public boolean hasResponseStatus() { return responseStatusBuilder_ != null || responseStatus_ != null; } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1230,16 +1392,21 @@ public boolean hasResponseStatus() {
      * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ public com.google.rpc.Status getResponseStatus() { if (responseStatusBuilder_ == null) { - return responseStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : responseStatus_; + return responseStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : responseStatus_; } else { return responseStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1262,6 +1429,8 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1270,8 +1439,7 @@ public Builder setResponseStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status response_status = 4;
      */
-    public Builder setResponseStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue) {
       if (responseStatusBuilder_ == null) {
         responseStatus_ = builderForValue.build();
         onChanged();
@@ -1282,6 +1450,8 @@ public Builder setResponseStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1294,7 +1464,7 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       if (responseStatusBuilder_ == null) {
         if (responseStatus_ != null) {
           responseStatus_ =
-            com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
+              com.google.rpc.Status.newBuilder(responseStatus_).mergeFrom(value).buildPartial();
         } else {
           responseStatus_ = value;
         }
@@ -1306,6 +1476,8 @@ public Builder mergeResponseStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1326,6 +1498,8 @@ public Builder clearResponseStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1335,11 +1509,13 @@ public Builder clearResponseStatus() {
      * .google.rpc.Status response_status = 4;
      */
     public com.google.rpc.Status.Builder getResponseStatusBuilder() {
-      
+
       onChanged();
       return getResponseStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1352,11 +1528,14 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
       if (responseStatusBuilder_ != null) {
         return responseStatusBuilder_.getMessageOrBuilder();
       } else {
-        return responseStatus_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : responseStatus_;
+        return responseStatus_ == null
+            ? com.google.rpc.Status.getDefaultInstance()
+            : responseStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The response from the worker for this attempt.
      * If `response_time` is unset, then the task has not been attempted or is
@@ -1366,21 +1545,22 @@ public com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder() {
      * .google.rpc.Status response_status = 4;
      */
     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>
         getResponseStatusFieldBuilder() {
       if (responseStatusBuilder_ == null) {
-        responseStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getResponseStatus(),
-                getParentForChildren(),
-                isClean());
+        responseStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                getResponseStatus(), getParentForChildren(), isClean());
         responseStatus_ = null;
       }
       return responseStatusBuilder_;
     }
+
     @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);
     }
 
@@ -1390,12 +1570,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Attempt)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Attempt)
   private static final com.google.cloud.tasks.v2beta3.Attempt DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Attempt();
   }
@@ -1404,16 +1584,16 @@ public static com.google.cloud.tasks.v2beta3.Attempt getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Attempt parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Attempt(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Attempt parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Attempt(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1428,6 +1608,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.Attempt getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
index 0151d1c3..9b943d64 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AttemptOrBuilder.java
@@ -1,33 +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/tasks/v2beta3/task.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface AttemptOrBuilder extends
+public interface AttemptOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp schedule_time = 1; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The time that this attempt was scheduled.
    * `schedule_time` will be truncated to the nearest microsecond.
@@ -38,26 +62,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return Whether the dispatchTime field is set. */ boolean hasDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp dispatch_time = 2; + * * @return The dispatchTime. */ com.google.protobuf.Timestamp getDispatchTime(); /** + * + * *
    * Output only. The time that this attempt was dispatched.
    * `dispatch_time` will be truncated to the nearest microsecond.
@@ -68,26 +100,34 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return Whether the responseTime field is set. */ boolean hasResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
    * 
* * .google.protobuf.Timestamp response_time = 3; + * * @return The responseTime. */ com.google.protobuf.Timestamp getResponseTime(); /** + * + * *
    * Output only. The time that this attempt response was received.
    * `response_time` will be truncated to the nearest microsecond.
@@ -98,6 +138,8 @@ public interface AttemptOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -105,10 +147,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return Whether the responseStatus field is set. */ boolean hasResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
@@ -116,10 +161,13 @@ public interface AttemptOrBuilder extends
    * 
* * .google.rpc.Status response_status = 4; + * * @return The responseStatus. */ com.google.rpc.Status getResponseStatus(); /** + * + * *
    * Output only. The response from the worker for this attempt.
    * If `response_time` is unset, then the task has not been attempted or is
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
new file mode 100644
index 00000000..f9f9d0eb
--- /dev/null
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java
@@ -0,0 +1,388 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/tasks/v2beta3/cloudtasks.proto
+
+package com.google.cloud.tasks.v2beta3;
+
+public final class CloudTasksProto {
+  private CloudTasksProto() {}
+
+  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_tasks_v2beta3_ListQueuesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_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/tasks/v2beta3/cloudtasks."
+          + "proto\022\032google.cloud.tasks.v2beta3\032\034googl"
+          + "e/api/annotations.proto\032\027google/api/clie"
+          + "nt.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032&google/clo"
+          + "ud/tasks/v2beta3/queue.proto\032%google/clo"
+          + "ud/tasks/v2beta3/task.proto\032\036google/iam/"
+          + "v1/iam_policy.proto\032\032google/iam/v1/polic"
+          + "y.proto\032\033google/protobuf/empty.proto\032 go"
+          + "ogle/protobuf/field_mask.proto\"\267\001\n\021ListQ"
+          + "ueuesRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037cl"
+          + "oudtasks.googleapis.com/Queue\022\016\n\006filter\030"
+          + "\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004"
+          + " \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobu"
+          + "f.FieldMaskB\003\340A\001\"`\n\022ListQueuesResponse\0221"
+          + "\n\006queues\030\001 \003(\0132!.google.cloud.tasks.v2be"
+          + "ta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"|\n\017Ge"
+          + "tQueueRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037clo"
+          + "udtasks.googleapis.com/Queue\0222\n\tread_mas"
+          + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001"
+          + "\"\204\001\n\022CreateQueueRequest\0227\n\006parent\030\001 \001(\tB"
+          + "\'\340A\002\372A!\022\037cloudtasks.googleapis.com/Queue"
+          + "\0225\n\005queue\030\002 \001(\0132!.google.cloud.tasks.v2b"
+          + "eta3.QueueB\003\340A\002\"|\n\022UpdateQueueRequest\0225\n"
+          + "\005queue\030\001 \001(\0132!.google.cloud.tasks.v2beta"
+          + "3.QueueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog"
+          + "le.protobuf.FieldMask\"K\n\022DeleteQueueRequ"
+          + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.go"
+          + "ogleapis.com/Queue\"J\n\021PurgeQueueRequest\022"
+          + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.google"
+          + "apis.com/Queue\"J\n\021PauseQueueRequest\0225\n\004n"
+          + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis"
+          + ".com/Queue\"K\n\022ResumeQueueRequest\0225\n\004name"
+          + "\030\001 \001(\tB\'\340A\002\372A!\n\037cloudtasks.googleapis.co"
+          + "m/Queue\"\257\001\n\020ListTasksRequest\0226\n\006parent\030\001"
+          + " \001(\tB&\340A\002\372A \022\036cloudtasks.googleapis.com/"
+          + "Task\022<\n\rresponse_view\030\002 \001(\0162%.google.clo"
+          + "ud.tasks.v2beta3.Task.View\022\021\n\tpage_size\030"
+          + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasksRe"
+          + "sponse\022/\n\005tasks\030\001 \003(\0132 .google.cloud.tas"
+          + "ks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001(\t"
+          + "\"\204\001\n\016GetTaskRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A"
+          + " \n\036cloudtasks.googleapis.com/Task\022<\n\rres"
+          + "ponse_view\030\002 \001(\0162%.google.cloud.tasks.v2"
+          + "beta3.Task.View\"\276\001\n\021CreateTaskRequest\0226\n"
+          + "\006parent\030\001 \001(\tB&\340A\002\372A \022\036cloudtasks.google"
+          + "apis.com/Task\0223\n\004task\030\002 \001(\0132 .google.clo"
+          + "ud.tasks.v2beta3.TaskB\003\340A\002\022<\n\rresponse_v"
+          + "iew\030\003 \001(\0162%.google.cloud.tasks.v2beta3.T"
+          + "ask.View\"I\n\021DeleteTaskRequest\0224\n\004name\030\001 "
+          + "\001(\tB&\340A\002\372A \n\036cloudtasks.googleapis.com/T"
+          + "ask\"\204\001\n\016RunTaskRequest\0224\n\004name\030\001 \001(\tB&\340A"
+          + "\002\372A \n\036cloudtasks.googleapis.com/Task\022<\n\r"
+          + "response_view\030\002 \001(\0162%.google.cloud.tasks"
+          + ".v2beta3.Task.View2\245\026\n\nCloudTasks\022\255\001\n\nLi"
+          + "stQueues\022-.google.cloud.tasks.v2beta3.Li"
+          + "stQueuesRequest\032..google.cloud.tasks.v2b"
+          + "eta3.ListQueuesResponse\"@\202\323\344\223\0021\022//v2beta"
+          + "3/{parent=projects/*/locations/*}/queues"
+          + "\332A\006parent\022\232\001\n\010GetQueue\022+.google.cloud.ta"
+          + "sks.v2beta3.GetQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\">\202\323\344\223\0021\022//v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}\332"
+          + "A\004name\022\257\001\n\013CreateQueue\022..google.cloud.ta"
+          + "sks.v2beta3.CreateQueueRequest\032!.google."
+          + "cloud.tasks.v2beta3.Queue\"M\202\323\344\223\0028\"//v2be"
+          + "ta3/{parent=projects/*/locations/*}/queu"
+          + "es:\005queue\332A\014parent,queue\022\272\001\n\013UpdateQueue"
+          + "\022..google.cloud.tasks.v2beta3.UpdateQueu"
+          + "eRequest\032!.google.cloud.tasks.v2beta3.Qu"
+          + "eue\"X\202\323\344\223\002>25/v2beta3/{queue.name=projec"
+          + "ts/*/locations/*/queues/*}:\005queue\332A\021queu"
+          + "e,update_mask\022\225\001\n\013DeleteQueue\022..google.c"
+          + "loud.tasks.v2beta3.DeleteQueueRequest\032\026."
+          + "google.protobuf.Empty\">\202\323\344\223\0021*//v2beta3/"
+          + "{name=projects/*/locations/*/queues/*}\332A"
+          + "\004name\022\247\001\n\nPurgeQueue\022-.google.cloud.task"
+          + "s.v2beta3.PurgeQueueRequest\032!.google.clo"
+          + "ud.tasks.v2beta3.Queue\"G\202\323\344\223\002:\"5/v2beta3"
+          + "/{name=projects/*/locations/*/queues/*}:"
+          + "purge:\001*\332A\004name\022\247\001\n\nPauseQueue\022-.google."
+          + "cloud.tasks.v2beta3.PauseQueueRequest\032!."
+          + "google.cloud.tasks.v2beta3.Queue\"G\202\323\344\223\002:"
+          + "\"5/v2beta3/{name=projects/*/locations/*/"
+          + "queues/*}:pause:\001*\332A\004name\022\252\001\n\013ResumeQueu"
+          + "e\022..google.cloud.tasks.v2beta3.ResumeQue"
+          + "ueRequest\032!.google.cloud.tasks.v2beta3.Q"
+          + "ueue\"H\202\323\344\223\002;\"6/v2beta3/{name=projects/*/"
+          + "locations/*/queues/*}:resume:\001*\332A\004name\022\241"
+          + "\001\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo"
+          + "licyRequest\032\025.google.iam.v1.Policy\"V\202\323\344\223"
+          + "\002E\"@/v2beta3/{resource=projects/*/locati"
+          + "ons/*/queues/*}:getIamPolicy:\001*\332A\010resour"
+          + "ce\022\250\001\n\014SetIamPolicy\022\".google.iam.v1.SetI"
+          + "amPolicyRequest\032\025.google.iam.v1.Policy\"]"
+          + "\202\323\344\223\002E\"@/v2beta3/{resource=projects/*/lo"
+          + "cations/*/queues/*}:setIamPolicy:\001*\332A\017re"
+          + "source,policy\022\323\001\n\022TestIamPermissions\022(.g"
+          + "oogle.iam.v1.TestIamPermissionsRequest\032)"
+          + ".google.iam.v1.TestIamPermissionsRespons"
+          + "e\"h\202\323\344\223\002K\"F/v2beta3/{resource=projects/*"
+          + "/locations/*/queues/*}:testIamPermission"
+          + "s:\001*\332A\024resource,permissions\022\262\001\n\tListTask"
+          + "s\022,.google.cloud.tasks.v2beta3.ListTasks"
+          + "Request\032-.google.cloud.tasks.v2beta3.Lis"
+          + "tTasksResponse\"H\202\323\344\223\0029\0227/v2beta3/{parent"
+          + "=projects/*/locations/*/queues/*}/tasks\332"
+          + "A\006parent\022\237\001\n\007GetTask\022*.google.cloud.task"
+          + "s.v2beta3.GetTaskRequest\032 .google.cloud."
+          + "tasks.v2beta3.Task\"F\202\323\344\223\0029\0227/v2beta3/{na"
+          + "me=projects/*/locations/*/queues/*/tasks"
+          + "/*}\332A\004name\022\257\001\n\nCreateTask\022-.google.cloud"
+          + ".tasks.v2beta3.CreateTaskRequest\032 .googl"
+          + "e.cloud.tasks.v2beta3.Task\"P\202\323\344\223\002<\"7/v2b"
+          + "eta3/{parent=projects/*/locations/*/queu"
+          + "es/*}/tasks:\001*\332A\013parent,task\022\233\001\n\nDeleteT"
+          + "ask\022-.google.cloud.tasks.v2beta3.DeleteT"
+          + "askRequest\032\026.google.protobuf.Empty\"F\202\323\344\223"
+          + "\0029*7/v2beta3/{name=projects/*/locations/"
+          + "*/queues/*/tasks/*}\332A\004name\022\246\001\n\007RunTask\022*"
+          + ".google.cloud.tasks.v2beta3.RunTaskReque"
+          + "st\032 .google.cloud.tasks.v2beta3.Task\"M\202\323"
+          + "\344\223\002@\";/v2beta3/{name=projects/*/location"
+          + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031"
+          + "cloudtasks.googleapis.com\322A.https://www."
+          + "googleapis.com/auth/cloud-platformB|\n\036co"
+          + "m.google.cloud.tasks.v2beta3B\017CloudTasks"
+          + "ProtoP\001Z?google.golang.org/genproto/goog"
+          + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS"
+          + "b\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.tasks.v2beta3.QueueProto.getDescriptor(),
+              com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(),
+              com.google.iam.v1.IamPolicyProto.getDescriptor(),
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor,
+            new java.lang.String[] {
+              "Queues", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ReadMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Queue",
+            });
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Queue", "UpdateMask",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ResponseView", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor,
+            new java.lang.String[] {
+              "Tasks", "NextPageToken",
+            });
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Task", "ResponseView",
+            });
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "ResponseView",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor();
+    com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor();
+    com.google.iam.v1.IamPolicyProto.getDescriptor();
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
similarity index 68%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
index 077c4486..91bd1d65 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ -public final class CreateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateQueueRequest) CreateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateQueueRequest.newBuilder() to construct. private CreateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateQueueRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); + parent_ = s; + break; } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -117,7 +142,10 @@ private CreateQueueRequest(
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 @@ -126,14 +154,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -142,17 +171,18 @@ public java.lang.String getParent() {
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 { @@ -163,12 +193,16 @@ public java.lang.String getParent() { public static final int QUEUE_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -176,12 +210,16 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -189,12 +227,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -202,6 +243,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,8 +275,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +285,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateQueueRequest other = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; + com.google.cloud.tasks.v2beta3.CreateQueueRequest other = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { - if (!getQueue() - .equals(other.getQueue())) return false; + if (!getQueue().equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +321,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest 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 [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} */ - 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.tasks.v2beta3.CreateQueueRequest) com.google.cloud.tasks.v2beta3.CreateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateQueueRequest.class, + com.google.cloud.tasks.v2beta3.CreateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateQueueRequest.newBuilder() @@ -400,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +493,8 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateQueueRequest result = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); + com.google.cloud.tasks.v2beta3.CreateQueueRequest result = + new com.google.cloud.tasks.v2beta3.CreateQueueRequest(this); result.parent_ = parent_; if (queueBuilder_ == null) { result.queue_ = queue_; @@ -461,38 +509,39 @@ public com.google.cloud.tasks.v2beta3.CreateQueueRequest 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.tasks.v2beta3.CreateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -500,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateQueueRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -527,7 +577,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.CreateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,6 +590,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -547,14 +600,16 @@ public Builder mergeFrom(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -571,16 +628,17 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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 { @@ -588,6 +646,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -596,21 +656,25 @@ public java.lang.String getParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -619,16 +683,21 @@ public Builder setParent(
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name in which the queue will be created.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -637,17 +706,19 @@ public Builder clearParent() {
      * [ListLocations][google.cloud.location.Locations.ListLocations].
      * 
* - * 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; @@ -655,26 +726,37 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -685,12 +767,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -706,15 +791,17 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -725,18 +812,23 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -748,12 +840,15 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -767,58 +862,69 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create.
      * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; } + @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); } @@ -828,12 +934,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateQueueRequest) private static final com.google.cloud.tasks.v2beta3.CreateQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateQueueRequest(); } @@ -842,16 +948,16 @@ public static com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index bdfd7d8a..ffa30b22 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateQueueRequestOrBuilder extends +public interface CreateQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -16,11 +34,16 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name in which the queue will be created.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
@@ -29,39 +52,52 @@ public interface CreateQueueRequestOrBuilder extends
    * [ListLocations][google.cloud.location.Locations.ListLocations].
    * 
* - * 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 queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create.
    * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java similarity index 82% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index 57aa86ab..07fe1038 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ -public final class CreateTaskRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTaskRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.CreateTaskRequest) CreateTaskRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTaskRequest.newBuilder() to construct. private CreateTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTaskRequest() { parent_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private CreateTaskRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; - if (task_ != null) { - subBuilder = task_.toBuilder(); - } - task_ = input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(task_); - task_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.tasks.v2beta3.Task.Builder subBuilder = null; + if (task_ != null) { + subBuilder = task_.toBuilder(); + } + task_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(task_); + task_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); + break; + } + case 24: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,36 +115,43 @@ private CreateTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 @@ -131,31 +160,33 @@ 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 { @@ -166,6 +197,8 @@ public java.lang.String getParent() { public static final int TASK_FIELD_NUMBER = 2; private com.google.cloud.tasks.v2beta3.Task task_; /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -197,7 +230,9 @@ public java.lang.String getParent() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ @java.lang.Override @@ -205,6 +240,8 @@ public boolean hasTask() { return task_ != null; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -236,7 +273,9 @@ public boolean hasTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ @java.lang.Override @@ -244,6 +283,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -275,7 +316,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { @@ -285,6 +327,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 3; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -299,12 +343,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -319,15 +367,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -363,12 +414,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (task_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTask()); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -378,19 +427,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.CreateTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.CreateTaskRequest other = (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; + com.google.cloud.tasks.v2beta3.CreateTaskRequest other = + (com.google.cloud.tasks.v2beta3.CreateTaskRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTask() != other.hasTask()) return false; if (hasTask()) { - if (!getTask() - .equals(other.getTask())) return false; + if (!getTask().equals(other.getTask())) return false; } if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -417,118 +465,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest 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 [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} */ - 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.tasks.v2beta3.CreateTaskRequest) com.google.cloud.tasks.v2beta3.CreateTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.CreateTaskRequest.class, + com.google.cloud.tasks.v2beta3.CreateTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.CreateTaskRequest.newBuilder() @@ -536,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_CreateTaskRequest_descriptor; } @java.lang.Override @@ -584,7 +640,8 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.CreateTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.CreateTaskRequest result = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); + com.google.cloud.tasks.v2beta3.CreateTaskRequest result = + new com.google.cloud.tasks.v2beta3.CreateTaskRequest(this); result.parent_ = parent_; if (taskBuilder_ == null) { result.task_ = task_; @@ -600,38 +657,39 @@ public com.google.cloud.tasks.v2beta3.CreateTaskRequest 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.tasks.v2beta3.CreateTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.CreateTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +697,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.CreateTaskRequest other) { - if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.CreateTaskRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -681,20 +740,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -703,22 +766,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 { @@ -726,60 +792,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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 queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * The queue must already exist.
      * 
* - * 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; @@ -787,8 +866,13 @@ public Builder setParentBytes( private com.google.cloud.tasks.v2beta3.Task task_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> taskBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + taskBuilder_; /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -820,13 +904,17 @@ public Builder setParentBytes(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ public boolean hasTask() { return taskBuilder_ != null || task_ != null; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -858,7 +946,9 @@ public boolean hasTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ public com.google.cloud.tasks.v2beta3.Task getTask() { @@ -869,6 +959,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -900,7 +992,8 @@ public com.google.cloud.tasks.v2beta3.Task getTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { @@ -916,6 +1009,8 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -947,10 +1042,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTask( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (taskBuilder_ == null) { task_ = builderForValue.build(); onChanged(); @@ -961,6 +1056,8 @@ public Builder setTask( return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -992,13 +1089,14 @@ public Builder setTask(
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { if (taskBuilder_ == null) { if (task_ != null) { task_ = - com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Task.newBuilder(task_).mergeFrom(value).buildPartial(); } else { task_ = value; } @@ -1010,6 +1108,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1041,7 +1141,8 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -1055,6 +1156,8 @@ public Builder clearTask() { return this; } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1086,14 +1189,17 @@ public Builder clearTask() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { - + onChanged(); return getTaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1125,17 +1231,19 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { if (taskBuilder_ != null) { return taskBuilder_.getMessageOrBuilder(); } else { - return task_ == null ? - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; + return task_ == null ? com.google.cloud.tasks.v2beta3.Task.getDefaultInstance() : task_; } } /** + * + * *
      * Required. The task to add.
      * Task names have the following format:
@@ -1167,17 +1275,21 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * efficiently.
      * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTaskFieldBuilder() { if (taskBuilder_ == null) { - taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - getTask(), - getParentForChildren(), - isClean()); + taskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + getTask(), getParentForChildren(), isClean()); task_ = null; } return taskBuilder_; @@ -1185,6 +1297,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1199,12 +1313,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1219,16 +1337,19 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1243,15 +1364,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1266,6 +1391,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -1273,12 +1399,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -1293,17 +1421,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -1313,12 +1442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.CreateTaskRequest) private static final com.google.cloud.tasks.v2beta3.CreateTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.CreateTaskRequest(); } @@ -1327,16 +1456,16 @@ public static com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1351,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.CreateTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index 73c305d4..3dca068b 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -1,37 +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/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface CreateTaskRequestOrBuilder extends +public interface CreateTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.CreateTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * The queue must already exist.
    * 
* - * 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 task to add.
    * Task names have the following format:
@@ -63,11 +90,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the task field is set. */ boolean hasTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -99,11 +130,15 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The task. */ com.google.cloud.tasks.v2beta3.Task getTask(); /** + * + * *
    * Required. The task to add.
    * Task names have the following format:
@@ -135,11 +170,14 @@ public interface CreateTaskRequestOrBuilder extends
    * efficiently.
    * 
* - * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Task task = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -154,10 +192,13 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -172,6 +213,7 @@ public interface CreateTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index 2e413529..1be3d865 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ -public final class DeleteQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteQueueRequest) DeleteQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteQueueRequest.newBuilder() to construct. private DeleteQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteQueueRequest other = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest 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 [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} */ - 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.tasks.v2beta3.DeleteQueueRequest) com.google.cloud.tasks.v2beta3.DeleteQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.class, + com.google.cloud.tasks.v2beta3.DeleteQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.DeleteQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_DeleteQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.DeleteQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); + com.google.cloud.tasks.v2beta3.DeleteQueueRequest result = + new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.DeleteQueueRequest 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.tasks.v2beta3.DeleteQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.DeleteQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.DeleteQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteQueueRequest) private static final com.google.cloud.tasks.v2beta3.DeleteQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java new file mode 100644 index 00000000..1005fb1e --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java similarity index 66% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java index 637d4d5f..23d7d974 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for deleting a task using
  * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
  */
-public final class DeleteTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.DeleteTaskRequest)
     DeleteTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTaskRequest.newBuilder() to construct.
   private DeleteTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTaskRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.DeleteTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; + com.google.cloud.tasks.v2beta3.DeleteTaskRequest other = + (com.google.cloud.tasks.v2beta3.DeleteTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest 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 task using
    * [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteTaskRequest}
    */
-  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.tasks.v2beta3.DeleteTaskRequest)
       com.google.cloud.tasks.v2beta3.DeleteTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class, com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.DeleteTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.DeleteTaskRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_DeleteTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.DeleteTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.DeleteTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.tasks.v2beta3.DeleteTaskRequest 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.tasks.v2beta3.DeleteTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.DeleteTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.DeleteTaskRequest other) {
-      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.DeleteTaskRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.DeleteTaskRequest) private static final com.google.cloud.tasks.v2beta3.DeleteTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.DeleteTaskRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.DeleteTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java new file mode 100644 index 00000000..31df875a --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteTaskRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface DeleteTaskRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.DeleteTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The task name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index 6deb7db0..22f86ccf 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ -public final class GetQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.GetQueueRequest) GetQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetQueueRequest.newBuilder() to construct. private GetQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private GetQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + name_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private GetQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,30 +150,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 resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getName() { public static final int READ_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -164,7 +195,9 @@ public java.lang.String getName() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -172,6 +205,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -179,7 +214,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -187,6 +224,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -194,7 +233,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -202,6 +242,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -234,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -245,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.GetQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetQueueRequest other = (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; + com.google.cloud.tasks.v2beta3.GetQueueRequest other = + (com.google.cloud.tasks.v2beta3.GetQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,118 +319,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest 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 [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} */ - 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.tasks.v2beta3.GetQueueRequest) com.google.cloud.tasks.v2beta3.GetQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetQueueRequest.class, com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetQueueRequest.class, + com.google.cloud.tasks.v2beta3.GetQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetQueueRequest.newBuilder() @@ -400,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetQueueRequest_descriptor; } @java.lang.Override @@ -446,7 +492,8 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetQueueRequest result = new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); + com.google.cloud.tasks.v2beta3.GetQueueRequest result = + new com.google.cloud.tasks.v2beta3.GetQueueRequest(this); result.name_ = name_; if (readMaskBuilder_ == null) { result.readMask_ = readMask_; @@ -461,38 +508,39 @@ public com.google.cloud.tasks.v2beta3.GetQueueRequest 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.tasks.v2beta3.GetQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -539,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -560,21 +612,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,57 +637,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the queue. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -640,8 +708,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -649,13 +722,17 @@ public Builder setNameBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -663,7 +740,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -674,6 +753,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -681,7 +762,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -697,6 +779,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -704,10 +788,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -718,6 +802,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -725,13 +811,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -743,6 +830,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -750,7 +839,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -764,6 +854,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -771,14 +863,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -786,17 +881,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -804,24 +901,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -831,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetQueueRequest) private static final com.google.cloud.tasks.v2beta3.GetQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetQueueRequest(); } @@ -845,16 +946,16 @@ public static com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java index 334e474b..f8c79d47 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetQueueRequestOrBuilder extends +public interface GetQueueRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetQueueRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the queue. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -37,11 +64,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -49,11 +80,15 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -61,7 +96,8 @@ public interface GetQueueRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index af9e4c2e..4042daaa 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -26,16 +44,15 @@ private GetTaskRequest() { @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; } + private GetTaskRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetTaskRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - responseView_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + responseView_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private GetTaskRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,6 +179,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -165,12 +195,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -185,15 +219,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -237,15 +273,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.tasks.v2beta3.GetTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.GetTaskRequest other = (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; + com.google.cloud.tasks.v2beta3.GetTaskRequest other = + (com.google.cloud.tasks.v2beta3.GetTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -267,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.GetTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) com.google.cloud.tasks.v2beta3.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.GetTaskRequest.class, com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); + com.google.cloud.tasks.v2beta3.GetTaskRequest.class, + com.google.cloud.tasks.v2beta3.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.GetTaskRequest.newBuilder() @@ -386,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_GetTaskRequest_descriptor; } @java.lang.Override @@ -428,7 +472,8 @@ public com.google.cloud.tasks.v2beta3.GetTaskRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.GetTaskRequest buildPartial() { - com.google.cloud.tasks.v2beta3.GetTaskRequest result = new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); + com.google.cloud.tasks.v2beta3.GetTaskRequest result = + new com.google.cloud.tasks.v2beta3.GetTaskRequest(this); result.name_ = name_; result.responseView_ = responseView_; onBuilt(); @@ -439,38 +484,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.GetTaskRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.GetTaskRequest) other); } else { super.mergeFrom(other); return this; @@ -517,19 +563,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -538,21 +588,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,57 +613,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -618,6 +684,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -632,12 +700,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -652,16 +724,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -676,15 +751,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -699,6 +778,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -706,12 +786,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -726,17 +808,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -746,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.GetTaskRequest) private static final com.google.cloud.tasks.v2beta3.GetTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.GetTaskRequest(); } @@ -760,16 +843,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new GetTaskRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 5ffdb3d2..702b5ba7 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface GetTaskRequestOrBuilder extends +public interface GetTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface GetTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java index 56c8b354..f6dd90bc 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * The HTTP method used to execute the task.
  * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.tasks.v2beta3.HttpMethod) } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index 14c36862..55ca2408 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * HTTP request.
  * The task will be pushed to the worker as an HTTP request. If the worker
@@ -31,15 +48,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
  */
-public final class HttpRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.HttpRequest)
     HttpRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpRequest.newBuilder() to construct.
   private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpRequest() {
     url_ = "";
     httpMethod_ = 0;
@@ -48,16 +66,15 @@ private HttpRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,71 +94,82 @@ private HttpRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            url_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              url_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,47 +177,51 @@ private HttpRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.HttpRequest.class,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -205,26 +237,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URL_FIELD_NUMBER = 1;
   private volatile java.lang.Object url_;
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -236,6 +273,7 @@ public int getNumber() {
    * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -244,14 +282,15 @@ public java.lang.String getUrl() { 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(); url_ = s; return s; } } /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -263,16 +302,15 @@ public java.lang.String getUrl() {
    * 
* * string url = 1; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -283,49 +321,57 @@ public java.lang.String getUrl() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -334,6 +380,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -360,22 +408,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -403,11 +451,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -435,16 +484,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -472,12 +521,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -487,6 +535,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -495,6 +545,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -504,6 +555,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -514,6 +567,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -521,6 +575,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -531,16 +587,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -555,13 +614,15 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -573,6 +634,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -580,6 +642,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -591,16 +655,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; } return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -616,12 +683,13 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
+      return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -633,20 +701,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -668,31 +732,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
     }
-    if (httpMethod_ != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
+    if (httpMethod_
+        != com.google.cloud.tasks.v2beta3.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -702,29 +767,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.tasks.v2beta3.HttpRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.HttpRequest other = (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
+    com.google.cloud.tasks.v2beta3.HttpRequest other =
+        (com.google.cloud.tasks.v2beta3.HttpRequest) obj;
 
-    if (!getUrl()
-        .equals(other.getUrl())) return false;
+    if (!getUrl().equals(other.getUrl())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -767,97 +828,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.HttpRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * HTTP request.
    * The task will be pushed to the worker as an HTTP request. If the worker
@@ -885,43 +953,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.HttpRequest}
    */
-  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.tasks.v2beta3.HttpRequest)
       com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.HttpRequest.class, com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.HttpRequest.class,
+              com.google.cloud.tasks.v2beta3.HttpRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder()
@@ -929,16 +997,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -955,9 +1022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor;
     }
 
     @java.lang.Override
@@ -976,7 +1043,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.HttpRequest result = new com.google.cloud.tasks.v2beta3.HttpRequest(this);
+      com.google.cloud.tasks.v2beta3.HttpRequest result =
+          new com.google.cloud.tasks.v2beta3.HttpRequest(this);
       int from_bitField0_ = bitField0_;
       result.url_ = url_;
       result.httpMethod_ = httpMethod_;
@@ -1006,38 +1074,39 @@ public com.google.cloud.tasks.v2beta3.HttpRequest 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.tasks.v2beta3.HttpRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1053,23 +1122,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1099,12 +1170,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1118,6 +1189,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object url_ = "";
     /**
+     *
+     *
      * 
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1129,13 +1202,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string url = 1; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; @@ -1144,6 +1217,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1155,15 +1230,14 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; 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); url_ = b; return b; } else { @@ -1171,6 +1245,8 @@ public java.lang.String getUrl() { } } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1182,20 +1258,22 @@ public java.lang.String getUrl() {
      * 
* * string url = 1; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1207,15 +1285,18 @@ public Builder setUrl(
      * 
* * string url = 1; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
      * Required. The full url path that the request will be sent to.
      * This string must begin with either "http://" or "https://". Some examples
@@ -1227,16 +1308,16 @@ public Builder clearUrl() {
      * 
* * string url = 1; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1244,51 +1325,65 @@ public Builder setUrlBytes( private int httpMethod_ = 0; /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.HttpMethod result = com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); + com.google.cloud.tasks.v2beta3.HttpMethod result = + com.google.cloud.tasks.v2beta3.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.tasks.v2beta3.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1296,42 +1391,44 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. The default is POST.
      * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1343,6 +1440,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1369,22 +1468,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1412,11 +1511,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1444,16 +1544,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1481,12 +1582,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1494,11 +1594,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1525,23 +1626,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1568,19 +1667,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values.
@@ -1607,16 +1707,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body.
      * A request body is allowed only if the
@@ -1625,6 +1724,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1632,6 +1732,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1640,19 +1742,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body.
      * A request body is allowed only if the
@@ -1661,18 +1766,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1683,6 +1794,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1690,6 +1802,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1700,6 +1814,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1717,6 +1832,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1742,6 +1859,8 @@ public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1765,6 +1884,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1778,10 +1899,14 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1797,6 +1922,8 @@ public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value)
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1825,6 +1952,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1840,6 +1969,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder()
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1863,6 +1994,8 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1875,27 +2008,38 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OAuthToken,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+            com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OAuthToken, com.google.cloud.tasks.v2beta3.OAuthToken.Builder, com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OAuthToken,
+                com.google.cloud.tasks.v2beta3.OAuthToken.Builder,
+                com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1907,6 +2051,7 @@ public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1914,6 +2059,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1925,6 +2072,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1942,6 +2090,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1968,6 +2118,8 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1980,8 +2132,7 @@ public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
      *
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1992,6 +2143,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2006,10 +2159,14 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.newBuilder((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_
+                != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.tasks.v2beta3.OidcToken.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2025,6 +2182,8 @@ public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2054,6 +2213,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2070,6 +2231,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2094,6 +2257,8 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2107,26 +2272,32 @@ public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> 
+            com.google.cloud.tasks.v2beta3.OidcToken,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+            com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.OidcToken, com.google.cloud.tasks.v2beta3.OidcToken.Builder, com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.OidcToken,
+                com.google.cloud.tasks.v2beta3.OidcToken.Builder,
+                com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2136,12 +2307,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.HttpRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.HttpRequest)
   private static final com.google.cloud.tasks.v2beta3.HttpRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.HttpRequest();
   }
@@ -2150,16 +2321,16 @@ public static com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2174,6 +2345,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.HttpRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
similarity index 90%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
index 991d24a9..a6be1e13 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/target.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface HttpRequestOrBuilder extends
+public interface HttpRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.HttpRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -19,10 +37,13 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
    * Required. The full url path that the request will be sent to.
    * This string must begin with either "http://" or "https://". Some examples
@@ -34,31 +55,39 @@ public interface HttpRequestOrBuilder extends
    * 
* * string url = 1; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. The default is POST.
    * 
* * .google.cloud.tasks.v2beta3.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -87,6 +116,8 @@ public interface HttpRequestOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -113,15 +144,13 @@ public interface HttpRequestOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -148,9 +177,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -179,11 +209,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values.
@@ -210,11 +242,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body.
    * A request body is allowed only if the
@@ -223,11 +255,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -238,10 +273,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,10 +290,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -270,6 +311,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -281,10 +324,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -296,10 +342,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -314,5 +363,6 @@ java.lang.String getHeadersOrThrow(
    */
   com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase getAuthorizationHeaderCase();
+  public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase
+      getAuthorizationHeaderCase();
 }
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
index 460c3866..c08ca2b9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
 /**
+ *
+ *
  * 
  * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ -public final class ListQueuesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesRequest) ListQueuesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesRequest.newBuilder() to construct. private ListQueuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListQueuesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,54 @@ private ListQueuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + filter_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 24: + { + pageSize_ = input.readInt32(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + case 42: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,35 +127,42 @@ private ListQueuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -142,30 +171,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -176,6 +207,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -189,6 +222,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -197,14 +231,15 @@ public java.lang.String getFilter() { 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(); filter_ = s; return s; } } /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -218,16 +253,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -238,6 +272,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -248,6 +284,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -258,6 +295,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -269,6 +308,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -277,14 +317,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -296,16 +337,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -316,6 +356,8 @@ public java.lang.String getPageToken() { public static final int READ_MASK_FIELD_NUMBER = 5; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -323,7 +365,9 @@ public java.lang.String getPageToken() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -331,6 +375,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -338,7 +384,9 @@ public boolean hasReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -346,6 +394,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -353,7 +403,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -361,6 +412,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -405,15 +456,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,25 +472,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.tasks.v2beta3.ListQueuesRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesRequest other = (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; + com.google.cloud.tasks.v2beta3.ListQueuesRequest other = + (com.google.cloud.tasks.v2beta3.ListQueuesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -471,118 +516,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest 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 [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} */ - 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.tasks.v2beta3.ListQueuesRequest) com.google.cloud.tasks.v2beta3.ListQueuesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesRequest.class, + com.google.cloud.tasks.v2beta3.ListQueuesRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesRequest.newBuilder() @@ -590,16 +644,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesRequest_descriptor; } @java.lang.Override @@ -642,7 +695,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesRequest result = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); + com.google.cloud.tasks.v2beta3.ListQueuesRequest result = + new com.google.cloud.tasks.v2beta3.ListQueuesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -660,38 +714,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesRequest 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.tasks.v2beta3.ListQueuesRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesRequest) other); } else { super.mergeFrom(other); return this; @@ -699,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -749,19 +805,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,21 +830,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -792,57 +855,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name.
      * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,6 +926,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -863,13 +941,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; 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(); filter_ = s; return s; @@ -878,6 +956,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -891,15 +971,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; 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); filter_ = b; return b; } else { @@ -907,6 +986,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -920,20 +1001,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -947,15 +1030,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
      * field can be used as a filter and several operators as supported.
@@ -969,23 +1055,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -996,6 +1084,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1003,6 +1092,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1013,16 +1104,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 9800. If unspecified, the page size will
@@ -1033,10 +1127,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1044,6 +1139,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1055,13 +1152,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1070,6 +1167,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1081,15 +1180,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1097,6 +1195,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1108,20 +1208,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1133,15 +1235,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1153,16 +1258,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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; @@ -1170,8 +1275,13 @@ public Builder setPageTokenBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1179,13 +1289,17 @@ public Builder setPageTokenBytes(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1193,7 +1307,9 @@ public boolean hasReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -1204,6 +1320,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1211,7 +1329,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -1227,6 +1346,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1234,10 +1355,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -1248,6 +1369,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1255,13 +1378,14 @@ public Builder setReadMask(
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -1273,6 +1397,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1280,7 +1406,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -1294,6 +1421,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1301,14 +1430,17 @@ public Builder clearReadMask() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1316,17 +1448,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. Read mask is used for a more granular control over what the API returns.
      * If the mask is not present all fields will be returned except
@@ -1334,24 +1468,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * specified in the mask.
      * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @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); } @@ -1361,12 +1499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesRequest) private static final com.google.cloud.tasks.v2beta3.ListQueuesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesRequest(); } @@ -1375,16 +1513,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1399,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 3ccd40a9..7d932d07 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesRequestOrBuilder extends +public interface ListQueuesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name.
    * For example: `projects/PROJECT_ID/locations/LOCATION_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -43,10 +70,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
    * field can be used as a filter and several operators as supported.
@@ -60,12 +90,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 9800. If unspecified, the page size will
@@ -76,11 +108,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -92,10 +127,13 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -107,12 +145,14 @@ public interface ListQueuesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -120,11 +160,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -132,11 +176,15 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. Read mask is used for a more granular control over what the API returns.
    * If the mask is not present all fields will be returned except
@@ -144,7 +192,8 @@ public interface ListQueuesRequestOrBuilder extends
    * specified in the mask.
    * 
* - * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index d9110937..fdbf3dd3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ -public final class ListQueuesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListQueuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ListQueuesResponse) ListQueuesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListQueuesResponse.newBuilder() to construct. private ListQueuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListQueuesResponse() { queues_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListQueuesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListQueuesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListQueuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListQueuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - queues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + queues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + queues_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); + break; } - queues_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListQueuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { queues_ = java.util.Collections.unmodifiableList(queues_); @@ -94,22 +113,27 @@ private ListQueuesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } public static final int QUEUES_FIELD_NUMBER = 1; private java.util.List queues_; /** + * + * *
    * The list of queues.
    * 
@@ -121,6 +145,8 @@ public java.util.List getQueuesList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -128,11 +154,13 @@ public java.util.List getQueuesList() { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public java.util.List + public java.util.List getQueuesOrBuilderList() { return queues_; } /** + * + * *
    * The list of queues.
    * 
@@ -144,6 +172,8 @@ public int getQueuesCount() { return queues_.size(); } /** + * + * *
    * The list of queues.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { return queues_.get(index); } /** + * + * *
    * The list of queues.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { return queues_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -180,6 +213,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < queues_.size(); i++) { output.writeMessage(1, queues_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < queues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, queues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, queues_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListQueuesResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListQueuesResponse other = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; + com.google.cloud.tasks.v2beta3.ListQueuesResponse other = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) obj; - if (!getQueuesList() - .equals(other.getQueuesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getQueuesList().equals(other.getQueuesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} */ - 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.tasks.v2beta3.ListQueuesResponse) com.google.cloud.tasks.v2beta3.ListQueuesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListQueuesResponse.class, + com.google.cloud.tasks.v2beta3.ListQueuesResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListQueuesResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getQueuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListQueuesResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListQueuesResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListQueuesResponse result = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); + com.google.cloud.tasks.v2beta3.ListQueuesResponse result = + new com.google.cloud.tasks.v2beta3.ListQueuesResponse(this); int from_bitField0_ = bitField0_; if (queuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.tasks.v2beta3.ListQueuesResponse 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.tasks.v2beta3.ListQueuesResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListQueuesResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListQueuesResponse.getDefaultInstance()) + return this; if (queuesBuilder_ == null) { if (!other.queues_.isEmpty()) { if (queues_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListQueuesResponse other queuesBuilder_ = null; queues_ = other.queues_; bitField0_ = (bitField0_ & ~0x00000001); - queuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getQueuesFieldBuilder() : null; + queuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getQueuesFieldBuilder() + : null; } else { queuesBuilder_.addAllMessages(other.queues_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ListQueuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List queues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureQueuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { queues_ = new java.util.ArrayList(queues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queuesBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queuesBuilder_; /** + * + * *
      * The list of queues.
      * 
@@ -613,6 +666,8 @@ public java.util.List getQueuesList() { } } /** + * + * *
      * The list of queues.
      * 
@@ -627,6 +682,8 @@ public int getQueuesCount() { } } /** + * + * *
      * The list of queues.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.tasks.v2beta3.Queue getQueues(int index) { } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder setQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder setQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -680,6 +740,8 @@ public Builder setQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -700,14 +762,15 @@ public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - int index, com.google.cloud.tasks.v2beta3.Queue value) { + public Builder addQueues(int index, com.google.cloud.tasks.v2beta3.Queue value) { if (queuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public Builder addQueues( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder addQueues(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); queues_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -757,6 +823,8 @@ public Builder addQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -767,8 +835,7 @@ public Builder addAllQueues( java.lang.Iterable values) { if (queuesBuilder_ == null) { ensureQueuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queues_); onChanged(); } else { queuesBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllQueues( return this; } /** + * + * *
      * The list of queues.
      * 
@@ -793,6 +862,8 @@ public Builder clearQueues() { return this; } /** + * + * *
      * The list of queues.
      * 
@@ -810,39 +881,44 @@ public Builder removeQueues(int index) { return this; } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Queue.Builder getQueuesBuilder(int index) { return getQueuesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index) { if (queuesBuilder_ == null) { - return queues_.get(index); } else { + return queues_.get(index); + } else { return queuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesOrBuilderList() { + public java.util.List + getQueuesOrBuilderList() { if (queuesBuilder_ != null) { return queuesBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( } } /** + * + * *
      * The list of queues.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder() { - return getQueuesFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + return getQueuesFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( - int index) { - return getQueuesFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(int index) { + return getQueuesFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance()); } /** + * + * *
      * The list of queues.
      * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - public java.util.List - getQueuesBuilderList() { + public java.util.List getQueuesBuilderList() { return getQueuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueuesFieldBuilder() { if (queuesBuilder_ == null) { - queuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - queues_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + queuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + queues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); queues_ = null; } return queuesBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -910,13 +995,13 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder addQueuesBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListQueuesResponse) private static final com.google.cloud.tasks.v2beta3.ListQueuesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListQueuesResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListQueuesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListQueuesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListQueuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListQueuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListQueuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java index a68c11f8..ac61989f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListQueuesResponseOrBuilder extends +public interface ListQueuesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListQueuesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesList(); + java.util.List getQueuesList(); /** + * + * *
    * The list of queues.
    * 
@@ -25,6 +44,8 @@ public interface ListQueuesResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Queue getQueues(int index); /** + * + * *
    * The list of queues.
    * 
@@ -33,25 +54,29 @@ public interface ListQueuesResponseOrBuilder extends */ int getQueuesCount(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - java.util.List - getQueuesOrBuilderList(); + java.util.List getQueuesOrBuilderList(); /** + * + * *
    * The list of queues.
    * 
* * repeated .google.cloud.tasks.v2beta3.Queue queues = 1; */ - com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -62,10 +87,13 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -76,8 +104,8 @@ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java similarity index 76% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java index 8d36fc75..44cfe1ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; responseView_ = 0; @@ -27,16 +45,15 @@ 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; } + private ListTasksRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTasksRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - responseView_ = rawValue; - break; - } - case 24: { + parent_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + responseView_ = rawValue; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,42 @@ private ListTasksRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,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 queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -177,12 +208,16 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -197,17 +232,22 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -218,6 +258,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -239,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -266,16 +311,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -284,6 +328,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -340,20 +382,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksRequest other = (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; + com.google.cloud.tasks.v2beta3.ListTasksRequest other = + (com.google.cloud.tasks.v2beta3.ListTasksRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (responseView_ != other.responseView_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -378,118 +418,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) com.google.cloud.tasks.v2beta3.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksRequest.class, com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksRequest.class, + com.google.cloud.tasks.v2beta3.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksRequest.newBuilder() @@ -497,16 +546,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksRequest_descriptor; } @java.lang.Override @@ -543,7 +591,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksRequest result = new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); + com.google.cloud.tasks.v2beta3.ListTasksRequest result = + new com.google.cloud.tasks.v2beta3.ListTasksRequest(this); result.parent_ = parent_; result.responseView_ = responseView_; result.pageSize_ = pageSize_; @@ -556,38 +605,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,19 +692,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -662,21 +717,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -684,57 +742,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -742,6 +813,8 @@ public Builder setParentBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -756,12 +829,16 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -776,16 +853,19 @@ public Builder setParentBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -800,15 +880,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -823,6 +907,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -830,12 +915,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -850,17 +937,20 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -871,6 +961,7 @@ public Builder clearResponseView() {
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -878,6 +969,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -888,16 +981,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum page size.
      * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -908,10 +1004,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,6 +1016,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -930,13 +1029,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -945,6 +1044,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -956,15 +1057,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -972,6 +1072,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -983,20 +1085,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1008,15 +1112,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying the page of results to return.
      * To request the first page results, page_token must be empty. To
@@ -1028,23 +1135,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksRequest) private static final com.google.cloud.tasks.v2beta3.ListTasksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksRequest(); } @@ -1068,16 +1175,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new ListTasksRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTasksRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index bfa87b6b..39f56488 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksRequestOrBuilder extends +public interface ListTasksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,11 +92,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); /** + * + * *
    * Maximum page size.
    * Fewer tasks than requested might be returned, even if more tasks exist; use
@@ -77,11 +110,14 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -93,10 +129,13 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying the page of results to return.
    * To request the first page results, page_token must be empty. To
@@ -108,8 +147,8 @@ public interface ListTasksRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 287e34ea..09f702ea 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListTasksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTasksResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tasks_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tasks_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tasks_.add( + input.readMessage( + com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); + break; } - tasks_.add( - input.readMessage(com.google.cloud.tasks.v2beta3.Task.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTasksResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tasks_ = java.util.Collections.unmodifiableList(tasks_); @@ -94,22 +113,27 @@ private ListTasksResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** + * + * *
    * The list of tasks.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTasksList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTasksList() { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTasksOrBuilderList() { return tasks_; } /** + * + * *
    * The list of tasks.
    * 
@@ -144,6 +172,8 @@ public int getTasksCount() { return tasks_.size(); } /** + * + * *
    * The list of tasks.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { return tasks_.get(index); } /** + * + * *
    * The list of tasks.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.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 to retrieve next page of results.
    * To return the next page of results, call
@@ -179,6 +212,7 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -187,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -204,16 +239,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -251,8 +285,7 @@ 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_); @@ -265,17 +298,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ListTasksResponse other = (com.google.cloud.tasks.v2beta3.ListTasksResponse) obj; + com.google.cloud.tasks.v2beta3.ListTasksResponse other = + (com.google.cloud.tasks.v2beta3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,118 +330,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ListTasksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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 for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) com.google.cloud.tasks.v2beta3.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ListTasksResponse.class, com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); + com.google.cloud.tasks.v2beta3.ListTasksResponse.class, + com.google.cloud.tasks.v2beta3.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ListTasksResponse.newBuilder() @@ -417,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTasksFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ListTasksResponse_descriptor; } @java.lang.Override @@ -464,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.ListTasksResponse build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ListTasksResponse buildPartial() { - com.google.cloud.tasks.v2beta3.ListTasksResponse result = new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); + com.google.cloud.tasks.v2beta3.ListTasksResponse result = + new com.google.cloud.tasks.v2beta3.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -484,38 +526,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.ListTasksResponse) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ListTasksResponse) other); } else { super.mergeFrom(other); return this; @@ -523,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ListTasksResponse other) { - if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ListTasksResponse.getDefaultInstance()) + return this; if (tasksBuilder_ == null) { if (!other.tasks_.isEmpty()) { if (tasks_.isEmpty()) { @@ -542,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.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_); } @@ -582,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tasks_ = - java.util.Collections.emptyList(); + 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.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> tasksBuilder_; + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> + tasksBuilder_; /** + * + * *
      * The list of tasks.
      * 
@@ -611,6 +663,8 @@ public java.util.List getTasksList() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -625,6 +679,8 @@ public int getTasksCount() { } } /** + * + * *
      * The list of tasks.
      * 
@@ -639,14 +695,15 @@ public com.google.cloud.tasks.v2beta3.Task getTasks(int index) { } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder setTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder setTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -660,6 +717,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -678,6 +737,8 @@ public Builder setTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -698,14 +759,15 @@ public Builder addTasks(com.google.cloud.tasks.v2beta3.Task value) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - int index, com.google.cloud.tasks.v2beta3.Task value) { + public Builder addTasks(int index, com.google.cloud.tasks.v2beta3.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -719,14 +781,15 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public Builder addTasks( - com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { + public Builder addTasks(com.google.cloud.tasks.v2beta3.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -737,6 +800,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -755,6 +820,8 @@ public Builder addTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -765,8 +832,7 @@ 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); @@ -774,6 +840,8 @@ public Builder addAllTasks( return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -791,6 +859,8 @@ public Builder clearTasks() { return this; } /** + * + * *
      * The list of tasks.
      * 
@@ -808,39 +878,44 @@ public Builder removeTasks(int index) { return this; } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.Task.Builder getTasksBuilder(int index) { return getTasksFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index) { + public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); } else { + return tasks_.get(index); + } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -848,6 +923,8 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( } } /** + * + * *
      * The list of tasks.
      * 
@@ -855,42 +932,47 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder( - com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + return getTasksFieldBuilder() + .addBuilder(com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( - int index) { - return getTasksFieldBuilder().addBuilder( - index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); + public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(int index) { + return getTasksFieldBuilder() + .addBuilder(index, com.google.cloud.tasks.v2beta3.Task.getDefaultInstance()); } /** + * + * *
      * The list of tasks.
      * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - public java.util.List - getTasksBuilderList() { + public java.util.List getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder> + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Task, com.google.cloud.tasks.v2beta3.Task.Builder, com.google.cloud.tasks.v2beta3.TaskOrBuilder>( - tasks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tasksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Task, + com.google.cloud.tasks.v2beta3.Task.Builder, + com.google.cloud.tasks.v2beta3.TaskOrBuilder>( + tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tasks_ = null; } return tasksBuilder_; @@ -898,6 +980,8 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -907,13 +991,13 @@ public com.google.cloud.tasks.v2beta3.Task.Builder addTasksBuilder(
      * 
* * 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; @@ -922,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -931,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -947,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -956,20 +1043,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -979,15 +1068,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results.
      * To return the next page of results, call
@@ -997,23 +1089,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1023,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ListTasksResponse) private static final com.google.cloud.tasks.v2beta3.ListTasksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ListTasksResponse(); } @@ -1037,16 +1129,16 @@ public static com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanc 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 { - return new ListTasksResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTasksResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 397e65c5..8b9ed0ad 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface ListTasksResponseOrBuilder extends +public interface ListTasksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksList(); + java.util.List getTasksList(); /** + * + * *
    * The list of tasks.
    * 
@@ -25,6 +44,8 @@ public interface ListTasksResponseOrBuilder extends */ com.google.cloud.tasks.v2beta3.Task getTasks(int index); /** + * + * *
    * The list of tasks.
    * 
@@ -33,25 +54,29 @@ public interface ListTasksResponseOrBuilder extends */ int getTasksCount(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - java.util.List - getTasksOrBuilderList(); + java.util.List getTasksOrBuilderList(); /** + * + * *
    * The list of tasks.
    * 
* * repeated .google.cloud.tasks.v2beta3.Task tasks = 1; */ - com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder( - int index); + com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -61,10 +86,13 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results.
    * To return the next page of results, call
@@ -74,8 +102,8 @@ com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/LocationName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java index f0cf2430..f4b3966c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OAuthToken.class,
+            com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -115,6 +138,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -123,14 +147,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,6 +184,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -167,6 +193,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -175,14 +202,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -190,16 +218,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.OAuthToken)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.OAuthToken other = (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + com.google.cloud.tasks.v2beta3.OAuthToken other = + (com.google.cloud.tasks.v2beta3.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -381,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken)
       com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OAuthToken.class, com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OAuthToken.class,
+              com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +479,8 @@ public com.google.cloud.tasks.v2beta3.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OAuthToken result = new com.google.cloud.tasks.v2beta3.OAuthToken(this);
+      com.google.cloud.tasks.v2beta3.OAuthToken result =
+          new com.google.cloud.tasks.v2beta3.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -456,38 +491,39 @@ public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +571,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -544,13 +582,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -559,6 +597,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -568,15 +608,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -584,6 +623,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -593,20 +634,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -616,15 +659,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -634,16 +680,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -651,6 +697,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -658,13 +706,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -673,6 +721,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -680,15 +730,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -696,6 +745,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -703,20 +754,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -724,15 +777,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -740,23 +796,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +822,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); } @@ -780,16 +836,16 @@ public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +860,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java index 1cf564b9..6409320a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -17,10 +35,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -30,12 +51,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -43,10 +66,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -54,8 +80,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java index b1147293..d8ef8572 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+            com.google.cloud.tasks.v2beta3.OidcToken.class,
+            com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -117,6 +140,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -125,14 +149,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -142,16 +167,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -162,12 +186,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -176,30 +203,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -208,6 +235,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -250,17 +277,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.tasks.v2beta3.OidcToken)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +306,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -383,21 +415,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken)
       com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.OidcToken.class, com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
+              com.google.cloud.tasks.v2beta3.OidcToken.class,
+              com.google.cloud.tasks.v2beta3.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder()
@@ -405,16 +439,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -447,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
-      com.google.cloud.tasks.v2beta3.OidcToken result = new com.google.cloud.tasks.v2beta3.OidcToken(this);
+      com.google.cloud.tasks.v2beta3.OidcToken result =
+          new com.google.cloud.tasks.v2beta3.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -458,38 +492,39 @@ public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -537,6 +572,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -546,13 +583,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -561,6 +598,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -570,15 +609,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -586,6 +624,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -595,20 +635,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -618,15 +660,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -636,16 +681,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -653,19 +698,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -674,21 +721,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -696,64 +744,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +818,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); } @@ -777,16 +832,16 @@ public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -801,6 +856,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java index 79aa78a6..639b960f 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -17,10 +35,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -30,30 +51,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index b5b6cc63..ddd155f1 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ -public final class PauseQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PauseQueueRequest) PauseQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseQueueRequest.newBuilder() to construct. private PauseQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PauseQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PauseQueueRequest other = (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PauseQueueRequest other = + (com.google.cloud.tasks.v2beta3.PauseQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest 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 [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} */ - 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.tasks.v2beta3.PauseQueueRequest) com.google.cloud.tasks.v2beta3.PauseQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PauseQueueRequest.class, + com.google.cloud.tasks.v2beta3.PauseQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PauseQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PauseQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PauseQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PauseQueueRequest result = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); + com.google.cloud.tasks.v2beta3.PauseQueueRequest result = + new com.google.cloud.tasks.v2beta3.PauseQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PauseQueueRequest 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.tasks.v2beta3.PauseQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PauseQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PauseQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PauseQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PauseQueueRequest) private static final com.google.cloud.tasks.v2beta3.PauseQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PauseQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PauseQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java new file mode 100644 index 00000000..d4fc3a55 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PauseQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PauseQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java similarity index 74% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java index 90f288ff..845fa92d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Pull Message.
  * This proto can only be used for tasks in a queue which has
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
  */
-public final class PullMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PullMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PullMessage)
     PullMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PullMessage.newBuilder() to construct.
   private PullMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PullMessage() {
     payload_ = com.google.protobuf.ByteString.EMPTY;
     tag_ = "";
@@ -32,16 +50,15 @@ private PullMessage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PullMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PullMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,24 +77,25 @@ private PullMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            payload_ = input.readBytes();
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              payload_ = input.readBytes();
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tag_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tag_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,34 +103,39 @@ private PullMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.TargetProto
+        .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+            com.google.cloud.tasks.v2beta3.PullMessage.class,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
   }
 
   public static final int PAYLOAD_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString payload_;
   /**
+   *
+   *
    * 
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -123,6 +146,8 @@ public com.google.protobuf.ByteString getPayload() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -134,6 +159,7 @@ public com.google.protobuf.ByteString getPayload() {
    * 
* * string tag = 2; + * * @return The tag. */ @java.lang.Override @@ -142,14 +168,15 @@ 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; } } /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -161,16 +188,15 @@ public java.lang.String getTag() {
    * 
* * string tag = 2; + * * @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 { @@ -179,6 +205,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!payload_.isEmpty()) { output.writeBytes(1, payload_); } @@ -208,8 +234,7 @@ public int getSerializedSize() { size = 0; if (!payload_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, payload_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, payload_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); @@ -222,17 +247,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PullMessage)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PullMessage other = (com.google.cloud.tasks.v2beta3.PullMessage) obj; + com.google.cloud.tasks.v2beta3.PullMessage other = + (com.google.cloud.tasks.v2beta3.PullMessage) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,97 +277,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PullMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PullMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage 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; } /** + * + * *
    * Pull Message.
    * This proto can only be used for tasks in a queue which has
@@ -356,21 +387,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.PullMessage}
    */
-  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.tasks.v2beta3.PullMessage)
       com.google.cloud.tasks.v2beta3.PullMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.PullMessage.class, com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
+              com.google.cloud.tasks.v2beta3.PullMessage.class,
+              com.google.cloud.tasks.v2beta3.PullMessage.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.PullMessage.newBuilder()
@@ -378,16 +411,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.TargetProto.internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.TargetProto
+          .internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor;
     }
 
     @java.lang.Override
@@ -420,7 +452,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.PullMessage buildPartial() {
-      com.google.cloud.tasks.v2beta3.PullMessage result = new com.google.cloud.tasks.v2beta3.PullMessage(this);
+      com.google.cloud.tasks.v2beta3.PullMessage result =
+          new com.google.cloud.tasks.v2beta3.PullMessage(this);
       result.payload_ = payload_;
       result.tag_ = tag_;
       onBuilt();
@@ -431,38 +464,39 @@ public com.google.cloud.tasks.v2beta3.PullMessage 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.tasks.v2beta3.PullMessage) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,11 +543,14 @@ public Builder mergeFrom(
 
     private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return The payload. */ @java.lang.Override @@ -521,33 +558,39 @@ public com.google.protobuf.ByteString getPayload() { return payload_; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ public Builder setPayload(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; onChanged(); return this; } /** + * + * *
      * A data payload consumed by the worker to execute the task.
      * 
* * bytes payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); return this; @@ -555,6 +598,8 @@ public Builder clearPayload() { private java.lang.Object tag_ = ""; /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -566,13 +611,13 @@ public Builder clearPayload() {
      * 
* * string tag = 2; + * * @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; @@ -581,6 +626,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -592,15 +639,14 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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 { @@ -608,6 +654,8 @@ public java.lang.String getTag() { } } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -619,20 +667,22 @@ public java.lang.String getTag() {
      * 
* * string tag = 2; + * * @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; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -644,15 +694,18 @@ public Builder setTag(
      * 
* * string tag = 2; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * The tasks's tag.
      * The tag is less than 500 characters.
@@ -664,23 +717,23 @@ public Builder clearTag() {
      * 
* * string tag = 2; + * * @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); } @@ -690,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PullMessage) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PullMessage) private static final com.google.cloud.tasks.v2beta3.PullMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PullMessage(); } @@ -704,16 +757,16 @@ public static com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -728,6 +781,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PullMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java index d6d53ffb..cfae720a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PullMessageOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/target.proto package com.google.cloud.tasks.v2beta3; -public interface PullMessageOrBuilder extends +public interface PullMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PullMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A data payload consumed by the worker to execute the task.
    * 
* * bytes payload = 1; + * * @return The payload. */ com.google.protobuf.ByteString getPayload(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -29,10 +50,13 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * The tasks's tag.
    * The tag is less than 500 characters.
@@ -44,8 +68,8 @@ public interface PullMessageOrBuilder extends
    * 
* * string tag = 2; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 7e739e04..78c3ead3 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ -public final class PurgeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PurgeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.PurgeQueueRequest) PurgeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PurgeQueueRequest.newBuilder() to construct. private PurgeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PurgeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PurgeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PurgeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PurgeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PurgeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.PurgeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.PurgeQueueRequest other = + (com.google.cloud.tasks.v2beta3.PurgeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest 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 [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} */ - 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.tasks.v2beta3.PurgeQueueRequest) com.google.cloud.tasks.v2beta3.PurgeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.class, + com.google.cloud.tasks.v2beta3.PurgeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.PurgeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_PurgeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.PurgeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); + com.google.cloud.tasks.v2beta3.PurgeQueueRequest result = + new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.PurgeQueueRequest 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.tasks.v2beta3.PurgeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.PurgeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.PurgeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.PurgeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.PurgeQueueRequest) private static final com.google.cloud.tasks.v2beta3.PurgeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.PurgeQueueRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PurgeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PurgeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PurgeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PurgeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.PurgeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java new file mode 100644 index 00000000..5a994955 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface PurgeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.PurgeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 3156e1bf..45c41179 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A queue is a container of related tasks. Queues are configured to manage
  * how those tasks are dispatched. Configurable properties include rate limits,
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
  */
-public final class Queue extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Queue extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.Queue)
     QueueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Queue.newBuilder() to construct.
   private Queue(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Queue() {
     name_ = "";
     state_ = 0;
@@ -29,16 +47,15 @@ private Queue() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Queue();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Queue(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,136 +74,163 @@ private Queue(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
-            if (queueTypeCase_ == 3) {
-              subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              name_ = s;
+              break;
             }
-            queueType_ =
-                input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
-              queueType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder subBuilder = null;
+              if (queueTypeCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_).toBuilder();
+              }
+              queueType_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_);
+                queueType_ = subBuilder.buildPartial();
+              }
+              queueTypeCase_ = 3;
+              break;
             }
-            queueTypeCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
-            if (rateLimits_ != null) {
-              subBuilder = rateLimits_.toBuilder();
+          case 34:
+            {
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder subBuilder = null;
+              if (rateLimits_ != null) {
+                subBuilder = rateLimits_.toBuilder();
+              }
+              rateLimits_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rateLimits_);
+                rateLimits_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rateLimits_ = input.readMessage(com.google.cloud.tasks.v2beta3.RateLimits.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rateLimits_);
-              rateLimits_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 48:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 42: {
-            com.google.cloud.tasks.v2beta3.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            retryConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (purgeTime_ != null) {
+                subBuilder = purgeTime_.toBuilder();
+              }
+              purgeTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(purgeTime_);
+                purgeTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (purgeTime_ != null) {
-              subBuilder = purgeTime_.toBuilder();
+          case 66:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (taskTtl_ != null) {
+                subBuilder = taskTtl_.toBuilder();
+              }
+              taskTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(taskTtl_);
+                taskTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            purgeTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(purgeTime_);
-              purgeTime_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (taskTtl_ != null) {
-              subBuilder = taskTtl_.toBuilder();
+          case 74:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (tombstoneTtl_ != null) {
+                subBuilder = tombstoneTtl_.toBuilder();
+              }
+              tombstoneTtl_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tombstoneTtl_);
+                tombstoneTtl_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            taskTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(taskTtl_);
-              taskTtl_ = subBuilder.buildPartial();
+          case 82:
+            {
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
+              if (stackdriverLoggingConfig_ != null) {
+                subBuilder = stackdriverLoggingConfig_.toBuilder();
+              }
+              stackdriverLoggingConfig_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stackdriverLoggingConfig_);
+                stackdriverLoggingConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 88:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (tombstoneTtl_ != null) {
-              subBuilder = tombstoneTtl_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            tombstoneTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(tombstoneTtl_);
-              tombstoneTtl_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder subBuilder = null;
-            if (stackdriverLoggingConfig_ != null) {
-              subBuilder = stackdriverLoggingConfig_.toBuilder();
-            }
-            stackdriverLoggingConfig_ = input.readMessage(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stackdriverLoggingConfig_);
-              stackdriverLoggingConfig_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 88: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 98: {
-            com.google.cloud.tasks.v2beta3.QueueStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
-            }
-            stats_ = input.readMessage(com.google.cloud.tasks.v2beta3.QueueStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -194,36 +238,41 @@ private Queue(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+            com.google.cloud.tasks.v2beta3.Queue.class,
+            com.google.cloud.tasks.v2beta3.Queue.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -232,6 +281,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -246,6 +297,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -256,6 +309,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -277,6 +332,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -285,6 +342,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The queue is running. Tasks can be dispatched.
      * If the queue was created using Cloud Tasks and the queue has
@@ -299,6 +358,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * Tasks are paused by the user. If the queue is paused then Cloud
      * Tasks will stop delivering tasks from it, but more tasks can
@@ -309,6 +370,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The queue is disabled.
      * A queue becomes `DISABLED` when
@@ -327,7 +390,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -352,50 +414,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.tasks.v2beta3.Queue.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;
@@ -413,15 +476,18 @@ private State(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The type of the queue.
    * 
* * Protobuf enum {@code google.cloud.tasks.v2beta3.Queue.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -430,6 +496,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * A pull queue.
      * 
@@ -438,6 +506,8 @@ public enum Type */ PULL(1), /** + * + * *
      * A push queue.
      * 
@@ -449,6 +519,8 @@ public enum Type ; /** + * + * *
      * Default value.
      * 
@@ -457,6 +529,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A pull queue.
      * 
@@ -465,6 +539,8 @@ public enum Type */ public static final int PULL_VALUE = 1; /** + * + * *
      * A push queue.
      * 
@@ -473,7 +549,6 @@ public enum Type */ public static final int PUSH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -498,49 +573,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return PULL; - case 2: return PUSH; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return PULL; + case 2: + return PUSH; + 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< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.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.tasks.v2beta3.Queue.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type 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; @@ -559,12 +634,15 @@ private Type(int value) { private int queueTypeCase_ = 0; private java.lang.Object queueType_; + public enum QueueTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APP_ENGINE_HTTP_QUEUE(3), QUEUETYPE_NOT_SET(0); private final int value; + private QueueTypeCase(int value) { this.value = value; } @@ -580,25 +658,29 @@ public static QueueTypeCase valueOf(int value) { public static QueueTypeCase forNumber(int value) { switch (value) { - case 3: return APP_ENGINE_HTTP_QUEUE; - case 0: return QUEUETYPE_NOT_SET; - default: return null; + case 3: + return APP_ENGINE_HTTP_QUEUE; + case 0: + return QUEUETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueueTypeCase - getQueueTypeCase() { - return QueueTypeCase.forNumber( - queueTypeCase_); + public QueueTypeCase getQueueTypeCase() { + return QueueTypeCase.forNumber(queueTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -619,6 +701,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -627,14 +710,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -655,16 +739,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -674,6 +757,8 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER = 3; /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -681,6 +766,7 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -688,6 +774,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -695,16 +783,19 @@ public boolean hasAppEngineHttpQueue() {
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() { if (queueTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance(); } /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -714,9 +805,10 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue()
    * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+      getAppEngineHttpQueueOrBuilder() {
     if (queueTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
   }
@@ -724,6 +816,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
   public static final int RATE_LIMITS_FIELD_NUMBER = 4;
   private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -748,6 +842,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ @java.lang.Override @@ -755,6 +850,8 @@ public boolean hasRateLimits() { return rateLimits_ != null; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -779,13 +876,18 @@ public boolean hasRateLimits() {
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -819,6 +921,8 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
   public static final int RETRY_CONFIG_FIELD_NUMBER = 5;
   private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -832,6 +936,7 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -839,6 +944,8 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -852,13 +959,18 @@ public boolean hasRetryConfig() {
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -881,6 +993,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -891,12 +1005,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -907,17 +1025,22 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } public static final int PURGE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp purgeTime_; /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -930,6 +1053,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ @java.lang.Override @@ -937,6 +1061,8 @@ public boolean hasPurgeTime() { return purgeTime_ != null; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -949,6 +1075,7 @@ public boolean hasPurgeTime() {
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ @java.lang.Override @@ -956,6 +1083,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_; } /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -977,6 +1106,8 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
   public static final int TASK_TTL_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration taskTtl_;
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -991,6 +1122,7 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ @java.lang.Override @@ -998,6 +1130,8 @@ public boolean hasTaskTtl() { return taskTtl_ != null; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1012,6 +1146,7 @@ public boolean hasTaskTtl() {
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ @java.lang.Override @@ -1019,6 +1154,8 @@ public com.google.protobuf.Duration getTaskTtl() { return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_; } /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -1042,6 +1179,8 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
   public static final int TOMBSTONE_TTL_FIELD_NUMBER = 9;
   private com.google.protobuf.Duration tombstoneTtl_;
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1054,6 +1193,7 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ @java.lang.Override @@ -1061,6 +1201,8 @@ public boolean hasTombstoneTtl() { return tombstoneTtl_ != null; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1073,13 +1215,18 @@ public boolean hasTombstoneTtl() {
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ @java.lang.Override public com.google.protobuf.Duration getTombstoneTtl() { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -1101,13 +1248,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
   public static final int STACKDRIVER_LOGGING_CONFIG_FIELD_NUMBER = 10;
   private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ @java.lang.Override @@ -1115,36 +1266,48 @@ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfig_ != null; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ @java.lang.Override - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { return getStackdriverLoggingConfig(); } public static final int TYPE_FIELD_NUMBER = 11; private int type_; /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1152,13 +1315,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -1166,25 +1335,35 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } public static final int STATS_FIELD_NUMBER = 12; private com.google.cloud.tasks.v2beta3.QueueStats stats_; /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ @java.lang.Override @@ -1192,13 +1371,18 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ @java.lang.Override @@ -1206,13 +1390,17 @@ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; } /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { @@ -1220,6 +1408,7 @@ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1231,8 +1420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1279,44 +1467,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (queueTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_); } if (rateLimits_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRateLimits()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRateLimits()); } if (retryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRetryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRetryConfig()); } if (state_ != com.google.cloud.tasks.v2beta3.Queue.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (purgeTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPurgeTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); } if (taskTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTaskTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTaskTtl()); } if (tombstoneTtl_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTombstoneTtl()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTombstoneTtl()); } if (stackdriverLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getStackdriverLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, getStackdriverLoggingConfig()); } if (type_ != com.google.cloud.tasks.v2beta3.Queue.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, type_); } if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1326,57 +1508,48 @@ 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.tasks.v2beta3.Queue)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Queue other = (com.google.cloud.tasks.v2beta3.Queue) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasRateLimits() != other.hasRateLimits()) return false; if (hasRateLimits()) { - if (!getRateLimits() - .equals(other.getRateLimits())) return false; + if (!getRateLimits().equals(other.getRateLimits())) return false; } if (hasRetryConfig() != other.hasRetryConfig()) return false; if (hasRetryConfig()) { - if (!getRetryConfig() - .equals(other.getRetryConfig())) return false; + if (!getRetryConfig().equals(other.getRetryConfig())) return false; } if (state_ != other.state_) return false; if (hasPurgeTime() != other.hasPurgeTime()) return false; if (hasPurgeTime()) { - if (!getPurgeTime() - .equals(other.getPurgeTime())) return false; + if (!getPurgeTime().equals(other.getPurgeTime())) return false; } if (hasTaskTtl() != other.hasTaskTtl()) return false; if (hasTaskTtl()) { - if (!getTaskTtl() - .equals(other.getTaskTtl())) return false; + if (!getTaskTtl().equals(other.getTaskTtl())) return false; } if (hasTombstoneTtl() != other.hasTombstoneTtl()) return false; if (hasTombstoneTtl()) { - if (!getTombstoneTtl() - .equals(other.getTombstoneTtl())) return false; + if (!getTombstoneTtl().equals(other.getTombstoneTtl())) return false; } if (hasStackdriverLoggingConfig() != other.hasStackdriverLoggingConfig()) return false; if (hasStackdriverLoggingConfig()) { - if (!getStackdriverLoggingConfig() - .equals(other.getStackdriverLoggingConfig())) return false; + if (!getStackdriverLoggingConfig().equals(other.getStackdriverLoggingConfig())) return false; } if (type_ != other.type_) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: - if (!getAppEngineHttpQueue() - .equals(other.getAppEngineHttpQueue())) return false; + if (!getAppEngineHttpQueue().equals(other.getAppEngineHttpQueue())) return false; break; case 0: default: @@ -1439,97 +1612,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Queue parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Queue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue 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 queue is a container of related tasks. Queues are configured to manage
    * how those tasks are dispatched. Configurable properties include rate limits,
@@ -1538,21 +1717,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.Queue}
    */
-  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.tasks.v2beta3.Queue)
       com.google.cloud.tasks.v2beta3.QueueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.Queue.class, com.google.cloud.tasks.v2beta3.Queue.Builder.class);
+              com.google.cloud.tasks.v2beta3.Queue.class,
+              com.google.cloud.tasks.v2beta3.Queue.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.Queue.newBuilder()
@@ -1560,16 +1741,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1627,9 +1807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_Queue_descriptor;
     }
 
     @java.lang.Override
@@ -1703,38 +1883,39 @@ public com.google.cloud.tasks.v2beta3.Queue 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.tasks.v2beta3.Queue) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.Queue) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1775,13 +1956,15 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) {
         mergeStats(other.getStats());
       }
       switch (other.getQueueTypeCase()) {
-        case APP_ENGINE_HTTP_QUEUE: {
-          mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
-          break;
-        }
-        case QUEUETYPE_NOT_SET: {
-          break;
-        }
+        case APP_ENGINE_HTTP_QUEUE:
+          {
+            mergeAppEngineHttpQueue(other.getAppEngineHttpQueue());
+            break;
+          }
+        case QUEUETYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1811,12 +1994,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int queueTypeCase_ = 0;
     private java.lang.Object queueType_;
-    public QueueTypeCase
-        getQueueTypeCase() {
-      return QueueTypeCase.forNumber(
-          queueTypeCase_);
+
+    public QueueTypeCase getQueueTypeCase() {
+      return QueueTypeCase.forNumber(queueTypeCase_);
     }
 
     public Builder clearQueueType() {
@@ -1826,9 +2009,10 @@ public Builder clearQueueType() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1849,13 +2033,13 @@ public Builder clearQueueType() {
      * 
* * 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; @@ -1864,6 +2048,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1884,15 +2070,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1900,6 +2085,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1920,20 +2107,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1954,15 +2143,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
      * after which it becomes output only.
@@ -1983,24 +2175,29 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> appEngineHttpQueueBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> + appEngineHttpQueueBuilder_; /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2008,6 +2205,7 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ @java.lang.Override @@ -2015,6 +2213,8 @@ public boolean hasAppEngineHttpQueue() { return queueTypeCase_ == 3; } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2022,6 +2222,7 @@ public boolean hasAppEngineHttpQueue() {
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ @java.lang.Override @@ -2039,6 +2240,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() } } /** + * + * *
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2061,6 +2264,8 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2081,6 +2286,8 @@ public Builder setAppEngineHttpQueue(
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2089,12 +2296,17 @@ public Builder setAppEngineHttpQueue(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
+    public Builder mergeAppEngineHttpQueue(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue value) {
       if (appEngineHttpQueueBuilder_ == null) {
-        if (queueTypeCase_ == 3 &&
-            queueType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
-          queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
-              .mergeFrom(value).buildPartial();
+        if (queueTypeCase_ == 3
+            && queueType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance()) {
+          queueType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           queueType_ = value;
         }
@@ -2110,6 +2322,8 @@ public Builder mergeAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2135,6 +2349,8 @@ public Builder clearAppEngineHttpQueue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2143,10 +2359,13 @@ public Builder clearAppEngineHttpQueue() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHttpQueueBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder
+        getAppEngineHttpQueueBuilder() {
       return getAppEngineHttpQueueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2156,7 +2375,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder getAppEngineHtt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder
+        getAppEngineHttpQueueOrBuilder() {
       if ((queueTypeCase_ == 3) && (appEngineHttpQueueBuilder_ != null)) {
         return appEngineHttpQueueBuilder_.getMessageOrBuilder();
       } else {
@@ -2167,6 +2387,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
       }
     }
     /**
+     *
+     *
      * 
      * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
      * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -2176,28 +2398,39 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>
         getAppEngineHttpQueueFieldBuilder() {
       if (appEngineHttpQueueBuilder_ == null) {
         if (!(queueTypeCase_ == 3)) {
           queueType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.getDefaultInstance();
         }
-        appEngineHttpQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpQueue, com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
+        appEngineHttpQueueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueue.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpQueue) queueType_,
                 getParentForChildren(),
                 isClean());
         queueType_ = null;
       }
       queueTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpQueueBuilder_;
     }
 
     private com.google.cloud.tasks.v2beta3.RateLimits rateLimits_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> rateLimitsBuilder_;
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
+        rateLimitsBuilder_;
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2222,12 +2455,15 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHt
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ public boolean hasRateLimits() { return rateLimitsBuilder_ != null || rateLimits_ != null; } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2252,16 +2488,21 @@ public boolean hasRateLimits() {
      * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() { if (rateLimitsBuilder_ == null) { - return rateLimits_ == null ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_; + return rateLimits_ == null + ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() + : rateLimits_; } else { return rateLimitsBuilder_.getMessage(); } } /** + * + * *
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2301,6 +2542,8 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2338,6 +2581,8 @@ public Builder setRateLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2367,7 +2612,9 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       if (rateLimitsBuilder_ == null) {
         if (rateLimits_ != null) {
           rateLimits_ =
-            com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RateLimits.newBuilder(rateLimits_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           rateLimits_ = value;
         }
@@ -2379,6 +2626,8 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2416,6 +2665,8 @@ public Builder clearRateLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2442,11 +2693,13 @@ public Builder clearRateLimits() {
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder() {
-      
+
       onChanged();
       return getRateLimitsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2476,11 +2729,14 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
       if (rateLimitsBuilder_ != null) {
         return rateLimitsBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimits_ == null ?
-            com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance() : rateLimits_;
+        return rateLimits_ == null
+            ? com.google.cloud.tasks.v2beta3.RateLimits.getDefaultInstance()
+            : rateLimits_;
       }
     }
     /**
+     *
+     *
      * 
      * Rate limits for task dispatches.
      * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -2507,14 +2763,17 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RateLimits,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+            com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>
         getRateLimitsFieldBuilder() {
       if (rateLimitsBuilder_ == null) {
-        rateLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RateLimits, com.google.cloud.tasks.v2beta3.RateLimits.Builder, com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
-                getRateLimits(),
-                getParentForChildren(),
-                isClean());
+        rateLimitsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RateLimits,
+                com.google.cloud.tasks.v2beta3.RateLimits.Builder,
+                com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder>(
+                getRateLimits(), getParentForChildren(), isClean());
         rateLimits_ = null;
       }
       return rateLimitsBuilder_;
@@ -2522,8 +2781,13 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
 
     private com.google.cloud.tasks.v2beta3.RetryConfig retryConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> retryConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
+        retryConfigBuilder_;
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2537,12 +2801,15 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2556,16 +2823,21 @@ public boolean hasRetryConfig() {
      * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ public com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2594,6 +2866,8 @@ public Builder setRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2620,6 +2894,8 @@ public Builder setRetryConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2638,7 +2914,9 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       if (retryConfigBuilder_ == null) {
         if (retryConfig_ != null) {
           retryConfig_ =
-            com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder(retryConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           retryConfig_ = value;
         }
@@ -2650,6 +2928,8 @@ public Builder mergeRetryConfig(com.google.cloud.tasks.v2beta3.RetryConfig value
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2676,6 +2956,8 @@ public Builder clearRetryConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2691,11 +2973,13 @@ public Builder clearRetryConfig() {
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     public com.google.cloud.tasks.v2beta3.RetryConfig.Builder getRetryConfigBuilder() {
-      
+
       onChanged();
       return getRetryConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2714,11 +2998,14 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
       if (retryConfigBuilder_ != null) {
         return retryConfigBuilder_.getMessageOrBuilder();
       } else {
-        return retryConfig_ == null ?
-            com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance() : retryConfig_;
+        return retryConfig_ == null
+            ? com.google.cloud.tasks.v2beta3.RetryConfig.getDefaultInstance()
+            : retryConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Settings that determine the retry behavior.
      * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -2734,14 +3021,17 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder> 
+            com.google.cloud.tasks.v2beta3.RetryConfig,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+            com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>
         getRetryConfigFieldBuilder() {
       if (retryConfigBuilder_ == null) {
-        retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.RetryConfig, com.google.cloud.tasks.v2beta3.RetryConfig.Builder, com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
-                getRetryConfig(),
-                getParentForChildren(),
-                isClean());
+        retryConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.RetryConfig,
+                com.google.cloud.tasks.v2beta3.RetryConfig.Builder,
+                com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder>(
+                getRetryConfig(), getParentForChildren(), isClean());
         retryConfig_ = null;
       }
       return retryConfigBuilder_;
@@ -2749,6 +3039,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2759,12 +3051,16 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2775,16 +3071,19 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2795,15 +3094,19 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.State result = com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); + com.google.cloud.tasks.v2beta3.Queue.State result = + com.google.cloud.tasks.v2beta3.Queue.State.valueOf(state_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2814,6 +3117,7 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @param value The state to set. * @return This builder for chaining. */ @@ -2821,12 +3125,14 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The state of the queue.
      * `state` can only be changed by calling
@@ -2837,10 +3143,11 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2848,8 +3155,13 @@ public Builder clearState() { private com.google.protobuf.Timestamp purgeTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> purgeTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + purgeTimeBuilder_; /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2862,12 +3174,15 @@ public Builder clearState() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ public boolean hasPurgeTime() { return purgeTimeBuilder_ != null || purgeTime_ != null; } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2880,6 +3195,7 @@ public boolean hasPurgeTime() {
      * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ public com.google.protobuf.Timestamp getPurgeTime() { @@ -2890,6 +3206,8 @@ public com.google.protobuf.Timestamp getPurgeTime() { } } /** + * + * *
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2917,6 +3235,8 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2930,8 +3250,7 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp purge_time = 7;
      */
-    public Builder setPurgeTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (purgeTimeBuilder_ == null) {
         purgeTime_ = builderForValue.build();
         onChanged();
@@ -2942,6 +3261,8 @@ public Builder setPurgeTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2959,7 +3280,7 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       if (purgeTimeBuilder_ == null) {
         if (purgeTime_ != null) {
           purgeTime_ =
-            com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(purgeTime_).mergeFrom(value).buildPartial();
         } else {
           purgeTime_ = value;
         }
@@ -2971,6 +3292,8 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -2996,6 +3319,8 @@ public Builder clearPurgeTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3010,11 +3335,13 @@ public Builder clearPurgeTime() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
-      
+
       onChanged();
       return getPurgeTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3032,11 +3359,12 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       if (purgeTimeBuilder_ != null) {
         return purgeTimeBuilder_.getMessageOrBuilder();
       } else {
-        return purgeTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
+        return purgeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : purgeTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The last time this queue was purged.
      * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -3051,14 +3379,17 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * .google.protobuf.Timestamp purge_time = 7;
      */
     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>
         getPurgeTimeFieldBuilder() {
       if (purgeTimeBuilder_ == null) {
-        purgeTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPurgeTime(),
-                getParentForChildren(),
-                isClean());
+        purgeTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPurgeTime(), getParentForChildren(), isClean());
         purgeTime_ = null;
       }
       return purgeTimeBuilder_;
@@ -3066,8 +3397,13 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
 
     private com.google.protobuf.Duration taskTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> taskTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        taskTtlBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3082,12 +3418,15 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ public boolean hasTaskTtl() { return taskTtlBuilder_ != null || taskTtl_ != null; } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3102,6 +3441,7 @@ public boolean hasTaskTtl() {
      * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ public com.google.protobuf.Duration getTaskTtl() { @@ -3112,6 +3452,8 @@ public com.google.protobuf.Duration getTaskTtl() { } } /** + * + * *
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3141,6 +3483,8 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3156,8 +3500,7 @@ public Builder setTaskTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration task_ttl = 8;
      */
-    public Builder setTaskTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTaskTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (taskTtlBuilder_ == null) {
         taskTtl_ = builderForValue.build();
         onChanged();
@@ -3168,6 +3511,8 @@ public Builder setTaskTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3187,7 +3532,7 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       if (taskTtlBuilder_ == null) {
         if (taskTtl_ != null) {
           taskTtl_ =
-            com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(taskTtl_).mergeFrom(value).buildPartial();
         } else {
           taskTtl_ = value;
         }
@@ -3199,6 +3544,8 @@ public Builder mergeTaskTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3226,6 +3573,8 @@ public Builder clearTaskTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3242,11 +3591,13 @@ public Builder clearTaskTtl() {
      * .google.protobuf.Duration task_ttl = 8;
      */
     public com.google.protobuf.Duration.Builder getTaskTtlBuilder() {
-      
+
       onChanged();
       return getTaskTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3266,11 +3617,12 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
       if (taskTtlBuilder_ != null) {
         return taskTtlBuilder_.getMessageOrBuilder();
       } else {
-        return taskTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
+        return taskTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : taskTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time that a task will be retained in
      * this queue.
@@ -3287,14 +3639,17 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * .google.protobuf.Duration task_ttl = 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>
         getTaskTtlFieldBuilder() {
       if (taskTtlBuilder_ == null) {
-        taskTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTaskTtl(),
-                getParentForChildren(),
-                isClean());
+        taskTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTaskTtl(), getParentForChildren(), isClean());
         taskTtl_ = null;
       }
       return taskTtlBuilder_;
@@ -3302,8 +3657,13 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
 
     private com.google.protobuf.Duration tombstoneTtl_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> tombstoneTtlBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        tombstoneTtlBuilder_;
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3316,12 +3676,15 @@ public com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ public boolean hasTombstoneTtl() { return tombstoneTtlBuilder_ != null || tombstoneTtl_ != null; } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3334,16 +3697,21 @@ public boolean hasTombstoneTtl() {
      * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ public com.google.protobuf.Duration getTombstoneTtl() { if (tombstoneTtlBuilder_ == null) { - return tombstoneTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_; + return tombstoneTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : tombstoneTtl_; } else { return tombstoneTtlBuilder_.getMessage(); } } /** + * + * *
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3371,6 +3739,8 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3384,8 +3754,7 @@ public Builder setTombstoneTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
-    public Builder setTombstoneTtl(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTombstoneTtl(com.google.protobuf.Duration.Builder builderForValue) {
       if (tombstoneTtlBuilder_ == null) {
         tombstoneTtl_ = builderForValue.build();
         onChanged();
@@ -3396,6 +3765,8 @@ public Builder setTombstoneTtl(
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3413,7 +3784,9 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       if (tombstoneTtlBuilder_ == null) {
         if (tombstoneTtl_ != null) {
           tombstoneTtl_ =
-            com.google.protobuf.Duration.newBuilder(tombstoneTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(tombstoneTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tombstoneTtl_ = value;
         }
@@ -3425,6 +3798,8 @@ public Builder mergeTombstoneTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3450,6 +3825,8 @@ public Builder clearTombstoneTtl() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3464,11 +3841,13 @@ public Builder clearTombstoneTtl() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     public com.google.protobuf.Duration.Builder getTombstoneTtlBuilder() {
-      
+
       onChanged();
       return getTombstoneTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3486,11 +3865,14 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
       if (tombstoneTtlBuilder_ != null) {
         return tombstoneTtlBuilder_.getMessageOrBuilder();
       } else {
-        return tombstoneTtl_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : tombstoneTtl_;
+        return tombstoneTtl_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : tombstoneTtl_;
       }
     }
     /**
+     *
+     *
      * 
      * The task tombstone time to live (TTL).
      * After a task is deleted or executed, the task's tombstone is
@@ -3505,14 +3887,17 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
      * .google.protobuf.Duration tombstone_ttl = 9;
      */
     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>
         getTombstoneTtlFieldBuilder() {
       if (tombstoneTtlBuilder_ == null) {
-        tombstoneTtlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTombstoneTtl(),
-                getParentForChildren(),
-                isClean());
+        tombstoneTtlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTombstoneTtl(), getParentForChildren(), isClean());
         tombstoneTtl_ = null;
       }
       return tombstoneTtlBuilder_;
@@ -3520,47 +3905,64 @@ public com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder() {
 
     private com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriverLoggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> stackdriverLoggingConfigBuilder_;
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>
+        stackdriverLoggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ public boolean hasStackdriverLoggingConfig() { return stackdriverLoggingConfigBuilder_ != null || stackdriverLoggingConfig_ != null; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { - return stackdriverLoggingConfig_ == null ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } else { return stackdriverLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder setStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3574,13 +3976,16 @@ public Builder setStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stackd return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder setStackdriverLoggingConfig( com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder builderForValue) { @@ -3594,19 +3999,26 @@ public Builder setStackdriverLoggingConfig( return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { + public Builder mergeStackdriverLoggingConfig( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig value) { if (stackdriverLoggingConfigBuilder_ == null) { if (stackdriverLoggingConfig_ != null) { stackdriverLoggingConfig_ = - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder(stackdriverLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder( + stackdriverLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { stackdriverLoggingConfig_ = value; } @@ -3618,13 +4030,16 @@ public Builder mergeStackdriverLoggingConfig(com.google.cloud.tasks.v2beta3.Stac return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ public Builder clearStackdriverLoggingConfig() { if (stackdriverLoggingConfigBuilder_ == null) { @@ -3638,54 +4053,69 @@ public Builder clearStackdriverLoggingConfig() { return this; } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder getStackdriverLoggingConfigBuilder() { - + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder + getStackdriverLoggingConfigBuilder() { + onChanged(); return getStackdriverLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder() { + public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder() { if (stackdriverLoggingConfigBuilder_ != null) { return stackdriverLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return stackdriverLoggingConfig_ == null ? - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() : stackdriverLoggingConfig_; + return stackdriverLoggingConfig_ == null + ? com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance() + : stackdriverLoggingConfig_; } } /** + * + * *
      * Configuration options for writing logs to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
      * field is unset, then no logs are written.
      * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder> getStackdriverLoggingConfigFieldBuilder() { if (stackdriverLoggingConfigBuilder_ == null) { - stackdriverLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( - getStackdriverLoggingConfig(), - getParentForChildren(), - isClean()); + stackdriverLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder, + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder>( + getStackdriverLoggingConfig(), getParentForChildren(), isClean()); stackdriverLoggingConfig_ = null; } return stackdriverLoggingConfigBuilder_; @@ -3693,6 +4123,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack private int type_ = 0; /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3700,13 +4132,19 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3714,17 +4152,22 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStack
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @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; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3732,16 +4175,22 @@ public Builder setTypeValue(int value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Queue.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Queue.Type result = com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); + com.google.cloud.tasks.v2beta3.Queue.Type result = + com.google.cloud.tasks.v2beta3.Queue.Type.valueOf(type_); return result == null ? com.google.cloud.tasks.v2beta3.Queue.Type.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3749,7 +4198,10 @@ public com.google.cloud.tasks.v2beta3.Queue.Type getType() {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -3757,12 +4209,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. The type of a queue (push or pull).
      * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -3770,11 +4224,14 @@ public Builder setType(com.google.cloud.tasks.v2beta3.Queue.Type value) {
      * selected.
      * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -3782,45 +4239,64 @@ public Builder clearType() { private com.google.cloud.tasks.v2beta3.QueueStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> statsBuilder_; + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ public boolean hasStats() { return statsBuilder_ != null || stats_ != null; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ public com.google.cloud.tasks.v2beta3.QueueStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { @@ -3836,16 +4312,19 @@ public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStats( - com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { + public Builder setStats(com.google.cloud.tasks.v2beta3.QueueStats.Builder builderForValue) { if (statsBuilder_ == null) { stats_ = builderForValue.build(); onChanged(); @@ -3856,19 +4335,25 @@ public Builder setStats( return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.QueueStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -3880,13 +4365,17 @@ public Builder mergeStats(com.google.cloud.tasks.v2beta3.QueueStats value) { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStats() { if (statsBuilder_ == null) { @@ -3900,61 +4389,77 @@ public Builder clearStats() { return this; } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder() { if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.tasks.v2beta3.QueueStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Output only. The realtime, informational statistics for a queue. In order
      * to receive the statistics the caller should include this field in the
      * FieldMask.
      * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.QueueStats, com.google.cloud.tasks.v2beta3.QueueStats.Builder, com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.QueueStats, + com.google.cloud.tasks.v2beta3.QueueStats.Builder, + com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; } + @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); } @@ -3964,12 +4469,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Queue) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Queue) private static final com.google.cloud.tasks.v2beta3.Queue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Queue(); } @@ -3978,16 +4483,16 @@ public static com.google.cloud.tasks.v2beta3.Queue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Queue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Queue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Queue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Queue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4002,6 +4507,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Queue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java similarity index 91% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index f85deb76..cc0ff52c 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueOrBuilder extends +public interface QueueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -28,10 +46,13 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
    * after which it becomes output only.
@@ -52,12 +73,14 @@ public interface QueueOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -65,10 +88,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return Whether the appEngineHttpQueue field is set. */ boolean hasAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -76,10 +102,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; + * * @return The appEngineHttpQueue. */ com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue(); /** + * + * *
    * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
    * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
@@ -91,6 +120,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -115,10 +146,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return Whether the rateLimits field is set. */ boolean hasRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -143,10 +177,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RateLimits rate_limits = 4; + * * @return The rateLimits. */ com.google.cloud.tasks.v2beta3.RateLimits getRateLimits(); /** + * + * *
    * Rate limits for task dispatches.
    * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
@@ -175,6 +212,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -188,10 +227,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -205,10 +247,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.RetryConfig retry_config = 5; + * * @return The retryConfig. */ com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * * For tasks created using Cloud Tasks: the queue-level retry settings
@@ -226,6 +271,8 @@ public interface QueueOrBuilder extends
   com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -236,10 +283,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the queue.
    * `state` can only be changed by calling
@@ -250,11 +300,14 @@ public interface QueueOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; + * * @return The state. */ com.google.cloud.tasks.v2beta3.Queue.State getState(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -267,10 +320,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return Whether the purgeTime field is set. */ boolean hasPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -283,10 +339,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Timestamp purge_time = 7; + * * @return The purgeTime. */ com.google.protobuf.Timestamp getPurgeTime(); /** + * + * *
    * Output only. The last time this queue was purged.
    * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
@@ -303,6 +362,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -317,10 +378,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return Whether the taskTtl field is set. */ boolean hasTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -335,10 +399,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration task_ttl = 8; + * * @return The taskTtl. */ com.google.protobuf.Duration getTaskTtl(); /** + * + * *
    * The maximum amount of time that a task will be retained in
    * this queue.
@@ -357,6 +424,8 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -369,10 +438,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return Whether the tombstoneTtl field is set. */ boolean hasTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -385,10 +457,13 @@ public interface QueueOrBuilder extends
    * 
* * .google.protobuf.Duration tombstone_ttl = 9; + * * @return The tombstoneTtl. */ com.google.protobuf.Duration getTombstoneTtl(); /** + * + * *
    * The task tombstone time to live (TTL).
    * After a task is deleted or executed, the task's tombstone is
@@ -405,39 +480,53 @@ public interface QueueOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return Whether the stackdriverLoggingConfig field is set. */ boolean hasStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * + * * @return The stackdriverLoggingConfig. */ com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig(); /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
    * field is unset, then no logs are written.
    * 
* - * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * .google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10; + * */ - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder getStackdriverLoggingConfigOrBuilder(); + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder + getStackdriverLoggingConfigOrBuilder(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -445,11 +534,16 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Immutable. The type of a queue (push or pull).
    * `Queue.type` is an immutable property of the queue that is set at the queue
@@ -457,41 +551,58 @@ public interface QueueOrBuilder extends
    * selected.
    * 
* - * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.tasks.v2beta3.Queue.Type getType(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stats. */ com.google.cloud.tasks.v2beta3.QueueStats getStats(); /** + * + * *
    * Output only. The realtime, informational statistics for a queue. In order
    * to receive the statistics the caller should include this field in the
    * FieldMask.
    * 
* - * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java new file mode 100644 index 00000000..6e32a784 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -0,0 +1,188 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/queue.proto + +package com.google.cloud.tasks.v2beta3; + +public final class QueueProto { + private QueueProto() {} + + 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_tasks_v2beta3_Queue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_QueueStats_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/tasks/v2beta3/queue.proto" + + "\022\032google.cloud.tasks.v2beta3\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\'google/cloud/tasks/v2beta3/tar" + + "get.proto\032\036google/protobuf/duration.prot" + + "o\032\037google/protobuf/timestamp.proto\032\034goog" + + "le/api/annotations.proto\"\337\006\n\005Queue\022\014\n\004na" + + "me\030\001 \001(\t\022O\n\025app_engine_http_queue\030\003 \001(\0132" + + "..google.cloud.tasks.v2beta3.AppEngineHt" + + "tpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&.google." + + "cloud.tasks.v2beta3.RateLimits\022=\n\014retry_" + + "config\030\005 \001(\0132\'.google.cloud.tasks.v2beta" + + "3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.google.cl" + + "oud.tasks.v2beta3.Queue.State\022.\n\npurge_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022+\n" + + "\010task_ttl\030\010 \001(\0132\031.google.protobuf.Durati" + + "on\0220\n\rtombstone_ttl\030\t \001(\0132\031.google.proto" + + "buf.Duration\022X\n\032stackdriver_logging_conf" + + "ig\030\n \001(\01324.google.cloud.tasks.v2beta3.St" + + "ackdriverLoggingConfig\0229\n\004type\030\013 \001(\0162&.g" + + "oogle.cloud.tasks.v2beta3.Queue.TypeB\003\340A" + + "\005\022:\n\005stats\030\014 \001(\0132&.google.cloud.tasks.v2" + + "beta3.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014" + + "\n\010DISABLED\020\003\"0\n\004Type\022\024\n\020TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004PULL\020\001\022\010\n\004PUSH\020\002:\\\352AY\n\037cloudtasks." + + "googleapis.com/Queue\0226projects/{project}" + + "/locations/{location}/queues/{queue}B\014\n\n" + + "queue_type\"j\n\nRateLimits\022!\n\031max_dispatch" + + "es_per_second\030\001 \001(\001\022\026\n\016max_burst_size\030\002 " + + "\001(\005\022!\n\031max_concurrent_dispatches\030\003 \001(\005\"\321" + + "\001\n\013RetryConfig\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022" + + "max_retry_duration\030\002 \001(\0132\031.google.protob" + + "uf.Duration\022.\n\013min_backoff\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\022.\n\013max_backoff\030\004 \001(\013" + + "2\031.google.protobuf.Duration\022\025\n\rmax_doubl" + + "ings\030\005 \001(\005\"2\n\030StackdriverLoggingConfig\022\026" + + "\n\016sampling_ratio\030\001 \001(\001\"\350\001\n\nQueueStats\022\030\n" + + "\013tasks_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estima" + + "ted_arrival_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\'\n\032executed_last_minute_" + + "count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatche" + + "s_count\030\004 \001(\003B\003\340A\003\022%\n\030effective_executio" + + "n_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.ta" + + "sks.v2beta3B\nQueueProtoP\001Z?google.golang" + + ".org/genproto/googleapis/cloud/tasks/v2b" + + "eta3;tasksb\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(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Queue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Queue_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpQueue", + "RateLimits", + "RetryConfig", + "State", + "PurgeTime", + "TaskTtl", + "TombstoneTtl", + "StackdriverLoggingConfig", + "Type", + "Stats", + "QueueType", + }); + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor, + new java.lang.String[] { + "MaxDispatchesPerSecond", "MaxBurstSize", "MaxConcurrentDispatches", + }); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor, + new java.lang.String[] { + "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", + }); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor, + new java.lang.String[] { + "SamplingRatio", + }); + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor, + new java.lang.String[] { + "TasksCount", + "OldestEstimatedArrivalTime", + "ExecutedLastMinuteCount", + "ConcurrentDispatchesCount", + "EffectiveExecutionRate", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java index 6897da96..978a5c1e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStats.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Statistics for a queue.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ -public final class QueueStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueueStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.QueueStats) QueueStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueueStats.newBuilder() to construct. private QueueStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueueStats() { - } + + private QueueStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueueStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,46 +68,48 @@ private QueueStats( case 0: done = true; break; - case 8: { + case 8: + { + tasksCount_ = input.readInt64(); + break; + } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (oldestEstimatedArrivalTime_ != null) { + subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + } + oldestEstimatedArrivalTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(oldestEstimatedArrivalTime_); + oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + } - tasksCount_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (oldestEstimatedArrivalTime_ != null) { - subBuilder = oldestEstimatedArrivalTime_.toBuilder(); + break; } - oldestEstimatedArrivalTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(oldestEstimatedArrivalTime_); - oldestEstimatedArrivalTime_ = subBuilder.buildPartial(); + case 24: + { + executedLastMinuteCount_ = input.readInt64(); + break; } - - break; - } - case 24: { - - executedLastMinuteCount_ = input.readInt64(); - break; - } - case 32: { - - concurrentDispatchesCount_ = input.readInt64(); - break; - } - case 41: { - - effectiveExecutionRate_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 32: + { + concurrentDispatchesCount_ = input.readInt64(); + break; + } + case 41: + { + effectiveExecutionRate_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,29 +117,33 @@ private QueueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } public static final int TASKS_COUNT_FIELD_NUMBER = 1; private long tasksCount_; /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -130,6 +152,7 @@ private QueueStats(
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -140,12 +163,17 @@ public long getTasksCount() { public static final int OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ @java.lang.Override @@ -153,25 +181,36 @@ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTime_ != null; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { @@ -181,6 +220,8 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui public static final int EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER = 3; private long executedLastMinuteCount_; /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBui
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -198,12 +240,16 @@ public long getExecutedLastMinuteCount() { public static final int CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER = 4; private long concurrentDispatchesCount_; /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -214,6 +260,8 @@ public long getConcurrentDispatchesCount() { public static final int EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER = 5; private double effectiveExecutionRate_; /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -222,6 +270,7 @@ public long getConcurrentDispatchesCount() {
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -230,6 +279,7 @@ public double getEffectiveExecutionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tasksCount_ != 0L) { output.writeInt64(1, tasksCount_); } @@ -268,24 +317,21 @@ public int getSerializedSize() { size = 0; if (tasksCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, tasksCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, tasksCount_); } if (oldestEstimatedArrivalTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOldestEstimatedArrivalTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOldestEstimatedArrivalTime()); } if (executedLastMinuteCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, executedLastMinuteCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, executedLastMinuteCount_); } if (concurrentDispatchesCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, concurrentDispatchesCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, concurrentDispatchesCount_); } if (java.lang.Double.doubleToRawLongBits(effectiveExecutionRate_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, effectiveExecutionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, effectiveExecutionRate_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,27 +341,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.tasks.v2beta3.QueueStats)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.QueueStats other = (com.google.cloud.tasks.v2beta3.QueueStats) obj; + com.google.cloud.tasks.v2beta3.QueueStats other = + (com.google.cloud.tasks.v2beta3.QueueStats) obj; - if (getTasksCount() - != other.getTasksCount()) return false; + if (getTasksCount() != other.getTasksCount()) return false; if (hasOldestEstimatedArrivalTime() != other.hasOldestEstimatedArrivalTime()) return false; if (hasOldestEstimatedArrivalTime()) { - if (!getOldestEstimatedArrivalTime() - .equals(other.getOldestEstimatedArrivalTime())) return false; + if (!getOldestEstimatedArrivalTime().equals(other.getOldestEstimatedArrivalTime())) + return false; } - if (getExecutedLastMinuteCount() - != other.getExecutedLastMinuteCount()) return false; - if (getConcurrentDispatchesCount() - != other.getConcurrentDispatchesCount()) return false; + if (getExecutedLastMinuteCount() != other.getExecutedLastMinuteCount()) return false; + if (getConcurrentDispatchesCount() != other.getConcurrentDispatchesCount()) return false; if (java.lang.Double.doubleToLongBits(getEffectiveExecutionRate()) - != java.lang.Double.doubleToLongBits( - other.getEffectiveExecutionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getEffectiveExecutionRate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,138 +371,146 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TASKS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTasksCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTasksCount()); if (hasOldestEstimatedArrivalTime()) { hash = (37 * hash) + OLDEST_ESTIMATED_ARRIVAL_TIME_FIELD_NUMBER; hash = (53 * hash) + getOldestEstimatedArrivalTime().hashCode(); } hash = (37 * hash) + EXECUTED_LAST_MINUTE_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getExecutedLastMinuteCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExecutedLastMinuteCount()); hash = (37 * hash) + CONCURRENT_DISPATCHES_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getConcurrentDispatchesCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getConcurrentDispatchesCount()); hash = (37 * hash) + EFFECTIVE_EXECUTION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getEffectiveExecutionRate())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.QueueStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.QueueStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats 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; } /** + * + * *
    * Statistics for a queue.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.QueueStats} */ - 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.tasks.v2beta3.QueueStats) com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.QueueStats.class, com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); + com.google.cloud.tasks.v2beta3.QueueStats.class, + com.google.cloud.tasks.v2beta3.QueueStats.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.QueueStats.newBuilder() @@ -467,16 +518,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.QueueProto + .internal_static_google_cloud_tasks_v2beta3_QueueStats_descriptor; } @java.lang.Override @@ -519,7 +569,8 @@ public com.google.cloud.tasks.v2beta3.QueueStats build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueStats buildPartial() { - com.google.cloud.tasks.v2beta3.QueueStats result = new com.google.cloud.tasks.v2beta3.QueueStats(this); + com.google.cloud.tasks.v2beta3.QueueStats result = + new com.google.cloud.tasks.v2beta3.QueueStats(this); result.tasksCount_ = tasksCount_; if (oldestEstimatedArrivalTimeBuilder_ == null) { result.oldestEstimatedArrivalTime_ = oldestEstimatedArrivalTime_; @@ -537,38 +588,39 @@ public com.google.cloud.tasks.v2beta3.QueueStats 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.tasks.v2beta3.QueueStats) { - return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.QueueStats) other); } else { super.mergeFrom(other); return this; @@ -621,8 +673,10 @@ public Builder mergeFrom( return this; } - private long tasksCount_ ; + private long tasksCount_; /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -631,6 +685,7 @@ public Builder mergeFrom(
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ @java.lang.Override @@ -638,6 +693,8 @@ public long getTasksCount() { return tasksCount_; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -646,16 +703,19 @@ public long getTasksCount() {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The tasksCount to set. * @return This builder for chaining. */ public Builder setTasksCount(long value) { - + tasksCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
      * the queue that haven't been executed, the tasks in the queue which the
@@ -664,10 +724,11 @@ public Builder setTasksCount(long value) {
      * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTasksCount() { - + tasksCount_ = 0L; onChanged(); return this; @@ -675,42 +736,61 @@ public Builder clearTasksCount() { private com.google.protobuf.Timestamp oldestEstimatedArrivalTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> oldestEstimatedArrivalTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + oldestEstimatedArrivalTimeBuilder_; /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ public boolean hasOldestEstimatedArrivalTime() { return oldestEstimatedArrivalTimeBuilder_ != null || oldestEstimatedArrivalTime_ != null; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ public com.google.protobuf.Timestamp getOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - return oldestEstimatedArrivalTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } else { return oldestEstimatedArrivalTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -726,12 +806,16 @@ public Builder setOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOldestEstimatedArrivalTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -745,18 +829,24 @@ public Builder setOldestEstimatedArrivalTime( return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp value) { if (oldestEstimatedArrivalTimeBuilder_ == null) { if (oldestEstimatedArrivalTime_ != null) { oldestEstimatedArrivalTime_ = - com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(oldestEstimatedArrivalTime_) + .mergeFrom(value) + .buildPartial(); } else { oldestEstimatedArrivalTime_ = value; } @@ -768,12 +858,16 @@ public Builder mergeOldestEstimatedArrivalTime(com.google.protobuf.Timestamp val return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOldestEstimatedArrivalTime() { if (oldestEstimatedArrivalTimeBuilder_ == null) { @@ -787,65 +881,85 @@ public Builder clearOldestEstimatedArrivalTime() { return this; } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getOldestEstimatedArrivalTimeBuilder() { - + onChanged(); return getOldestEstimatedArrivalTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder() { if (oldestEstimatedArrivalTimeBuilder_ != null) { return oldestEstimatedArrivalTimeBuilder_.getMessageOrBuilder(); } else { - return oldestEstimatedArrivalTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : oldestEstimatedArrivalTime_; + return oldestEstimatedArrivalTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : oldestEstimatedArrivalTime_; } } /** + * + * *
      * Output only. An estimation of the nearest time in the future where a task in the queue
      * is scheduled to be executed.
      * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.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> getOldestEstimatedArrivalTimeFieldBuilder() { if (oldestEstimatedArrivalTimeBuilder_ == null) { - oldestEstimatedArrivalTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOldestEstimatedArrivalTime(), - getParentForChildren(), - isClean()); + oldestEstimatedArrivalTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOldestEstimatedArrivalTime(), getParentForChildren(), isClean()); oldestEstimatedArrivalTime_ = null; } return oldestEstimatedArrivalTimeBuilder_; } - private long executedLastMinuteCount_ ; + private long executedLastMinuteCount_; /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The executedLastMinuteCount. */ @java.lang.Override @@ -853,47 +967,59 @@ public long getExecutedLastMinuteCount() { return executedLastMinuteCount_; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The executedLastMinuteCount to set. * @return This builder for chaining. */ public Builder setExecutedLastMinuteCount(long value) { - + executedLastMinuteCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of tasks that the queue has dispatched and received a reply for
      * during the last minute. This variable counts both successful and
      * non-successful executions.
      * 
* - * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearExecutedLastMinuteCount() { - + executedLastMinuteCount_ = 0L; onChanged(); return this; } - private long concurrentDispatchesCount_ ; + private long concurrentDispatchesCount_; /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ @java.lang.Override @@ -901,39 +1027,49 @@ public long getConcurrentDispatchesCount() { return concurrentDispatchesCount_; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The concurrentDispatchesCount to set. * @return This builder for chaining. */ public Builder setConcurrentDispatchesCount(long value) { - + concurrentDispatchesCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of requests that the queue has dispatched but has not received
      * a reply for yet.
      * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConcurrentDispatchesCount() { - + concurrentDispatchesCount_ = 0L; onChanged(); return this; } - private double effectiveExecutionRate_ ; + private double effectiveExecutionRate_; /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -941,7 +1077,9 @@ public Builder clearConcurrentDispatchesCount() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The effectiveExecutionRate. */ @java.lang.Override @@ -949,6 +1087,8 @@ public double getEffectiveExecutionRate() { return effectiveExecutionRate_; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -956,17 +1096,21 @@ public double getEffectiveExecutionRate() {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The effectiveExecutionRate to set. * @return This builder for chaining. */ public Builder setEffectiveExecutionRate(double value) { - + effectiveExecutionRate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current maximum number of tasks per second executed by the queue.
      * The maximum value of this variable is controlled by the RateLimits of the
@@ -974,18 +1118,20 @@ public Builder setEffectiveExecutionRate(double value) {
      * tasks in the queue are targeting.
      * 
* - * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEffectiveExecutionRate() { - + effectiveExecutionRate_ = 0D; 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); } @@ -995,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.QueueStats) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.QueueStats) private static final com.google.cloud.tasks.v2beta3.QueueStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.QueueStats(); } @@ -1009,16 +1155,16 @@ public static com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueueStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueueStats(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueueStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.QueueStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java similarity index 69% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java index 8a467ec6..2ae27c91 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueStatsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface QueueStatsOrBuilder extends +public interface QueueStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.QueueStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. An estimation of the number of tasks in the queue, that is, the tasks in
    * the queue that haven't been executed, the tasks in the queue which the
@@ -16,41 +34,58 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 tasks_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tasksCount. */ long getTasksCount(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the oldestEstimatedArrivalTime field is set. */ boolean hasOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The oldestEstimatedArrivalTime. */ com.google.protobuf.Timestamp getOldestEstimatedArrivalTime(); /** + * + * *
    * Output only. An estimation of the nearest time in the future where a task in the queue
    * is scheduled to be executed.
    * 
* - * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getOldestEstimatedArrivalTimeOrBuilder(); /** + * + * *
    * Output only. The number of tasks that the queue has dispatched and received a reply for
    * during the last minute. This variable counts both successful and
@@ -58,22 +93,29 @@ public interface QueueStatsOrBuilder extends
    * 
* * int64 executed_last_minute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The executedLastMinuteCount. */ long getExecutedLastMinuteCount(); /** + * + * *
    * Output only. The number of requests that the queue has dispatched but has not received
    * a reply for yet.
    * 
* - * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 concurrent_dispatches_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The concurrentDispatchesCount. */ long getConcurrentDispatchesCount(); /** + * + * *
    * Output only. The current maximum number of tasks per second executed by the queue.
    * The maximum value of this variable is controlled by the RateLimits of the
@@ -82,6 +124,7 @@ public interface QueueStatsOrBuilder extends
    * 
* * double effective_execution_rate = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The effectiveExecutionRate. */ double getEffectiveExecutionRate(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java similarity index 80% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index ef9eedb4..dad67fef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Rate limits.
  * This message determines the maximum rate that tasks can be dispatched by a
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
  */
-public final class RateLimits extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RateLimits extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RateLimits)
     RateLimitsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RateLimits.newBuilder() to construct.
   private RateLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RateLimits() {
-  }
+
+  private RateLimits() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RateLimits();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RateLimits(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +72,28 @@ private RateLimits(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            maxDispatchesPerSecond_ = input.readDouble();
-            break;
-          }
-          case 16: {
-
-            maxBurstSize_ = input.readInt32();
-            break;
-          }
-          case 24: {
-
-            maxConcurrentDispatches_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              maxDispatchesPerSecond_ = input.readDouble();
+              break;
+            }
+          case 16:
+            {
+              maxBurstSize_ = input.readInt32();
+              break;
+            }
+          case 24:
+            {
+              maxConcurrentDispatches_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +101,33 @@ private RateLimits(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+            com.google.cloud.tasks.v2beta3.RateLimits.class,
+            com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
   }
 
   public static final int MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER = 1;
   private double maxDispatchesPerSecond_;
   /**
+   *
+   *
    * 
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -120,6 +140,7 @@ private RateLimits(
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -130,6 +151,8 @@ public double getMaxDispatchesPerSecond() { public static final int MAX_BURST_SIZE_FIELD_NUMBER = 2; private int maxBurstSize_; /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -161,6 +184,7 @@ public double getMaxDispatchesPerSecond() {
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -171,6 +195,8 @@ public int getMaxBurstSize() { public static final int MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER = 3; private int maxConcurrentDispatches_; /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -185,6 +211,7 @@ public int getMaxBurstSize() {
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -193,6 +220,7 @@ public int getMaxConcurrentDispatches() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { output.writeDouble(1, maxDispatchesPerSecond_); } @@ -225,16 +252,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(maxDispatchesPerSecond_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, maxDispatchesPerSecond_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, maxDispatchesPerSecond_); } if (maxBurstSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxBurstSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxBurstSize_); } if (maxConcurrentDispatches_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxConcurrentDispatches_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxConcurrentDispatches_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,20 +268,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RateLimits)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RateLimits other = (com.google.cloud.tasks.v2beta3.RateLimits) obj; + com.google.cloud.tasks.v2beta3.RateLimits other = + (com.google.cloud.tasks.v2beta3.RateLimits) obj; if (java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond()) - != java.lang.Double.doubleToLongBits( - other.getMaxDispatchesPerSecond())) return false; - if (getMaxBurstSize() - != other.getMaxBurstSize()) return false; - if (getMaxConcurrentDispatches() - != other.getMaxConcurrentDispatches()) return false; + != java.lang.Double.doubleToLongBits(other.getMaxDispatchesPerSecond())) return false; + if (getMaxBurstSize() != other.getMaxBurstSize()) return false; + if (getMaxConcurrentDispatches() != other.getMaxConcurrentDispatches()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,8 +292,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_DISPATCHES_PER_SECOND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxDispatchesPerSecond())); hash = (37 * hash) + MAX_BURST_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMaxBurstSize(); hash = (37 * hash) + MAX_CONCURRENT_DISPATCHES_FIELD_NUMBER; @@ -281,97 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RateLimits parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits 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; } /** + * + * *
    * Rate limits.
    * This message determines the maximum rate that tasks can be dispatched by a
@@ -382,21 +413,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits}
    */
-  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.tasks.v2beta3.RateLimits)
       com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RateLimits.class, com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
+              com.google.cloud.tasks.v2beta3.RateLimits.class,
+              com.google.cloud.tasks.v2beta3.RateLimits.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RateLimits.newBuilder()
@@ -404,16 +437,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor;
     }
 
     @java.lang.Override
@@ -448,7 +480,8 @@ public com.google.cloud.tasks.v2beta3.RateLimits build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RateLimits buildPartial() {
-      com.google.cloud.tasks.v2beta3.RateLimits result = new com.google.cloud.tasks.v2beta3.RateLimits(this);
+      com.google.cloud.tasks.v2beta3.RateLimits result =
+          new com.google.cloud.tasks.v2beta3.RateLimits(this);
       result.maxDispatchesPerSecond_ = maxDispatchesPerSecond_;
       result.maxBurstSize_ = maxBurstSize_;
       result.maxConcurrentDispatches_ = maxConcurrentDispatches_;
@@ -460,38 +493,39 @@ public com.google.cloud.tasks.v2beta3.RateLimits 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.tasks.v2beta3.RateLimits) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RateLimits) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -538,8 +572,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double maxDispatchesPerSecond_ ;
+    private double maxDispatchesPerSecond_;
     /**
+     *
+     *
      * 
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -552,6 +588,7 @@ public Builder mergeFrom(
      * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ @java.lang.Override @@ -559,6 +596,8 @@ public double getMaxDispatchesPerSecond() { return maxDispatchesPerSecond_; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -571,16 +610,19 @@ public double getMaxDispatchesPerSecond() {
      * 
* * double max_dispatches_per_second = 1; + * * @param value The maxDispatchesPerSecond to set. * @return This builder for chaining. */ public Builder setMaxDispatchesPerSecond(double value) { - + maxDispatchesPerSecond_ = value; onChanged(); return this; } /** + * + * *
      * The maximum rate at which tasks are dispatched from this queue.
      * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -593,17 +635,20 @@ public Builder setMaxDispatchesPerSecond(double value) {
      * 
* * double max_dispatches_per_second = 1; + * * @return This builder for chaining. */ public Builder clearMaxDispatchesPerSecond() { - + maxDispatchesPerSecond_ = 0D; onChanged(); return this; } - private int maxBurstSize_ ; + private int maxBurstSize_; /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -635,6 +680,7 @@ public Builder clearMaxDispatchesPerSecond() {
      * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ @java.lang.Override @@ -642,6 +688,8 @@ public int getMaxBurstSize() { return maxBurstSize_; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -673,16 +721,19 @@ public int getMaxBurstSize() {
      * 
* * int32 max_burst_size = 2; + * * @param value The maxBurstSize to set. * @return This builder for chaining. */ public Builder setMaxBurstSize(int value) { - + maxBurstSize_ = value; onChanged(); return this; } /** + * + * *
      * The max burst size.
      * Max burst size limits how fast tasks in queue are processed when
@@ -714,17 +765,20 @@ public Builder setMaxBurstSize(int value) {
      * 
* * int32 max_burst_size = 2; + * * @return This builder for chaining. */ public Builder clearMaxBurstSize() { - + maxBurstSize_ = 0; onChanged(); return this; } - private int maxConcurrentDispatches_ ; + private int maxConcurrentDispatches_; /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -739,6 +793,7 @@ public Builder clearMaxBurstSize() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ @java.lang.Override @@ -746,6 +801,8 @@ public int getMaxConcurrentDispatches() { return maxConcurrentDispatches_; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -760,16 +817,19 @@ public int getMaxConcurrentDispatches() {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @param value The maxConcurrentDispatches to set. * @return This builder for chaining. */ public Builder setMaxConcurrentDispatches(int value) { - + maxConcurrentDispatches_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of concurrent tasks that Cloud Tasks allows
      * to be dispatched for this queue. After this threshold has been
@@ -784,17 +844,18 @@ public Builder setMaxConcurrentDispatches(int value) {
      * 
* * int32 max_concurrent_dispatches = 3; + * * @return This builder for chaining. */ public Builder clearMaxConcurrentDispatches() { - + maxConcurrentDispatches_ = 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); } @@ -804,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RateLimits) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RateLimits) private static final com.google.cloud.tasks.v2beta3.RateLimits DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RateLimits(); } @@ -818,16 +879,16 @@ public static com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RateLimits(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RateLimits(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RateLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index bcb32f76..98144881 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RateLimitsOrBuilder extends +public interface RateLimitsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RateLimits) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum rate at which tasks are dispatched from this queue.
    * If unspecified when the queue is created, Cloud Tasks will pick the
@@ -20,11 +38,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * double max_dispatches_per_second = 1; + * * @return The maxDispatchesPerSecond. */ double getMaxDispatchesPerSecond(); /** + * + * *
    * The max burst size.
    * Max burst size limits how fast tasks in queue are processed when
@@ -56,11 +77,14 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_burst_size = 2; + * * @return The maxBurstSize. */ int getMaxBurstSize(); /** + * + * *
    * The maximum number of concurrent tasks that Cloud Tasks allows
    * to be dispatched for this queue. After this threshold has been
@@ -75,6 +99,7 @@ public interface RateLimitsOrBuilder extends
    * 
* * int32 max_concurrent_dispatches = 3; + * * @return The maxConcurrentDispatches. */ int getMaxConcurrentDispatches(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java similarity index 65% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 6a69efc9..7b20829a 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ -public final class ResumeQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.ResumeQueueRequest) ResumeQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeQueueRequest.newBuilder() to construct. private ResumeQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeQueueRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeQueueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The queue name. For example:
    * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.ResumeQueueRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; + com.google.cloud.tasks.v2beta3.ResumeQueueRequest other = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest 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 [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} */ - 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.tasks.v2beta3.ResumeQueueRequest) com.google.cloud.tasks.v2beta3.ResumeQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.class, + com.google.cloud.tasks.v2beta3.ResumeQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.ResumeQueueRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_ResumeQueueRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.ResumeQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); + com.google.cloud.tasks.v2beta3.ResumeQueueRequest result = + new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.tasks.v2beta3.ResumeQueueRequest 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.tasks.v2beta3.ResumeQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.ResumeQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.ResumeQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.ResumeQueueRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.ResumeQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The queue name. For example:
      * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.ResumeQueueRequest) private static final com.google.cloud.tasks.v2beta3.ResumeQueueRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.ResumeQueueRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeQueueRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeQueueRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeQueueRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeQueueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.ResumeQueueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java new file mode 100644 index 00000000..9a447341 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/cloudtasks.proto + +package com.google.cloud.tasks.v2beta3; + +public interface ResumeQueueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.ResumeQueueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The queue name. For example:
+   * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java similarity index 83% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index c721a7bb..dda88aec 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Retry config.
  * These settings determine when a failed task attempt is retried.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,62 +69,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            maxAttempts_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              maxAttempts_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoff_ != null) {
-              subBuilder = minBackoff_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoff_ != null) {
+                subBuilder = minBackoff_.toBuilder();
+              }
+              minBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoff_);
+                minBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoff_);
-              minBackoff_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoff_ != null) {
+                subBuilder = maxBackoff_.toBuilder();
+              }
+              maxBackoff_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoff_);
+                maxBackoff_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoff_ != null) {
-              subBuilder = maxBackoff_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoff_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoff_);
-              maxBackoff_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,29 +138,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.RetryConfig.class,
+            com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
   }
 
   public static final int MAX_ATTEMPTS_FIELD_NUMBER = 1;
   private int maxAttempts_;
   /**
+   *
+   *
    * 
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -153,6 +179,7 @@ private RetryConfig(
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -163,6 +190,8 @@ public int getMaxAttempts() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -180,6 +209,7 @@ public int getMaxAttempts() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -187,6 +217,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -204,13 +236,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -237,6 +274,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -252,6 +291,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ @java.lang.Override @@ -259,6 +299,8 @@ public boolean hasMinBackoff() { return minBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -274,6 +316,7 @@ public boolean hasMinBackoff() {
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ @java.lang.Override @@ -281,6 +324,8 @@ public com.google.protobuf.Duration getMinBackoff() { return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -305,6 +350,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
   public static final int MAX_BACKOFF_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoff_;
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -320,6 +367,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ @java.lang.Override @@ -327,6 +375,8 @@ public boolean hasMaxBackoff() { return maxBackoff_ != null; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -342,6 +392,7 @@ public boolean hasMaxBackoff() {
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ @java.lang.Override @@ -349,6 +400,8 @@ public com.google.protobuf.Duration getMaxBackoff() { return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; } /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -373,6 +426,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -398,6 +453,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -406,6 +462,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxAttempts_ != 0) { output.writeInt32(1, maxAttempts_); } @@ -444,24 +500,19 @@ public int getSerializedSize() { size = 0; if (maxAttempts_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxAttempts_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxAttempts_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoff()); } if (maxBackoff_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoff()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoff()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -471,32 +522,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.RetryConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RetryConfig other = (com.google.cloud.tasks.v2beta3.RetryConfig) obj; + com.google.cloud.tasks.v2beta3.RetryConfig other = + (com.google.cloud.tasks.v2beta3.RetryConfig) obj; - if (getMaxAttempts() - != other.getMaxAttempts()) return false; + if (getMaxAttempts() != other.getMaxAttempts()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoff() != other.hasMinBackoff()) return false; if (hasMinBackoff()) { - if (!getMinBackoff() - .equals(other.getMinBackoff())) return false; + if (!getMinBackoff().equals(other.getMinBackoff())) return false; } if (hasMaxBackoff() != other.hasMaxBackoff()) return false; if (hasMaxBackoff()) { - if (!getMaxBackoff() - .equals(other.getMaxBackoff())) return false; + if (!getMaxBackoff().equals(other.getMaxBackoff())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,97 +576,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Retry config.
    * These settings determine when a failed task attempt is retried.
@@ -627,21 +681,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.RetryConfig)
       com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RetryConfig.class, com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.RetryConfig.class,
+              com.google.cloud.tasks.v2beta3.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RetryConfig.newBuilder()
@@ -649,16 +705,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -709,7 +764,8 @@ public com.google.cloud.tasks.v2beta3.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.RetryConfig result = new com.google.cloud.tasks.v2beta3.RetryConfig(this);
+      com.google.cloud.tasks.v2beta3.RetryConfig result =
+          new com.google.cloud.tasks.v2beta3.RetryConfig(this);
       result.maxAttempts_ = maxAttempts_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -735,38 +791,39 @@ public com.google.cloud.tasks.v2beta3.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.tasks.v2beta3.RetryConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -819,8 +876,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int maxAttempts_ ;
+    private int maxAttempts_;
     /**
+     *
+     *
      * 
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -835,6 +894,7 @@ public Builder mergeFrom(
      * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ @java.lang.Override @@ -842,6 +902,8 @@ public int getMaxAttempts() { return maxAttempts_; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -856,16 +918,19 @@ public int getMaxAttempts() {
      * 
* * int32 max_attempts = 1; + * * @param value The maxAttempts to set. * @return This builder for chaining. */ public Builder setMaxAttempts(int value) { - + maxAttempts_ = value; onChanged(); return this; } /** + * + * *
      * Number of attempts per task.
      * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -880,10 +945,11 @@ public Builder setMaxAttempts(int value) {
      * 
* * int32 max_attempts = 1; + * * @return This builder for chaining. */ public Builder clearMaxAttempts() { - + maxAttempts_ = 0; onChanged(); return this; @@ -891,8 +957,13 @@ public Builder clearMaxAttempts() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -910,12 +981,15 @@ public Builder clearMaxAttempts() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -933,16 +1007,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -975,6 +1054,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -993,8 +1074,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -1005,6 +1085,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1027,7 +1109,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1039,6 +1123,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1069,6 +1155,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1088,11 +1176,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1115,11 +1205,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
@@ -1139,14 +1232,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1154,8 +1250,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1171,12 +1272,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ public boolean hasMinBackoff() { return minBackoffBuilder_ != null || minBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1192,16 +1296,21 @@ public boolean hasMinBackoff() {
      * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ public com.google.protobuf.Duration getMinBackoff() { if (minBackoffBuilder_ == null) { - return minBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoff_; + return minBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoff_; } else { return minBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1232,6 +1341,8 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1248,8 +1359,7 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff = 3;
      */
-    public Builder setMinBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffBuilder_ == null) {
         minBackoff_ = builderForValue.build();
         onChanged();
@@ -1260,6 +1370,8 @@ public Builder setMinBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1280,7 +1392,7 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       if (minBackoffBuilder_ == null) {
         if (minBackoff_ != null) {
           minBackoff_ =
-            com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoff_).mergeFrom(value).buildPartial();
         } else {
           minBackoff_ = value;
         }
@@ -1292,6 +1404,8 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1320,6 +1434,8 @@ public Builder clearMinBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1337,11 +1453,13 @@ public Builder clearMinBackoff() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
-      
+
       onChanged();
       return getMinBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1362,11 +1480,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
       if (minBackoffBuilder_ != null) {
         return minBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoff_;
+        return minBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1384,14 +1505,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * .google.protobuf.Duration min_backoff = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffFieldBuilder() {
       if (minBackoffBuilder_ == null) {
-        minBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoff(),
-                getParentForChildren(),
-                isClean());
+        minBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoff(), getParentForChildren(), isClean());
         minBackoff_ = null;
       }
       return minBackoffBuilder_;
@@ -1399,8 +1523,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoff_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffBuilder_;
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1416,12 +1545,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ public boolean hasMaxBackoff() { return maxBackoffBuilder_ != null || maxBackoff_ != null; } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1437,16 +1569,21 @@ public boolean hasMaxBackoff() {
      * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ public com.google.protobuf.Duration getMaxBackoff() { if (maxBackoffBuilder_ == null) { - return maxBackoff_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_; + return maxBackoff_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoff_; } else { return maxBackoffBuilder_.getMessage(); } } /** + * + * *
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1477,6 +1614,8 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1493,8 +1632,7 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff = 4;
      */
-    public Builder setMaxBackoff(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffBuilder_ == null) {
         maxBackoff_ = builderForValue.build();
         onChanged();
@@ -1505,6 +1643,8 @@ public Builder setMaxBackoff(
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1525,7 +1665,7 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       if (maxBackoffBuilder_ == null) {
         if (maxBackoff_ != null) {
           maxBackoff_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoff_).mergeFrom(value).buildPartial();
         } else {
           maxBackoff_ = value;
         }
@@ -1537,6 +1677,8 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1565,6 +1707,8 @@ public Builder clearMaxBackoff() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1582,11 +1726,13 @@ public Builder clearMaxBackoff() {
      * .google.protobuf.Duration max_backoff = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
-      
+
       onChanged();
       return getMaxBackoffFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1607,11 +1753,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
       if (maxBackoffBuilder_ != null) {
         return maxBackoffBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoff_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoff_;
+        return maxBackoff_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoff_;
       }
     }
     /**
+     *
+     *
      * 
      * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -1629,21 +1778,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * .google.protobuf.Duration max_backoff = 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>
         getMaxBackoffFieldBuilder() {
       if (maxBackoffBuilder_ == null) {
-        maxBackoffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoff(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoff(), getParentForChildren(), isClean());
         maxBackoff_ = null;
       }
       return maxBackoffBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1669,6 +1823,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1676,6 +1831,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1701,16 +1858,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
@@ -1736,17 +1896,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1756,12 +1917,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RetryConfig) private static final com.google.cloud.tasks.v2beta3.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RetryConfig(); } @@ -1770,16 +1931,16 @@ public static com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1794,6 +1955,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java similarity index 93% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java index 16a45225..29a36745 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Number of attempts per task.
    * Cloud Tasks will attempt the task `max_attempts` times (that is, if the
@@ -22,11 +40,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_attempts = 1; + * * @return The maxAttempts. */ int getMaxAttempts(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -44,10 +65,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -65,10 +89,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
@@ -90,6 +117,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -105,10 +134,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return Whether the minBackoff field is set. */ boolean hasMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -124,10 +156,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff = 3; + * * @return The minBackoff. */ com.google.protobuf.Duration getMinBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -147,6 +182,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -162,10 +199,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return Whether the maxBackoff field is set. */ boolean hasMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -181,10 +221,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff = 4; + * * @return The maxBackoff. */ com.google.protobuf.Duration getMaxBackoff(); /** + * + * *
    * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
@@ -204,6 +247,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
@@ -229,6 +274,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java similarity index 73% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java index 8e7077ce..8e7d1959 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for forcing a task to run now using
  * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
  */
-public final class RunTaskRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunTaskRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.RunTaskRequest)
     RunTaskRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunTaskRequest.newBuilder() to construct.
   private RunTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunTaskRequest() {
     name_ = "";
     responseView_ = 0;
@@ -27,16 +45,15 @@ private RunTaskRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunTaskRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunTaskRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private RunTaskRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            responseView_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              responseView_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,35 +100,42 @@ private RunTaskRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.CloudTasksProto
+        .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+            com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -118,30 +144,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 task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -152,6 +180,8 @@ public java.lang.String getName() { public static final int RESPONSE_VIEW_FIELD_NUMBER = 2; private int responseView_; /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -166,12 +196,16 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -186,15 +220,19 @@ public java.lang.String getName() {
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,8 +264,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (responseView_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, responseView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, responseView_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -238,15 +274,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.tasks.v2beta3.RunTaskRequest)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.RunTaskRequest other = (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; + com.google.cloud.tasks.v2beta3.RunTaskRequest other = + (com.google.cloud.tasks.v2beta3.RunTaskRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (responseView_ != other.responseView_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -268,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.RunTaskRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a task to run now using
    * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
@@ -366,21 +409,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.RunTaskRequest}
    */
-  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.tasks.v2beta3.RunTaskRequest)
       com.google.cloud.tasks.v2beta3.RunTaskRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.RunTaskRequest.class, com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.class,
+              com.google.cloud.tasks.v2beta3.RunTaskRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.RunTaskRequest.newBuilder()
@@ -388,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +453,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.CloudTasksProto
+          .internal_static_google_cloud_tasks_v2beta3_RunTaskRequest_descriptor;
     }
 
     @java.lang.Override
@@ -430,7 +474,8 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.RunTaskRequest buildPartial() {
-      com.google.cloud.tasks.v2beta3.RunTaskRequest result = new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
+      com.google.cloud.tasks.v2beta3.RunTaskRequest result =
+          new com.google.cloud.tasks.v2beta3.RunTaskRequest(this);
       result.name_ = name_;
       result.responseView_ = responseView_;
       onBuilt();
@@ -441,38 +486,39 @@ public com.google.cloud.tasks.v2beta3.RunTaskRequest 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.tasks.v2beta3.RunTaskRequest) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.RunTaskRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,19 +565,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -540,21 +590,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,57 +615,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The task name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -620,6 +686,8 @@ public Builder setNameBytes( private int responseView_ = 0; /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -634,12 +702,16 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ - @java.lang.Override public int getResponseViewValue() { + @java.lang.Override + public int getResponseViewValue() { return responseView_; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -654,16 +726,19 @@ public Builder setNameBytes(
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The enum numeric value on the wire for responseView to set. * @return This builder for chaining. */ public Builder setResponseViewValue(int value) { - + responseView_ = value; onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -678,15 +753,19 @@ public Builder setResponseViewValue(int value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(responseView_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -701,6 +780,7 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @param value The responseView to set. * @return This builder for chaining. */ @@ -708,12 +788,14 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + responseView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
      * returned.
@@ -728,17 +810,18 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) {
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return This builder for chaining. */ public Builder clearResponseView() { - + responseView_ = 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); } @@ -748,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.RunTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.RunTaskRequest) private static final com.google.cloud.tasks.v2beta3.RunTaskRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.RunTaskRequest(); } @@ -762,16 +845,16 @@ public static com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunTaskRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunTaskRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,6 +869,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.RunTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 019bc5fa..1bb6a94d 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; -public interface RunTaskRequestOrBuilder extends +public interface RunTaskRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.RunTaskRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The task name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -44,10 +71,13 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The enum numeric value on the wire for responseView. */ int getResponseViewValue(); /** + * + * *
    * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
    * returned.
@@ -62,6 +92,7 @@ public interface RunTaskRequestOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; + * * @return The responseView. */ com.google.cloud.tasks.v2beta3.Task.View getResponseView(); diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java similarity index 68% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java index d34e7cc2..d80fab89 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Configuration options for writing logs to
  * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
  */
-public final class StackdriverLoggingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StackdriverLoggingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.StackdriverLoggingConfig)
     StackdriverLoggingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StackdriverLoggingConfig.newBuilder() to construct.
   private StackdriverLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StackdriverLoggingConfig() {
-  }
+
+  private StackdriverLoggingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StackdriverLoggingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StackdriverLoggingConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,18 +69,18 @@ private StackdriverLoggingConfig(
           case 0:
             done = true;
             break;
-          case 9: {
-
-            samplingRatio_ = input.readDouble();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 9:
+            {
+              samplingRatio_ = input.readDouble();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -72,29 +88,33 @@ private StackdriverLoggingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+    return com.google.cloud.tasks.v2beta3.QueueProto
+        .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+            com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
   }
 
   public static final int SAMPLING_RATIO_FIELD_NUMBER = 1;
   private double samplingRatio_;
   /**
+   *
+   *
    * 
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -103,6 +123,7 @@ private StackdriverLoggingConfig(
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -111,6 +132,7 @@ public double getSamplingRatio() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +144,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { output.writeDouble(1, samplingRatio_); } @@ -137,8 +158,7 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(samplingRatio_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, samplingRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, samplingRatio_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -148,16 +168,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)) { return super.equals(obj); } - com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other = + (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) obj; if (java.lang.Double.doubleToLongBits(getSamplingRatio()) - != java.lang.Double.doubleToLongBits( - other.getSamplingRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplingRatio())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -170,104 +190,114 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLING_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplingRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for writing logs to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -275,21 +305,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.tasks.v2beta3.StackdriverLoggingConfig}
    */
-  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.tasks.v2beta3.StackdriverLoggingConfig)
       com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class, com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.class,
+              com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.newBuilder()
@@ -297,16 +329,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.tasks.v2beta3.QueueProto.internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.tasks.v2beta3.QueueProto
+          .internal_static_google_cloud_tasks_v2beta3_StackdriverLoggingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -337,7 +368,8 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig build() {
 
     @java.lang.Override
     public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig buildPartial() {
-      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
+      com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig result =
+          new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(this);
       result.samplingRatio_ = samplingRatio_;
       onBuilt();
       return result;
@@ -347,38 +379,39 @@ public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig 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.tasks.v2beta3.StackdriverLoggingConfig) {
-        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig)other);
+        return mergeFrom((com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -386,7 +419,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig other) {
-      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig.getDefaultInstance())
+        return this;
       if (other.getSamplingRatio() != 0D) {
         setSamplingRatio(other.getSamplingRatio());
       }
@@ -409,7 +443,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -419,8 +454,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private double samplingRatio_ ;
+    private double samplingRatio_;
     /**
+     *
+     *
      * 
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -429,6 +466,7 @@ public Builder mergeFrom(
      * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ @java.lang.Override @@ -436,6 +474,8 @@ public double getSamplingRatio() { return samplingRatio_; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -444,16 +484,19 @@ public double getSamplingRatio() {
      * 
* * double sampling_ratio = 1; + * * @param value The samplingRatio to set. * @return This builder for chaining. */ public Builder setSamplingRatio(double value) { - + samplingRatio_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the fraction of operations to write to
      * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -462,17 +505,18 @@ public Builder setSamplingRatio(double value) {
      * 
* * double sampling_ratio = 1; + * * @return This builder for chaining. */ public Builder clearSamplingRatio() { - + samplingRatio_ = 0D; 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); } @@ -482,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) private static final com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig(); } @@ -496,16 +540,16 @@ public static com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackdriverLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StackdriverLoggingConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackdriverLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StackdriverLoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,6 +564,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java index 2a730069..ed2107ed 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/StackdriverLoggingConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/queue.proto package com.google.cloud.tasks.v2beta3; -public interface StackdriverLoggingConfigOrBuilder extends +public interface StackdriverLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.StackdriverLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the fraction of operations to write to
    * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
@@ -16,6 +34,7 @@ public interface StackdriverLoggingConfigOrBuilder extends
    * 
* * double sampling_ratio = 1; + * * @return The samplingRatio. */ double getSamplingRatio(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java new file mode 100644 index 00000000..b76a8c8c --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -0,0 +1,201 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/tasks/v2beta3/target.prot" + + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" + + "i/annotations.proto\"+\n\013PullMessage\022\017\n\007pa" + + "yload\030\001 \001(\014\022\013\n\003tag\030\002 \001(\t\"\360\002\n\013HttpRequest" + + "\022\013\n\003url\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.goo" + + "gle.cloud.tasks.v2beta3.HttpMethod\022E\n\007he" + + "aders\030\003 \003(\01324.google.cloud.tasks.v2beta3" + + ".HttpRequest.HeadersEntry\022\014\n\004body\030\004 \001(\014\022" + + "=\n\013oauth_token\030\005 \001(\0132&.google.cloud.task" + + "s.v2beta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001" + + "(\0132%.google.cloud.tasks.v2beta3.OidcToke" + + "nH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"g\n\022A" + + "ppEngineHttpQueue\022Q\n\033app_engine_routing_" + + "override\030\001 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\"\301\002\n\024AppEngineHttpRe" + + "quest\022;\n\013http_method\030\001 \001(\0162&.google.clou" + + "d.tasks.v2beta3.HttpMethod\022H\n\022app_engine" + + "_routing\030\002 \001(\0132,.google.cloud.tasks.v2be" + + "ta3.AppEngineRouting\022\024\n\014relative_uri\030\003 \001" + + "(\t\022N\n\007headers\030\004 \003(\0132=.google.cloud.tasks" + + ".v2beta3.AppEngineHttpRequest.HeadersEnt" + + "ry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRou" + + "ting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020" + + "\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthT" + + "oken\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005s" + + "cope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_accou" + + "nt_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttp" + + "Method\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004P" + + "OST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DEL" + + "ETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.goo" + + "gle.cloud.tasks.v2beta3B\013TargetProtoP\001Z?" + + "google.golang.org/genproto/googleapis/cl" + + "oud/tasks/v2beta3;tasksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_PullMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_PullMessage_descriptor, + new java.lang.String[] { + "Payload", "Tag", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, + new java.lang.String[] { + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpQueue_descriptor, + new java.lang.String[] { + "AppEngineRoutingOverride", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor = + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineHttpRequest_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java similarity index 81% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 24c1dc31..03927a4e 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * A unit of scheduled work.
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.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_ = ""; view_ = 0; @@ -26,16 +44,15 @@ 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; } + private Task( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,142 +71,168 @@ private Task( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: { - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 3) { - subBuilder = ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_).toBuilder(); + name_ = s; + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); - } - payloadTypeCase_ = 3; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (scheduleTime_ != null) { - subBuilder = scheduleTime_.toBuilder(); - } - scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(scheduleTime_); - scheduleTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 3) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_) + .toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 3; + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (scheduleTime_ != null) { + subBuilder = scheduleTime_.toBuilder(); + } + scheduleTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(scheduleTime_); + scheduleTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 48: { - - dispatchCount_ = input.readInt32(); - break; - } - case 56: { - - responseCount_ = input.readInt32(); - break; - } - case 66: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (firstAttempt_ != null) { - subBuilder = firstAttempt_.toBuilder(); - } - firstAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(firstAttempt_); - firstAttempt_ = subBuilder.buildPartial(); + break; } - - break; - } - case 74: { - com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; - if (lastAttempt_ != null) { - subBuilder = lastAttempt_.toBuilder(); + case 48: + { + dispatchCount_ = input.readInt32(); + break; } - lastAttempt_ = input.readMessage(com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastAttempt_); - lastAttempt_ = subBuilder.buildPartial(); + case 56: + { + responseCount_ = input.readInt32(); + break; } + case 66: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (firstAttempt_ != null) { + subBuilder = firstAttempt_.toBuilder(); + } + firstAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firstAttempt_); + firstAttempt_ = subBuilder.buildPartial(); + } - break; - } - case 80: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - case 90: { - com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; - if (payloadTypeCase_ == 11) { - subBuilder = ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.tasks.v2beta3.Attempt.Builder subBuilder = null; + if (lastAttempt_ != null) { + subBuilder = lastAttempt_.toBuilder(); + } + lastAttempt_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Attempt.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastAttempt_); + lastAttempt_ = subBuilder.buildPartial(); + } + + break; } - payloadTypeCase_ = 11; - break; - } - case 98: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (dispatchDeadline_ != null) { - subBuilder = dispatchDeadline_.toBuilder(); + case 80: + { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; } - dispatchDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dispatchDeadline_); - dispatchDeadline_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.tasks.v2beta3.HttpRequest.Builder subBuilder = null; + if (payloadTypeCase_ == 11) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.HttpRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 11; + break; } + case 98: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (dispatchDeadline_ != null) { + subBuilder = dispatchDeadline_.toBuilder(); + } + dispatchDeadline_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dispatchDeadline_); + dispatchDeadline_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; - if (payloadTypeCase_ == 13) { - subBuilder = ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + break; } - payloadType_ = - input.readMessage(com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); - payloadType_ = subBuilder.buildPartial(); + case 106: + { + com.google.cloud.tasks.v2beta3.PullMessage.Builder subBuilder = null; + if (payloadTypeCase_ == 13) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_).toBuilder(); + } + payloadType_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.PullMessage.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + payloadType_ = subBuilder.buildPartial(); + } + payloadTypeCase_ = 13; + break; } - payloadTypeCase_ = 13; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -197,27 +240,31 @@ private Task( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } /** + * + * *
    * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
@@ -229,9 +276,10 @@ private Task(
    *
    * Protobuf enum {@code google.cloud.tasks.v2beta3.Task.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -240,6 +288,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -254,6 +304,8 @@ public enum View
      */
     BASIC(1),
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -268,6 +320,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Defaults to BASIC.
      * 
@@ -276,6 +330,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The basic view omits fields which can be large or can contain
      * sensitive data.
@@ -290,6 +346,8 @@ public enum View
      */
     public static final int BASIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * All information is returned.
      * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
@@ -301,7 +359,6 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -326,49 +383,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 1: return BASIC;
-        case 2: return FULL;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 1:
+          return BASIC;
+        case 2:
+          return FULL;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.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.tasks.v2beta3.Task.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -387,14 +444,17 @@ private View(int value) {
 
   private int payloadTypeCase_ = 0;
   private java.lang.Object payloadType_;
+
   public enum PayloadTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APP_ENGINE_HTTP_REQUEST(3),
     HTTP_REQUEST(11),
     PULL_MESSAGE(13),
     PAYLOADTYPE_NOT_SET(0);
     private final int value;
+
     private PayloadTypeCase(int value) {
       this.value = value;
     }
@@ -410,27 +470,33 @@ public static PayloadTypeCase valueOf(int value) {
 
     public static PayloadTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return APP_ENGINE_HTTP_REQUEST;
-        case 11: return HTTP_REQUEST;
-        case 13: return PULL_MESSAGE;
-        case 0: return PAYLOADTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return APP_ENGINE_HTTP_REQUEST;
+        case 11:
+          return HTTP_REQUEST;
+        case 13:
+          return PULL_MESSAGE;
+        case 0:
+          return PAYLOADTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PayloadTypeCase
-  getPayloadTypeCase() {
-    return PayloadTypeCase.forNumber(
-        payloadTypeCase_);
+  public PayloadTypeCase getPayloadTypeCase() {
+    return PayloadTypeCase.forNumber(payloadTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -452,6 +518,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -460,14 +527,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -489,16 +557,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -508,12 +575,15 @@ public java.lang.String getName() { public static final int APP_ENGINE_HTTP_REQUEST_FIELD_NUMBER = 3; /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -521,22 +591,27 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest() { if (payloadTypeCase_ == 3) { - return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -545,21 +620,25 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
    * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
    */
   @java.lang.Override
-  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+  public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+      getAppEngineHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 3) {
-       return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
   }
 
   public static final int HTTP_REQUEST_FIELD_NUMBER = 11;
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -567,22 +646,27 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { if (payloadTypeCase_ == 11) { - return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; + return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_; } return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance(); } /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -593,13 +677,15 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder() {
     if (payloadTypeCase_ == 11) {
-       return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
   }
 
   public static final int PULL_MESSAGE_FIELD_NUMBER = 13;
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -611,6 +697,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -618,6 +705,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -629,16 +718,19 @@ public boolean hasPullMessage() {
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { if (payloadTypeCase_ == 13) { - return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; + return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_; } return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance(); } /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -654,7 +746,7 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() {
   @java.lang.Override
   public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder() {
     if (payloadTypeCase_ == 13) {
-       return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
+      return (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_;
     }
     return com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
   }
@@ -662,6 +754,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
   public static final int SCHEDULE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp scheduleTime_;
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -669,6 +763,7 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -676,6 +771,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -683,13 +780,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -706,12 +808,15 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -719,12 +824,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -732,6 +840,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -747,6 +857,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int DISPATCH_DEADLINE_FIELD_NUMBER = 12;
   private com.google.protobuf.Duration dispatchDeadline_;
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -777,6 +889,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ @java.lang.Override @@ -784,6 +897,8 @@ public boolean hasDispatchDeadline() { return dispatchDeadline_ != null; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -814,13 +929,18 @@ public boolean hasDispatchDeadline() {
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ @java.lang.Override public com.google.protobuf.Duration getDispatchDeadline() { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -860,6 +980,8 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
   public static final int DISPATCH_COUNT_FIELD_NUMBER = 6;
   private int dispatchCount_;
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -867,6 +989,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -877,11 +1000,14 @@ public int getDispatchCount() { public static final int RESPONSE_COUNT_FIELD_NUMBER = 7; private int responseCount_; /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -892,6 +1018,8 @@ public int getResponseCount() { public static final int FIRST_ATTEMPT_FIELD_NUMBER = 8; private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -899,6 +1027,7 @@ public int getResponseCount() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ @java.lang.Override @@ -906,6 +1035,8 @@ public boolean hasFirstAttempt() { return firstAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -913,13 +1044,18 @@ public boolean hasFirstAttempt() {
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -936,11 +1072,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
   public static final int LAST_ATTEMPT_FIELD_NUMBER = 9;
   private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ @java.lang.Override @@ -948,18 +1087,25 @@ public boolean hasLastAttempt() { return lastAttempt_ != null; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -974,33 +1120,43 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() public static final int VIEW_FIELD_NUMBER = 10; private int view_; /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ - @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { + @java.lang.Override + public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1012,8 +1168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1063,48 +1218,43 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (payloadTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_); } if (scheduleTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getScheduleTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScheduleTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (dispatchCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, dispatchCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, dispatchCount_); } if (responseCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, responseCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, responseCount_); } if (firstAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getFirstAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFirstAttempt()); } if (lastAttempt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getLastAttempt()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLastAttempt()); } if (view_ != com.google.cloud.tasks.v2beta3.Task.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, view_); } if (payloadTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_); } if (dispatchDeadline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDispatchDeadline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDispatchDeadline()); } if (payloadTypeCase_ == 13) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1114,58 +1264,47 @@ 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.tasks.v2beta3.Task)) { return super.equals(obj); } com.google.cloud.tasks.v2beta3.Task other = (com.google.cloud.tasks.v2beta3.Task) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasScheduleTime() != other.hasScheduleTime()) return false; if (hasScheduleTime()) { - if (!getScheduleTime() - .equals(other.getScheduleTime())) return false; + if (!getScheduleTime().equals(other.getScheduleTime())) return false; } if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasDispatchDeadline() != other.hasDispatchDeadline()) return false; if (hasDispatchDeadline()) { - if (!getDispatchDeadline() - .equals(other.getDispatchDeadline())) return false; + if (!getDispatchDeadline().equals(other.getDispatchDeadline())) return false; } - if (getDispatchCount() - != other.getDispatchCount()) return false; - if (getResponseCount() - != other.getResponseCount()) return false; + if (getDispatchCount() != other.getDispatchCount()) return false; + if (getResponseCount() != other.getResponseCount()) return false; if (hasFirstAttempt() != other.hasFirstAttempt()) return false; if (hasFirstAttempt()) { - if (!getFirstAttempt() - .equals(other.getFirstAttempt())) return false; + if (!getFirstAttempt().equals(other.getFirstAttempt())) return false; } if (hasLastAttempt() != other.hasLastAttempt()) return false; if (hasLastAttempt()) { - if (!getLastAttempt() - .equals(other.getLastAttempt())) return false; + if (!getLastAttempt().equals(other.getLastAttempt())) return false; } if (view_ != other.view_) return false; if (!getPayloadTypeCase().equals(other.getPayloadTypeCase())) return false; switch (payloadTypeCase_) { case 3: - if (!getAppEngineHttpRequest() - .equals(other.getAppEngineHttpRequest())) return false; + if (!getAppEngineHttpRequest().equals(other.getAppEngineHttpRequest())) return false; break; case 11: - if (!getHttpRequest() - .equals(other.getHttpRequest())) return false; + if (!getHttpRequest().equals(other.getHttpRequest())) return false; break; case 13: - if (!getPullMessage() - .equals(other.getPullMessage())) return false; + if (!getPullMessage().equals(other.getPullMessage())) return false; break; case 0: default: @@ -1230,118 +1369,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.tasks.v2beta3.Task parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.tasks.v2beta3.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.tasks.v2beta3.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.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.tasks.v2beta3.Task 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.tasks.v2beta3.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.tasks.v2beta3.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; } /** + * + * *
    * A unit of scheduled work.
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) com.google.cloud.tasks.v2beta3.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.Task.class, com.google.cloud.tasks.v2beta3.Task.Builder.class); + com.google.cloud.tasks.v2beta3.Task.class, + com.google.cloud.tasks.v2beta3.Task.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.Task.newBuilder() @@ -1349,16 +1496,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1406,9 +1552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.TaskProto.internal_static_google_cloud_tasks_v2beta3_Task_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TaskProto + .internal_static_google_cloud_tasks_v2beta3_Task_descriptor; } @java.lang.Override @@ -1487,38 +1633,39 @@ public com.google.cloud.tasks.v2beta3.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.tasks.v2beta3.Task) { - return mergeFrom((com.google.cloud.tasks.v2beta3.Task)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.Task) other); } else { super.mergeFrom(other); return this; @@ -1556,21 +1703,25 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Task other) { setViewValue(other.getViewValue()); } switch (other.getPayloadTypeCase()) { - case APP_ENGINE_HTTP_REQUEST: { - mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); - break; - } - case HTTP_REQUEST: { - mergeHttpRequest(other.getHttpRequest()); - break; - } - case PULL_MESSAGE: { - mergePullMessage(other.getPullMessage()); - break; - } - case PAYLOADTYPE_NOT_SET: { - break; - } + case APP_ENGINE_HTTP_REQUEST: + { + mergeAppEngineHttpRequest(other.getAppEngineHttpRequest()); + break; + } + case HTTP_REQUEST: + { + mergeHttpRequest(other.getHttpRequest()); + break; + } + case PULL_MESSAGE: + { + mergePullMessage(other.getPullMessage()); + break; + } + case PAYLOADTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1600,12 +1751,12 @@ public Builder mergeFrom( } return this; } + private int payloadTypeCase_ = 0; private java.lang.Object payloadType_; - public PayloadTypeCase - getPayloadTypeCase() { - return PayloadTypeCase.forNumber( - payloadTypeCase_); + + public PayloadTypeCase getPayloadTypeCase() { + return PayloadTypeCase.forNumber(payloadTypeCase_); } public Builder clearPayloadType() { @@ -1615,9 +1766,10 @@ public Builder clearPayloadType() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1639,13 +1791,13 @@ public Builder clearPayloadType() {
      * 
* * 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; @@ -1654,6 +1806,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1675,15 +1829,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1691,6 +1844,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1712,20 +1867,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1747,15 +1904,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
@@ -1777,30 +1937,36 @@ 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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> appEngineHttpRequestBuilder_; + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, + com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> + appEngineHttpRequestBuilder_; /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ @java.lang.Override @@ -1808,12 +1974,15 @@ public boolean hasAppEngineHttpRequest() { return payloadTypeCase_ == 3; } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ @java.lang.Override @@ -1831,6 +2000,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque } } /** + * + * *
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1838,7 +2009,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder setAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1852,6 +2024,8 @@ public Builder setAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineH
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1871,6 +2045,8 @@ public Builder setAppEngineHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1878,12 +2054,17 @@ public Builder setAppEngineHttpRequest(
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
+    public Builder mergeAppEngineHttpRequest(
+        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest value) {
       if (appEngineHttpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 3 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 3
+            && payloadType_
+                != com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -1899,6 +2080,8 @@ public Builder mergeAppEngineHttpRequest(com.google.cloud.tasks.v2beta3.AppEngin
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1923,6 +2106,8 @@ public Builder clearAppEngineHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1930,10 +2115,13 @@ public Builder clearAppEngineHttpRequest() {
      *
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineHttpRequestBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder
+        getAppEngineHttpRequestBuilder() {
       return getAppEngineHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1942,7 +2130,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder getAppEngineH
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     @java.lang.Override
-    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder() {
+    public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder
+        getAppEngineHttpRequestOrBuilder() {
       if ((payloadTypeCase_ == 3) && (appEngineHttpRequestBuilder_ != null)) {
         return appEngineHttpRequestBuilder_.getMessageOrBuilder();
       } else {
@@ -1953,6 +2142,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the App Engine app handler.
      * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -1961,33 +2152,45 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngine
      * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>
         getAppEngineHttpRequestFieldBuilder() {
       if (appEngineHttpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 3)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.getDefaultInstance();
         }
-        appEngineHttpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.AppEngineHttpRequest, com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder, com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
+        appEngineHttpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.AppEngineHttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return appEngineHttpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> httpRequestBuilder_;
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
+        httpRequestBuilder_;
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ @java.lang.Override @@ -1995,12 +2198,15 @@ public boolean hasHttpRequest() { return payloadTypeCase_ == 11; } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ @java.lang.Override @@ -2018,6 +2224,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { } } /** + * + * *
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2039,6 +2247,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value)
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2058,6 +2268,8 @@ public Builder setHttpRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2067,10 +2279,13 @@ public Builder setHttpRequest(
      */
     public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) {
       if (httpRequestBuilder_ == null) {
-        if (payloadTypeCase_ == 11 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder((com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 11
+            && payloadType_ != com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.HttpRequest.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2086,6 +2301,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2110,6 +2327,8 @@ public Builder clearHttpRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2121,6 +2340,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder(
       return getHttpRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2140,6 +2361,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * HTTP request that is sent to the task's target.
      * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -2148,27 +2371,38 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder> 
+            com.google.cloud.tasks.v2beta3.HttpRequest,
+            com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+            com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>
         getHttpRequestFieldBuilder() {
       if (httpRequestBuilder_ == null) {
         if (!(payloadTypeCase_ == 11)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
         }
-        httpRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.HttpRequest, com.google.cloud.tasks.v2beta3.HttpRequest.Builder, com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
+        httpRequestBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.HttpRequest,
+                com.google.cloud.tasks.v2beta3.HttpRequest.Builder,
+                com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 11;
-      onChanged();;
+      onChanged();
+      ;
       return httpRequestBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> pullMessageBuilder_;
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
+        pullMessageBuilder_;
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2180,6 +2414,7 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ @java.lang.Override @@ -2187,6 +2422,8 @@ public boolean hasPullMessage() { return payloadTypeCase_ == 13; } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2198,6 +2435,7 @@ public boolean hasPullMessage() {
      * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ @java.lang.Override @@ -2215,6 +2453,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage getPullMessage() { } } /** + * + * *
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2241,6 +2481,8 @@ public Builder setPullMessage(com.google.cloud.tasks.v2beta3.PullMessage value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2265,6 +2507,8 @@ public Builder setPullMessage(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2279,10 +2523,13 @@ public Builder setPullMessage(
      */
     public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value) {
       if (pullMessageBuilder_ == null) {
-        if (payloadTypeCase_ == 13 &&
-            payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
-          payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.newBuilder((com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
-              .mergeFrom(value).buildPartial();
+        if (payloadTypeCase_ == 13
+            && payloadType_ != com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance()) {
+          payloadType_ =
+              com.google.cloud.tasks.v2beta3.PullMessage.newBuilder(
+                      (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           payloadType_ = value;
         }
@@ -2298,6 +2545,8 @@ public Builder mergePullMessage(com.google.cloud.tasks.v2beta3.PullMessage value
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2327,6 +2576,8 @@ public Builder clearPullMessage() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2343,6 +2594,8 @@ public com.google.cloud.tasks.v2beta3.PullMessage.Builder getPullMessageBuilder(
       return getPullMessageFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2367,6 +2620,8 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
      * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -2380,28 +2635,39 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder> 
+            com.google.cloud.tasks.v2beta3.PullMessage,
+            com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+            com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>
         getPullMessageFieldBuilder() {
       if (pullMessageBuilder_ == null) {
         if (!(payloadTypeCase_ == 13)) {
           payloadType_ = com.google.cloud.tasks.v2beta3.PullMessage.getDefaultInstance();
         }
-        pullMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.PullMessage, com.google.cloud.tasks.v2beta3.PullMessage.Builder, com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
+        pullMessageBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.PullMessage,
+                com.google.cloud.tasks.v2beta3.PullMessage.Builder,
+                com.google.cloud.tasks.v2beta3.PullMessageOrBuilder>(
                 (com.google.cloud.tasks.v2beta3.PullMessage) payloadType_,
                 getParentForChildren(),
                 isClean());
         payloadType_ = null;
       }
       payloadTypeCase_ = 13;
-      onChanged();;
+      onChanged();
+      ;
       return pullMessageBuilder_;
     }
 
     private com.google.protobuf.Timestamp scheduleTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        scheduleTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2409,12 +2675,15 @@ public com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuild
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2422,16 +2691,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2454,6 +2728,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2462,8 +2738,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 4;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -2474,6 +2749,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2486,7 +2763,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -2498,6 +2777,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2518,6 +2799,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2527,11 +2810,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 4;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2544,11 +2829,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the task is scheduled to be attempted.
      * For App Engine queues, this is when the task will be attempted or retried.
@@ -2558,14 +2846,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_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>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -2573,36 +2864,49 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2624,6 +2928,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2631,8 +2937,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 5;
      */
-    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();
@@ -2643,6 +2948,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2654,7 +2961,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;
         }
@@ -2666,6 +2973,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2685,6 +2994,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2693,11 +3004,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2709,11 +3022,14 @@ 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 time that the task was created.
      * `create_time` will be truncated to the nearest second.
@@ -2722,14 +3038,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 5;
      */
     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_;
@@ -2737,8 +3056,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Duration dispatchDeadline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> dispatchDeadlineBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        dispatchDeadlineBuilder_;
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2769,12 +3093,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ public boolean hasDispatchDeadline() { return dispatchDeadlineBuilder_ != null || dispatchDeadline_ != null; } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2805,16 +3132,21 @@ public boolean hasDispatchDeadline() {
      * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ public com.google.protobuf.Duration getDispatchDeadline() { if (dispatchDeadlineBuilder_ == null) { - return dispatchDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_; + return dispatchDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : dispatchDeadline_; } else { return dispatchDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2860,6 +3192,8 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2891,8 +3225,7 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
-    public Builder setDispatchDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (dispatchDeadlineBuilder_ == null) {
         dispatchDeadline_ = builderForValue.build();
         onChanged();
@@ -2903,6 +3236,8 @@ public Builder setDispatchDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2938,7 +3273,9 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       if (dispatchDeadlineBuilder_ == null) {
         if (dispatchDeadline_ != null) {
           dispatchDeadline_ =
-            com.google.protobuf.Duration.newBuilder(dispatchDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(dispatchDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dispatchDeadline_ = value;
         }
@@ -2950,6 +3287,8 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -2993,6 +3332,8 @@ public Builder clearDispatchDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3025,11 +3366,13 @@ public Builder clearDispatchDeadline() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() {
-      
+
       onChanged();
       return getDispatchDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3065,11 +3408,14 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
       if (dispatchDeadlineBuilder_ != null) {
         return dispatchDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return dispatchDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : dispatchDeadline_;
+        return dispatchDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : dispatchDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for requests sent to the worker. If the worker does not
      * respond by this deadline then the request is cancelled and the attempt
@@ -3102,21 +3448,26 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * .google.protobuf.Duration dispatch_deadline = 12;
      */
     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>
         getDispatchDeadlineFieldBuilder() {
       if (dispatchDeadlineBuilder_ == null) {
-        dispatchDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDispatchDeadline(),
-                getParentForChildren(),
-                isClean());
+        dispatchDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDispatchDeadline(), getParentForChildren(), isClean());
         dispatchDeadline_ = null;
       }
       return dispatchDeadlineBuilder_;
     }
 
-    private int dispatchCount_ ;
+    private int dispatchCount_;
     /**
+     *
+     *
      * 
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3124,6 +3475,7 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() {
      * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ @java.lang.Override @@ -3131,6 +3483,8 @@ public int getDispatchCount() { return dispatchCount_; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3138,16 +3492,19 @@ public int getDispatchCount() {
      * 
* * int32 dispatch_count = 6; + * * @param value The dispatchCount to set. * @return This builder for chaining. */ public Builder setDispatchCount(int value) { - + dispatchCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts dispatched.
      * This count includes attempts which have been dispatched but haven't
@@ -3155,22 +3512,26 @@ public Builder setDispatchCount(int value) {
      * 
* * int32 dispatch_count = 6; + * * @return This builder for chaining. */ public Builder clearDispatchCount() { - + dispatchCount_ = 0; onChanged(); return this; } - private int responseCount_ ; + private int responseCount_; /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return The responseCount. */ @java.lang.Override @@ -3178,30 +3539,36 @@ public int getResponseCount() { return responseCount_; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @param value The responseCount to set. * @return This builder for chaining. */ public Builder setResponseCount(int value) { - + responseCount_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The number of attempts which have received a response.
      * 
* * int32 response_count = 7; + * * @return This builder for chaining. */ public Builder clearResponseCount() { - + responseCount_ = 0; onChanged(); return this; @@ -3209,8 +3576,13 @@ public Builder clearResponseCount() { private com.google.cloud.tasks.v2beta3.Attempt firstAttempt_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> firstAttemptBuilder_; + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + firstAttemptBuilder_; /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3218,12 +3590,15 @@ public Builder clearResponseCount() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ public boolean hasFirstAttempt() { return firstAttemptBuilder_ != null || firstAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3231,16 +3606,21 @@ public boolean hasFirstAttempt() {
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { if (firstAttemptBuilder_ == null) { - return firstAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_; + return firstAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : firstAttempt_; } else { return firstAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3263,6 +3643,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3271,8 +3653,7 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
      *
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
-    public Builder setFirstAttempt(
-        com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
+    public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) {
       if (firstAttemptBuilder_ == null) {
         firstAttempt_ = builderForValue.build();
         onChanged();
@@ -3283,6 +3664,8 @@ public Builder setFirstAttempt(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3295,7 +3678,9 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       if (firstAttemptBuilder_ == null) {
         if (firstAttempt_ != null) {
           firstAttempt_ =
-            com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_).mergeFrom(value).buildPartial();
+              com.google.cloud.tasks.v2beta3.Attempt.newBuilder(firstAttempt_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           firstAttempt_ = value;
         }
@@ -3307,6 +3692,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3327,6 +3714,8 @@ public Builder clearFirstAttempt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3336,11 +3725,13 @@ public Builder clearFirstAttempt() {
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() {
-      
+
       onChanged();
       return getFirstAttemptFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3353,11 +3744,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
       if (firstAttemptBuilder_ != null) {
         return firstAttemptBuilder_.getMessageOrBuilder();
       } else {
-        return firstAttempt_ == null ?
-            com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : firstAttempt_;
+        return firstAttempt_ == null
+            ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance()
+            : firstAttempt_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The status of the task's first attempt.
      * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -3367,14 +3761,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
      * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> 
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
         getFirstAttemptFieldBuilder() {
       if (firstAttemptBuilder_ == null) {
-        firstAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
-                getFirstAttempt(),
-                getParentForChildren(),
-                isClean());
+        firstAttemptBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.tasks.v2beta3.Attempt,
+                com.google.cloud.tasks.v2beta3.Attempt.Builder,
+                com.google.cloud.tasks.v2beta3.AttemptOrBuilder>(
+                getFirstAttempt(), getParentForChildren(), isClean());
         firstAttempt_ = null;
       }
       return firstAttemptBuilder_;
@@ -3382,34 +3779,47 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder(
 
     private com.google.cloud.tasks.v2beta3.Attempt lastAttempt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> lastAttemptBuilder_;
+            com.google.cloud.tasks.v2beta3.Attempt,
+            com.google.cloud.tasks.v2beta3.Attempt.Builder,
+            com.google.cloud.tasks.v2beta3.AttemptOrBuilder>
+        lastAttemptBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ public boolean hasLastAttempt() { return lastAttemptBuilder_ != null || lastAttempt_ != null; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ public com.google.cloud.tasks.v2beta3.Attempt getLastAttempt() { if (lastAttemptBuilder_ == null) { - return lastAttempt_ == null ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } else { return lastAttemptBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3430,14 +3840,15 @@ public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ - public Builder setLastAttempt( - com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { + public Builder setLastAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder builderForValue) { if (lastAttemptBuilder_ == null) { lastAttempt_ = builderForValue.build(); onChanged(); @@ -3448,6 +3859,8 @@ public Builder setLastAttempt( return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3458,7 +3871,9 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { if (lastAttemptBuilder_ == null) { if (lastAttempt_ != null) { lastAttempt_ = - com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Attempt.newBuilder(lastAttempt_) + .mergeFrom(value) + .buildPartial(); } else { lastAttempt_ = value; } @@ -3470,6 +3885,8 @@ public Builder mergeLastAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3488,6 +3905,8 @@ public Builder clearLastAttempt() { return this; } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3495,11 +3914,13 @@ public Builder clearLastAttempt() { * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ public com.google.cloud.tasks.v2beta3.Attempt.Builder getLastAttemptBuilder() { - + onChanged(); return getLastAttemptFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3510,11 +3931,14 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() if (lastAttemptBuilder_ != null) { return lastAttemptBuilder_.getMessageOrBuilder(); } else { - return lastAttempt_ == null ? - com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() : lastAttempt_; + return lastAttempt_ == null + ? com.google.cloud.tasks.v2beta3.Attempt.getDefaultInstance() + : lastAttempt_; } } /** + * + * *
      * Output only. The status of the task's last attempt.
      * 
@@ -3522,14 +3946,17 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder> + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder> getLastAttemptFieldBuilder() { if (lastAttemptBuilder_ == null) { - lastAttemptBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Attempt, com.google.cloud.tasks.v2beta3.Attempt.Builder, com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( - getLastAttempt(), - getParentForChildren(), - isClean()); + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Attempt, + com.google.cloud.tasks.v2beta3.Attempt.Builder, + com.google.cloud.tasks.v2beta3.AttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); lastAttempt_ = null; } return lastAttemptBuilder_; @@ -3537,55 +3964,69 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() private int view_ = 0; /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ @java.lang.Override public com.google.cloud.tasks.v2beta3.Task.View getView() { @SuppressWarnings("deprecation") - com.google.cloud.tasks.v2beta3.Task.View result = com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); + com.google.cloud.tasks.v2beta3.Task.View result = + com.google.cloud.tasks.v2beta3.Task.View.valueOf(view_); return result == null ? com.google.cloud.tasks.v2beta3.Task.View.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @param value The view to set. * @return This builder for chaining. */ @@ -3593,29 +4034,32 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
      * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 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); } @@ -3625,12 +4069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.Task) } // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.Task) private static final com.google.cloud.tasks.v2beta3.Task DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.Task(); } @@ -3639,16 +4083,16 @@ public static com.google.cloud.tasks.v2beta3.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 { - return new Task(input, extensionRegistry); - } - }; + 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 { + return new Task(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3663,6 +4107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.tasks.v2beta3.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java similarity index 100% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskName.java diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java similarity index 94% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 9eec5440..674d4ee6 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/task.proto package com.google.cloud.tasks.v2beta3; -public interface TaskOrBuilder extends +public interface TaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Task) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -29,10 +47,13 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
@@ -54,32 +75,40 @@ public interface TaskOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return Whether the appEngineHttpRequest field is set. */ boolean hasAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; + * * @return The appEngineHttpRequest. */ com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpRequest(); /** + * + * *
    * HTTP request that is sent to the App Engine app handler.
    * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
@@ -90,26 +119,34 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AppEngineHttpRequestOrBuilder getAppEngineHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return Whether the httpRequest field is set. */ boolean hasHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; + * * @return The httpRequest. */ com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest(); /** + * + * *
    * HTTP request that is sent to the task's target.
    * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
@@ -120,6 +157,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuilder();
 
   /**
+   *
+   *
    * 
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -131,10 +170,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return Whether the pullMessage field is set. */ boolean hasPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -146,10 +188,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.PullMessage pull_message = 13; + * * @return The pullMessage. */ com.google.cloud.tasks.v2beta3.PullMessage getPullMessage(); /** + * + * *
    * Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
    * payload type cannot be explicitly set through Cloud Tasks API. Its
@@ -165,6 +210,8 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.PullMessageOrBuilder getPullMessageOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -172,10 +219,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -183,10 +233,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 4; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * The time when the task is scheduled to be attempted.
    * For App Engine queues, this is when the task will be attempted or retried.
@@ -198,26 +251,34 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time that the task was created.
    * `create_time` will be truncated to the nearest second.
@@ -228,6 +289,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -258,10 +321,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return Whether the dispatchDeadline field is set. */ boolean hasDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -292,10 +358,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.protobuf.Duration dispatch_deadline = 12; + * * @return The dispatchDeadline. */ com.google.protobuf.Duration getDispatchDeadline(); /** + * + * *
    * The deadline for requests sent to the worker. If the worker does not
    * respond by this deadline then the request is cancelled and the attempt
@@ -330,6 +399,8 @@ public interface TaskOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The number of attempts dispatched.
    * This count includes attempts which have been dispatched but haven't
@@ -337,21 +408,27 @@ public interface TaskOrBuilder extends
    * 
* * int32 dispatch_count = 6; + * * @return The dispatchCount. */ int getDispatchCount(); /** + * + * *
    * Output only. The number of attempts which have received a response.
    * 
* * int32 response_count = 7; + * * @return The responseCount. */ int getResponseCount(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -359,10 +436,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return Whether the firstAttempt field is set. */ boolean hasFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -370,10 +450,13 @@ public interface TaskOrBuilder extends
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; + * * @return The firstAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt(); /** + * + * *
    * Output only. The status of the task's first attempt.
    * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
@@ -385,24 +468,32 @@ public interface TaskOrBuilder extends
   com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return Whether the lastAttempt field is set. */ boolean hasLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
* * .google.cloud.tasks.v2beta3.Attempt last_attempt = 9; + * * @return The lastAttempt. */ com.google.cloud.tasks.v2beta3.Attempt getLastAttempt(); /** + * + * *
    * Output only. The status of the task's last attempt.
    * 
@@ -412,22 +503,28 @@ public interface TaskOrBuilder extends com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
    * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; + * * @return The view. */ com.google.cloud.tasks.v2beta3.Task.View getView(); diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java new file mode 100644 index 00000000..e57410e2 --- /dev/null +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -0,0 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/task.proto + +package com.google.cloud.tasks.v2beta3; + +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_tasks_v2beta3_Task_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_Attempt_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/tasks/v2beta3/task.proto\022" + + "\032google.cloud.tasks.v2beta3\032\031google/api/" + + "resource.proto\032\'google/cloud/tasks/v2bet" + + "a3/target.proto\032\036google/protobuf/duratio" + + "n.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\032\034google/api/an" + + "notations.proto\"\216\006\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\022?\n\014pull_mes" + + "sage\030\r \001(\0132\'.google.cloud.tasks.v2beta3." + + "PullMessageH\000\0221\n\rschedule_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\005 \001(\0132\032.google.protobuf.Timestamp\0224\n\021dis" + + "patch_deadline\030\014 \001(\0132\031.google.protobuf.D" + + "uration\022\026\n\016dispatch_count\030\006 \001(\005\022\026\n\016respo" + + "nse_count\030\007 \001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#" + + ".google.cloud.tasks.v2beta3.Attempt\0229\n\014l" + + "ast_attempt\030\t \001(\0132#.google.cloud.tasks.v" + + "2beta3.Attempt\0223\n\004view\030\n \001(\0162%.google.cl" + + "oud.tasks.v2beta3.Task.View\"1\n\004View\022\024\n\020V" + + "IEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002:h" + + "\352Ae\n\036cloudtasks.googleapis.com/Task\022Cpro" + + "jects/{project}/locations/{location}/que" + + "ues/{queue}/tasks/{task}B\016\n\014payload_type" + + "\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rdispatch_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\rre" + + "sponse_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stamp\022+\n\017response_status\030\004 \001(\0132\022.google." + + "rpc.StatusBn\n\036com.google.cloud.tasks.v2b" + + "eta3B\tTaskProtoP\001Z?google.golang.org/gen" + + "proto/googleapis/cloud/tasks/v2beta3;tas" + + "ksb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_tasks_v2beta3_Task_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_tasks_v2beta3_Task_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Task_descriptor, + new java.lang.String[] { + "Name", + "AppEngineHttpRequest", + "HttpRequest", + "PullMessage", + "ScheduleTime", + "CreateTime", + "DispatchDeadline", + "DispatchCount", + "ResponseCount", + "FirstAttempt", + "LastAttempt", + "View", + "PayloadType", + }); + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_tasks_v2beta3_Attempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_Attempt_descriptor, + new java.lang.String[] { + "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java similarity index 72% rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 635a81c9..0721b5ef 100644 --- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/tasks/v2beta3/cloudtasks.proto package com.google.cloud.tasks.v2beta3; /** + * + * *
  * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ -public final class UpdateQueueRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateQueueRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.UpdateQueueRequest) UpdateQueueRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateQueueRequest.newBuilder() to construct. private UpdateQueueRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateQueueRequest() { - } + + private UpdateQueueRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateQueueRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateQueueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateQueueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; - if (queue_ != null) { - subBuilder = queue_.toBuilder(); - } - queue_ = input.readMessage(com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(queue_); - queue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.tasks.v2beta3.Queue.Builder subBuilder = null; + if (queue_ != null) { + subBuilder = queue_.toBuilder(); + } + queue_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.Queue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(queue_); + queue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateQueueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } public static final int QUEUE_FIELD_NUMBER = 1; private com.google.cloud.tasks.v2beta3.Queue queue_; /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -123,7 +148,9 @@ private UpdateQueueRequest(
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasQueue() { return queue_ != null; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -139,7 +168,9 @@ public boolean hasQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -155,7 +188,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { @@ -165,12 +199,15 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -178,12 +215,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +231,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
@@ -204,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,8 +258,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (queue_ != null) {
       output.writeMessage(1, getQueue());
     }
@@ -233,12 +275,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (queue_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getQueue());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueue());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,22 +288,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.tasks.v2beta3.UpdateQueueRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
+    com.google.cloud.tasks.v2beta3.UpdateQueueRequest other =
+        (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) obj;
 
     if (hasQueue() != other.hasQueue()) return false;
     if (hasQueue()) {
-      if (!getQueue()
-          .equals(other.getQueue())) return false;
+      if (!getQueue().equals(other.getQueue())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -290,117 +329,126 @@ public int hashCode() {
   }
 
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest 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 [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} */ - 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.tasks.v2beta3.UpdateQueueRequest) com.google.cloud.tasks.v2beta3.UpdateQueueRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.class, + com.google.cloud.tasks.v2beta3.UpdateQueueRequest.Builder.class); } // Construct using com.google.cloud.tasks.v2beta3.UpdateQueueRequest.newBuilder() @@ -408,16 +456,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.tasks.v2beta3.CloudTasksProto.internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.CloudTasksProto + .internal_static_google_cloud_tasks_v2beta3_UpdateQueueRequest_descriptor; } @java.lang.Override @@ -458,7 +505,8 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest build() { @java.lang.Override public com.google.cloud.tasks.v2beta3.UpdateQueueRequest buildPartial() { - com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); + com.google.cloud.tasks.v2beta3.UpdateQueueRequest result = + new com.google.cloud.tasks.v2beta3.UpdateQueueRequest(this); if (queueBuilder_ == null) { result.queue_ = queue_; } else { @@ -477,38 +525,39 @@ public com.google.cloud.tasks.v2beta3.UpdateQueueRequest 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.tasks.v2beta3.UpdateQueueRequest) { - return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest)other); + return mergeFrom((com.google.cloud.tasks.v2beta3.UpdateQueueRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.tasks.v2beta3.UpdateQueueRequest other) { - if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.tasks.v2beta3.UpdateQueueRequest.getDefaultInstance()) + return this; if (other.hasQueue()) { mergeQueue(other.getQueue()); } @@ -542,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.tasks.v2beta3.UpdateQueueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +605,13 @@ public Builder mergeFrom( private com.google.cloud.tasks.v2beta3.Queue queue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> queueBuilder_; + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> + queueBuilder_; /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -564,13 +620,17 @@ public Builder mergeFrom(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ public boolean hasQueue() { return queueBuilder_ != null || queue_ != null; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -579,7 +639,9 @@ public boolean hasQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ public com.google.cloud.tasks.v2beta3.Queue getQueue() { @@ -590,6 +652,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -598,7 +662,8 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { @@ -614,6 +679,8 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -622,10 +689,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setQueue( - com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { + public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForValue) { if (queueBuilder_ == null) { queue_ = builderForValue.build(); onChanged(); @@ -636,6 +703,8 @@ public Builder setQueue( return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -644,13 +713,16 @@ public Builder setQueue(
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { if (queueBuilder_ == null) { if (queue_ != null) { queue_ = - com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_).mergeFrom(value).buildPartial(); + com.google.cloud.tasks.v2beta3.Queue.newBuilder(queue_) + .mergeFrom(value) + .buildPartial(); } else { queue_ = value; } @@ -662,6 +734,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -670,7 +744,8 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearQueue() { if (queueBuilder_ == null) { @@ -684,6 +759,8 @@ public Builder clearQueue() { return this; } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -692,14 +769,17 @@ public Builder clearQueue() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { - + onChanged(); return getQueueFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -708,17 +788,19 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { if (queueBuilder_ != null) { return queueBuilder_.getMessageOrBuilder(); } else { - return queue_ == null ? - com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; + return queue_ == null ? com.google.cloud.tasks.v2beta3.Queue.getDefaultInstance() : queue_; } } /** + * + * *
      * Required. The queue to create or update.
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -727,17 +809,21 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() {
      * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder> + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder> getQueueFieldBuilder() { if (queueBuilder_ == null) { - queueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.tasks.v2beta3.Queue, com.google.cloud.tasks.v2beta3.Queue.Builder, com.google.cloud.tasks.v2beta3.QueueOrBuilder>( - getQueue(), - getParentForChildren(), - isClean()); + queueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.Queue, + com.google.cloud.tasks.v2beta3.Queue.Builder, + com.google.cloud.tasks.v2beta3.QueueOrBuilder>( + getQueue(), getParentForChildren(), isClean()); queue_ = null; } return queueBuilder_; @@ -745,36 +831,49 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -796,6 +895,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -803,8 +904,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -815,6 +915,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -826,7 +928,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -838,6 +940,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -857,6 +961,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -865,11 +971,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -881,11 +989,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask used to specify which fields of the queue are being updated.
      * If empty, then all fields will be updated.
@@ -894,21 +1005,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -918,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.UpdateQueueRequest)
   private static final com.google.cloud.tasks.v2beta3.UpdateQueueRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.UpdateQueueRequest();
   }
@@ -932,16 +1046,16 @@ public static com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateQueueRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateQueueRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateQueueRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateQueueRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -956,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.tasks.v2beta3.UpdateQueueRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
rename to proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
index 33a0c511..3e6869a9 100644
--- a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/tasks/v2beta3/cloudtasks.proto
 
 package com.google.cloud.tasks.v2beta3;
 
-public interface UpdateQueueRequestOrBuilder extends
+public interface UpdateQueueRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.UpdateQueueRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -16,11 +34,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the queue field is set. */ boolean hasQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -29,11 +51,15 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The queue. */ com.google.cloud.tasks.v2beta3.Queue getQueue(); /** + * + * *
    * Required. The queue to create or update.
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
@@ -42,31 +68,40 @@ public interface UpdateQueueRequestOrBuilder extends
    * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* - * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.tasks.v2beta3.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask used to specify which fields of the queue are being updated.
    * If empty, then all fields will be updated.
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto
diff --git a/owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
similarity index 100%
rename from owl-bot-staging/v2beta3/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto
rename to proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto

From f6ce30e9f2974fa5d98ef1b724a2d7a0c91f1a99 Mon Sep 17 00:00:00 2001
From: Neenu Shaji 
Date: Thu, 23 Jun 2022 12:25:41 -0400
Subject: [PATCH 7/7] Update pom.xml

---
 google-cloud-tasks/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/google-cloud-tasks/pom.xml b/google-cloud-tasks/pom.xml
index 57c385ae..a99dcd2c 100644
--- a/google-cloud-tasks/pom.xml
+++ b/google-cloud-tasks/pom.xml
@@ -66,6 +66,10 @@
       com.google.api
       gax-grpc
     
+    
+      com.google.api
+      gax-httpjson
+    
     
       org.threeten
       threetenbp
@@ -102,12 +106,24 @@
       test
     
     
+    
+      com.google.api
+      gax
+      testlib
+      test
+    
     
       com.google.api
       gax-grpc
       testlib
       test
     
+    
+    com.google.api
+      gax-httpjson
+      testlib
+      test
+